# Barcelona Rent

> Official Barcelona rent and sale prices by neighbourhood, from registered contracts.

- name: fyi.barcelona-rent/mcp
- version: 1.0.0
- connection class: R0 (autonomous)
- trust: 80/100 flags: no-repository
- quality: 83/100 (good)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/fyi.barcelona-rent%2Fmcp
- tools: https://api.protogrid.dev/v1/servers/fyi.barcelona-rent%2Fmcp/tools

**An agent can connect right now, no human step.** Remote endpoint, no authentication, reachable on the last probe.

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "barcelona-rent": {
      "type": "http",
      "url": "https://www.barcelona-rent.fyi/api/mcp"
    }
  }
}
```


## Trust

- hygiene: 80
- liveness: 100
- freshness: 85
- provenance: 55
- drivers: +dns-namespace +website +reachable +uptime-100% ~updated-35d-ago -no-repository
- Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed.

## Quality 83/100 (good)

### protocol: 88 (weight 25)

- pass `protocol.modern`: supports 2026-07-28 (server/discover)
- pass `protocol.stateless`: answers without a session
- pass `protocol.transport`: streamable HTTP
- warn `protocol.list_ttl`: tools/list declares ttlMs 0, so clients re-fetch it on every use

### authorization: n/a (weight 15)

- n/a `auth.prm`, `auth.as_metadata`, `auth.cimd`: no remote uses OAuth
- n/a `auth.secret_in_url`: no templated URL

### tool hygiene: 71 (weight 30)

- pass `tools.descriptions`: every tool has a description
- pass `tools.description_length`: descriptions are concise
- pass `tools.schemas`: every tool has an object input schema
- fail `tools.annotations`: no tool declares readOnlyHint or destructiveHint, so clients cannot tell safe calls from risky ones
- fail `tools.directory_hints`: no tool declares all four of readOnlyHint, destructiveHint, idempotentHint and openWorldHint; missing: barri_character (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); get_rent (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); compare_areas (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); …
- pass `tools.token_cost`: about 797 tokens to load every tool
- pass `tools.api_dump`: tools are not a one-to-one API dump

### stability: 100 (weight 15)

- pass `stability.changes`: 1 tool changes in 30 days
- pass `stability.rug_pull`: no tool changed its meaning under the same name

### dependencies: n/a (weight 15)

- n/a `deps.known_vulns`, `deps.mcp_sdk_version`, `deps.resolvable`: no npm or PyPI package

- tools: 5, about 797 tokens to load them all
- tool set hash: 4a1afbcc77741f42f269d0debdd14af4
- tools last changed: 2026-09-24T22:03:32.397Z
- badge: [![protogrid quality](https://protogrid.dev/badge/fyi.barcelona-rent/mcp.svg)](https://protogrid.dev/servers/fyi.barcelona-rent/mcp)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Tool changes

- 2026-09-24 `barri_character` added
  - What a Barcelona neighbourhood is actually like, from the city's own published measures: how much street commerce it has, how much road traffic noise reaches residents at night, how steep its streets are, how many households have a child, and how many residents hold a foreign passport. Each figure comes with the city median and the barri's percentile among all 73. Use for questions about whether somewhere is quiet, lively, hilly, family-heavy or international — not for questions about price. None of these explains what a barri costs.

Full history: https://api.protogrid.dev/v1/servers/fyi.barcelona-rent%2Fmcp/changes

## Remotes

- https://www.barcelona-rent.fyi/api/mcp (streamable-http, auth none, reachable true, uptime30d 1)

## Packages

_none_

## Tools (5)

- `barri_character`: What a Barcelona neighbourhood is actually like, from the city's own published measures: how much street commerce it has, how much road traffic noise reaches residents at night, how steep its streets are, how many households have a child, and how many residents hold a foreign passport. Each figure comes with the city median and the barri's percentile among all 73. Use for questions about whether somewhere is quiet, lively, hilly, family-heavy or international — not for questions about price. None of these explains what a barri costs.
- `compare_areas`: Compare registered rent and sale prices across two or more Barcelona neighbourhoods or districts, cheapest first. Use when someone is choosing between places to live or asking which is more expensive. Same official source as get_rent.
- `find_areas`: Which Barcelona neighbourhoods a monthly budget actually reaches, cheapest first, based on registered rents rather than advertised prices. Use when someone says what they can afford and wants to know where to look.
- `get_rent`: Current average rent and sale price for one Barcelona neighbourhood or district, from contracts actually registered with the Catalan government — not listing or asking prices. Accepts a neighbourhood name, a district name or a URL slug. Returns euros per m² per month, an estimated monthly rent for a reference flat, the sale price per m², gross rental yield where both figures describe the same quarter, and the quarter each figure comes from.
- `rent_trend`: The quarterly series of registered rents for one Barcelona neighbourhood or district, and how much it has changed over the window. Use for questions about whether rents are rising or falling in a specific area. Figures run from 2014 for neighbourhoods and 2000 for districts.
