Barcelona Rent MCP
An official MCP server that connects AI assistants to Barcelona's registered rental and sale prices by neighbourhood. It provides tools to query current rent and sale prices, compare areas, analyze rent trends, and find areas within a budget, using data from INCASÒL registered contracts.
Endpoint and access
No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
https://www.barcelona-rent.fyi/api/mcpWhat its tools do
6 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Passed Official MCP Registry namespace is tied to barcelona-rent.fyi ·
- Passed Endpoint is on the registry namespace domain ·
- Uptime 97.3% over 90 days
- Availability 2 of 2 checks passed in 30 days
What you can do with it
- Get current rent and sale price for a specific neighbourhood
- Compare up to ten areas side by side to find the cheapest
- Retrieve quarterly rent trend data for a specific area
- Find neighbourhoods that fit a specific monthly budget
Source and maintenance
Protocol and capabilities
- Server
- barcelona-rent 1.0.0
- MCP protocol negotiated in check
- 2025-11-25
- Tools
- 6 advertised
- Resources
- Not advertised
- Resource templates
- Not advertised
- Prompts
- Not advertised
{
"tools": {
"listChanged": true
}
}Server-provided instructions
Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.
Tools
6 advertised
get_rent — Get Barcelona rent for an area
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.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"area"
],
"properties": {
"sqm": {
"type": "number",
"maximum": 500,
"minimum": 10,
"description": "Flat size for the monthly estimate (default 75)"
},
"area": {
"type": "string",
"description": "Neighbourhood or district, e.g. \"la Vila de Gràcia\", \"Eixample\", \"pedralbes\""
}
}
}compare_areas — Compare Barcelona 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.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"areas"
],
"properties": {
"sqm": {
"type": "number",
"maximum": 500,
"minimum": 10
},
"areas": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 10,
"minItems": 2,
"description": "Two to ten neighbourhood or district names"
}
}
}rent_trend — Barcelona rent over time
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.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"area"
],
"properties": {
"area": {
"type": "string"
},
"since": {
"type": "integer",
"maximum": 2030,
"minimum": 2000,
"description": "First year to include (default: the last 5 years)"
}
}
}find_areas — Find Barcelona areas within a budget
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.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"budget"
],
"properties": {
"sqm": {
"type": "number",
"maximum": 500,
"minimum": 10,
"description": "Flat size (default 75)"
},
"budget": {
"type": "number",
"maximum": 20000,
"minimum": 100,
"description": "Monthly budget in euros"
}
}
}barri_character — What a Barcelona neighbourhood is like
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.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"area"
],
"properties": {
"area": {
"type": "string",
"description": "Neighbourhood name, e.g. \"Gràcia\" or \"el Raval\""
}
}
}mortgage_offers — Spanish banks' advertised mortgage rates
Current advertised mortgage offers (fixed, variable and mixed) from the Spanish banks barcelona-rent.fyi reads weekly, each with TIN and TAE with and without bonificaciones, the Euríbor spread, and — given a price, deposit and term — the monthly payment, the payment after any switch to Euríbor, and the total paid. Sorted by bank, never ranked. These are advertised representative rates, not binding offers.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"type": {
"enum": [
"fixed",
"variable",
"mixed"
],
"type": "string",
"description": "Only this kind of loan"
},
"price": {
"type": "number",
"description": "Property price in euros, e.g. 400000",
"exclusiveMinimum": 0
},
"years": {
"type": "integer",
"maximum": 40,
"minimum": 5,
"description": "Term in years (default 30)"
},
"bonified": {
"type": "boolean",
"description": "Use the rates with bonificaciones where advertised (default true)"
},
"depositPct": {
"type": "number",
"maximum": 99,
"minimum": 0,
"description": "Deposit as a percent of the price (default 20)"
}
}
}Prompts
Not advertised
Resources
Not advertised
90-day uptime
A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.
- 2026-11-02: 4 of 4 checks answered
- 2026-11-03: 4 of 4 checks answered
- 2026-11-04: 4 of 4 checks answered
- 2026-11-05: 4 of 4 checks answered
- 2026-11-06: 4 of 4 checks answered
- 2026-11-07: 2 of 2 checks answered
- 2026-11-09: 1 of 1 checks answered
- 2026-11-10: 2 of 2 checks answered
- 2026-11-11: 1 of 1 checks answered
- 2026-11-12: 1 of 1 checks answered
- 2026-11-14: 1 of 1 checks answered
- 2026-11-15: 2 of 2 checks answered
- 2026-11-16: 4 of 4 checks answered
- 2026-11-17: 5 of 5 checks answered
- 2026-11-18: 3 of 5 checks answered
- 2026-11-19: 4 of 4 checks answered
- 2026-11-20: 2 of 2 checks answered
- 2026-11-21: 4 of 4 checks answered
- 2026-11-22: 4 of 4 checks answered
- 2026-11-23: 4 of 4 checks answered
- 2026-11-24: 4 of 4 checks answered
- 2026-11-25: 4 of 4 checks answered
- 2026-11-26: 3 of 3 checks answered
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 2 of 2 (100%)
- Average latency
- 2498 ms
- 95th percentile latency
- 2894 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 2938 ms · 6 tool(s)
- · probe · passed · 2057 ms · metadata changed · 6 tool(s)
- · registry · passed · metadata changed · Source metadata updated
- · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown
Try asking
Reviewed prompts from cited playbooks. Connect the listed servers before using them.
Compare the rental costs for the following neighborhoods: Eixample, Gràcia, and Sants-Montjuïc. List them from cheapest to most expensive based on the estimated monthly rent for a standard 75 sqm apartment.Which neighborhoods in Barcelona can I afford with a monthly budget of 1200 EUR for rent?Agent playbooks using this server
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http barcelona-rent-mcp https://www.barcelona-rent.fyi/api/mcpCodex
codex mcp add barcelona-rent-mcp --url https://www.barcelona-rent.fyi/api/mcpCursor
{
"mcpServers": {
"barcelona-rent-mcp": {
"url": "https://www.barcelona-rent.fyi/api/mcp"
}
}
}Cline
{
"mcpServers": {
"barcelona-rent-mcp": {
"type": "streamableHttp",
"url": "https://www.barcelona-rent.fyi/api/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"barcelona-rent-mcp": {
"type": "http",
"url": "https://www.barcelona-rent.fyi/api/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http barcelona-rent-mcp https://www.barcelona-rent.fyi/api/mcpClaude Desktop
https://www.barcelona-rent.fyi/api/mcpWindsurf
{
"mcpServers": {
"barcelona-rent-mcp": {
"serverUrl": "https://www.barcelona-rent.fyi/api/mcp"
}
}
}Let your agent find its tools
Find servers like Barcelona Rent MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.
Other data and analytics servers
Do you run Barcelona Rent MCP?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.