Koskamo

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.

Barcelona Rent MCP logo, by Barcelona RentVendor evidenceStreamable HTTPNo sign-inEndpoint checked 2026-11-23Operated by Barcelona Rent
You need:No key, no account.
MCP endpoint (Streamable HTTP)
https://www.barcelona-rent.fyi/api/mcp
Vendor documentation

What its tools do

6 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

6 of 6 have a description · 0 of 6 declare behavior hints · 4 of 6 with parameters document them all

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

Vendor evidenceRegistry 1.0.0

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
Server-advertised capabilities
{
  "tools": {
    "listChanged": true
  }
}

Server-provided instructions

Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.

Official Barcelona rent and sale statistics, by neighbourhood and district, from contracts registered with the Catalan government, plus the city's own published measures of what each neighbourhood is like. Use these tools instead of estimating Barcelona housing costs — or the character of a Barcelona neighbourhood — from memory. Every price figure is a registered average, never an asking price, and is stamped with the quarter it describes.

Tools

6 advertised

get_rent — Get Barcelona rent for an area
Advertised by the server during the last successful anonymous check.

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.

get_rent input schema
{
  "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
Advertised by the server during the last successful anonymous check.

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.

compare_areas input schema
{
  "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
Advertised by the server during the last successful anonymous check.

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.

rent_trend input schema
{
  "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
Advertised by the server during the last successful anonymous check.

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.

find_areas input schema
{
  "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
Advertised by the server during the last successful anonymous check.

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.

barri_character input schema
{
  "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
Advertised by the server during the last successful anonymous check.

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.

mortgage_offers input schema
{
  "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

No prompt definitions available.

Resources

Not advertised

No resource definitions available.

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.

97.3% (71 of 73 checks answered)

  1. 2026-11-02: 4 of 4 checks answered
  2. 2026-11-03: 4 of 4 checks answered
  3. 2026-11-04: 4 of 4 checks answered
  4. 2026-11-05: 4 of 4 checks answered
  5. 2026-11-06: 4 of 4 checks answered
  6. 2026-11-07: 2 of 2 checks answered
  7. 2026-11-09: 1 of 1 checks answered
  8. 2026-11-10: 2 of 2 checks answered
  9. 2026-11-11: 1 of 1 checks answered
  10. 2026-11-12: 1 of 1 checks answered
  11. 2026-11-14: 1 of 1 checks answered
  12. 2026-11-15: 2 of 2 checks answered
  13. 2026-11-16: 4 of 4 checks answered
  14. 2026-11-17: 5 of 5 checks answered
  15. 2026-11-18: 3 of 5 checks answered
  16. 2026-11-19: 4 of 4 checks answered
  17. 2026-11-20: 2 of 2 checks answered
  18. 2026-11-21: 4 of 4 checks answered
  19. 2026-11-22: 4 of 4 checks answered
  20. 2026-11-23: 4 of 4 checks answered
  21. 2026-11-24: 4 of 4 checks answered
  22. 2026-11-25: 4 of 4 checks answered
  23. 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 rental costs across Barcelona neighborhoods
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.
Find neighborhoods within a specific monthly budget
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.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http barcelona-rent-mcp https://www.barcelona-rent.fyi/api/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add barcelona-rent-mcp --url https://www.barcelona-rent.fyi/api/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable barcelona-rent-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "barcelona-rent-mcp": {
      "url": "https://www.barcelona-rent.fyi/api/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "barcelona-rent-mcp": {
      "type": "streamableHttp",
      "url": "https://www.barcelona-rent.fyi/api/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start barcelona-rent-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "barcelona-rent-mcp": {
      "type": "http",
      "url": "https://www.barcelona-rent.fyi/api/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http barcelona-rent-mcp https://www.barcelona-rent.fyi/api/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://www.barcelona-rent.fyi/api/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "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.

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.

Claim this listing