
Ecb Mcp
io.github.scka-de由 GitHub 账号 scka-de 发布v0.1.0更新于 Oct 24, 2026
ECB data for AI agents — rates, yields, inflation, money supply, and 100+ datasets. No API key.
概览
让助手无需了解 SDMX 即可查询欧洲央行实时统计数据——汇率、政策利率、收益率、通胀和货币供应量。
- 可以做什么
- 封装欧洲央行数据门户的 SDMX API,把自然语言问题转换为正确的序列键查询。工具涵盖欧元参考汇率、欧洲央行关键利率、欧元区政府债券收益率曲线、HICP 通胀、货币总量(M1/M2/M3),以及包含经欧元三角换算的交叉汇率换算。还可按关键词检索 100 多个欧洲央行数据集,并解释数据集的维度和有效取值,以便查询其他数据集。
- 适用场景
- 当助手需要欧元区和欧洲央行的当前或历史经济数据时适用,例如汇率、政策利率历史、债券收益率、各国通胀对比或货币供应趋势,也适合在不学习 SDMX 键的情况下探索数据集。
- 运行要求
- 通过 stdio 在本地运行,通常使用 npx ecb-mcp,需要安装 Node.js。无需 API 密钥、注册或账户。需要能访问欧洲央行数据门户 API 的网络。存在可选环境变量 ECB_API_URL(API 基础地址)和 DEBUG(输出调试日志到 stderr),但都不是必需的。
安装
在 SourceWeft 中
- 打开 控制台中的 Ecb Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
ecb-mcp
European Central Bank data for AI agents. Exchange rates, interest rates, yield curves, inflation, money supply, and 100+ more datasets from the ECB — directly inside Claude, Cursor, Windsurf, or any MCP client.
No API key. No registration. No config. Just npx ecb-mcp.
Why
The ECB publishes 100+ statistical datasets via a free, public API — exchange rates for 40+ currencies, key interest rates, yield curves, HICP inflation, monetary aggregates, banking statistics, and much more.
But the API uses SDMX, a format nobody memorizes. You need to know dataflow IDs, dimension key structures, and query syntax just to get a single number.
ecb-mcp translates natural questions into the right SDMX queries. Your AI agent asks "What's the current EUR/USD rate?" and gets a clean answer from live ECB data. No SDMX knowledge required.
Quick Start
Add to your MCP client config:
That's it. No API key, no environment variables, no account creation.
Where to add this config
- Claude Desktop:
~/Library/Application Support/Claude/claude_desktop_config.json(macOS) or%APPDATA%\Claude\claude_desktop_config.json(Windows) - Claude Code:
claude mcp add ecb-mcp -- npx -y ecb-mcp - Cursor: Settings > MCP Servers
- Windsurf:
~/.windsurf/config.json
What you can ask
Once installed, just ask your AI agent questions in natural language:
"What's the current EUR/USD exchange rate?"
"Show me ECB interest rate changes since 2022"
"What's the eurozone inflation rate?"
"Convert 5000 USD to GBP using ECB rates"
"What's the 10-year euro area government bond yield?"
"How has M3 money supply grown over the past year?"
"What ECB datasets are available about bank lending?"
"Explain the structure of the EXR dataset"
Tools
get_exchange_rates
EUR reference rates for 40+ currencies. Daily, monthly, or annual. The same rates used by European institutions and businesses.
get_interest_rates
The ECB's key policy rates — the ones that move markets and drive eurozone monetary policy.
get_yield_curve
Euro area government bond yield curve. AAA-rated sovereign spot rates from 3 months to 30 years.
get_inflation
HICP inflation — the official eurozone inflation measure. Available for the euro area as a whole or individual countries.
get_money_supply
Euro area monetary aggregates (M1, M2, M3). Outstanding amounts or annual growth rates.
convert_currency
Convert any amount between currencies using official ECB reference rates. Supports EUR-direct, inverse, and cross-currency conversions (e.g., USD to GBP via EUR triangulation).
search_datasets
Search across all 100+ ECB statistical datasets by keyword. The ECB publishes far more than exchange rates — banking statistics, balance of payments, government debt, payment systems, insurance data, and much more.
explain_dataset
Understand any ECB dataset's structure — its dimensions, valid values, and how to query it. This is the key to unlocking the full 100+ datasets beyond the built-in tools.
Data Source
All data comes directly from the ECB Data Portal API (SDMX 2.1 REST).
- No intermediary, no proxy — live data from the European Central Bank
- No authentication or API key required
- Exchange rates updated daily at 16:00 CET
- Other datasets updated at various frequencies (monthly, quarterly)
Configuration
ecb-mcp works with zero configuration. Optional settings:
Development
How It Works
ecb-mcp translates your AI agent's natural language questions into SDMX series key queries against the ECB API. For example, when Claude asks for the EUR/USD rate, ecb-mcp:
- Builds the SDMX key:
D.USD.EUR.SP00.A - Fetches CSV from
https://data-api.ecb.europa.eu/service/data/EXR/D.USD.EUR.SP00.A?format=csvdata - Parses the response and returns clean, human-readable data
For dataset discovery, ecb-mcp fetches and parses XML metadata from the ECB's structure definition endpoints, letting your agent explore all 100+ datasets without knowing SDMX.
License
MIT
来源:README.md,提交 bc50c66
工具
0版本历史
1- v0.1.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分