
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 分