Barcelona Rent

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

我该使用它吗

质量与安全性

A
描述质量
88%
模式完整度
96%
命名质量
88%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

基于对工具定义和协议合规性的自动分析。

上下文开销

~773token 数(工具定义)
~842 B典型响应大小
对注意力有中等影响(占 128k 上下文窗口的 0.60%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `claude_desktop_config.json` 文件中:

{
  "mcpServers": {
    "mcp": {
      "url": "https://www.barcelona-rent.fyi/api/mcp"
    }
  }
}

远程端点

https://www.barcelona-rent.fyi/api/mcpstreamable-http

它能做什么

工具清单

工具(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.

输入模式

{
  "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.

输入模式

{
  "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.

输入模式

{
  "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.

输入模式

{
  "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.

输入模式

{
  "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"
}

社区

评价此服务器

证据

最近观测

已验证未记录版本5 个工具
已验证未记录版本5 个工具
已验证未记录版本4 个工具