Barcelona Rent
Official Barcelona rent and sale prices by neighbourhood, from registered contracts.
Should I use this
Quality & Safety
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"mcp": {
"url": "https://www.barcelona-rent.fyi/api/mcp"
}
}
}Remote endpoints
https://www.barcelona-rent.fyi/api/mcpstreamable-httpWhat it can do
Tool inventory
Tools (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.
Input Schema
{
"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.
Input Schema
{
"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.
Input Schema
{
"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.
Input Schema
{
"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.
Input Schema
{
"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"
}Community
Evidence