Barcelona Rent
Official Barcelona rent and sale prices by neighbourhood, from registered contracts.
¿Debería usar esto?
Calidad y seguridad
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"mcp": {
"url": "https://www.barcelona-rent.fyi/api/mcp"
}
}
}Puntos de conexión remotos
https://www.barcelona-rent.fyi/api/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (5)
🟢get_rent(area, sqm)
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.
Esquema de entrada
{
"type": "object",
"properties": {
"area": {
"type": "string",
"description": "Neighbourhood or district, e.g. \"la Vila de Gràcia\", \"Eixample\", \"pedralbes\""
},
"sqm": {
"description": "Flat size for the monthly estimate (default 75)",
"type": "number",
"minimum": 10,
"maximum": 500
}
},
"required": [
"area"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢compare_areas(areas, sqm)
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.
Esquema de entrada
{
"type": "object",
"properties": {
"areas": {
"minItems": 2,
"maxItems": 10,
"type": "array",
"items": {
"type": "string"
},
"description": "Two to ten neighbourhood or district names"
},
"sqm": {
"type": "number",
"minimum": 10,
"maximum": 500
}
},
"required": [
"areas"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}⚪rent_trend(area, since)
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.
Esquema de entrada
{
"type": "object",
"properties": {
"area": {
"type": "string"
},
"since": {
"description": "First year to include (default: the last 5 years)",
"type": "integer",
"minimum": 2000,
"maximum": 2030
}
},
"required": [
"area"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢find_areas(budget, sqm)
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.
Esquema de entrada
{
"type": "object",
"properties": {
"budget": {
"type": "number",
"minimum": 100,
"maximum": 20000,
"description": "Monthly budget in euros"
},
"sqm": {
"description": "Flat size (default 75)",
"type": "number",
"minimum": 10,
"maximum": 500
}
},
"required": [
"budget"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}⚪barri_character(area)
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.
Esquema de entrada
{
"type": "object",
"properties": {
"area": {
"type": "string",
"description": "Neighbourhood name, e.g. \"Gràcia\" or \"el Raval\""
}
},
"required": [
"area"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Comunidad
Evidencia