Central Bank Rates MCP Server
Enables MCP clients to fetch official published exchange rates from 60+ central banks and tax authorities, with point-in-time lookup, history, and cross-bank comparison.
README
Central Bank Rates MCP Server — @allratestoday/central-bank-mcp
Give your AI assistant the official exchange rates that compliance, tax, and accounting actually require. A Model Context Protocol server that lets Claude Code, Cursor, Claude Desktop, Windsurf, and any MCP-compatible client fetch published central-bank and tax-authority rates from 60+ institutions — ECB, Fed, Bank of Japan, HMRC, US Treasury, and more — via the AllRatesToday API.
After installation, your assistant can answer questions like:
- "What is the ECB's official USD/EUR rate today?"
- "What HMRC rate should I use for this March invoice?"
- "Show me the Bank of Japan's official rate for every day of Q1."
- "Compare the official USD/LKR rate across every central bank that publishes one."
⚖️ Official rates vs mid-market rates
Everything this server returns is an official published rate: fixed once the institution publishes it, carrying that institution's own publication date — the number tax authorities, auditors, and customs require. It is not the live market rate. For live mid-market rates (price display, conversion, anything that should track the market), use the companion server @allratestoday/mcp-server. The two can diverge by several percent — pick by use case. Methodology: allratestoday.com/official-rates-methodology.
🚀 Why this server?
- 🏛️ 60+ official sources — central banks (ECB, Fed, BOJ, SNB, RBI, …) plus tax authorities (HMRC, US Treasury, …), each served from its own published tables
- 📅 Point-in-time correctness — ask for any date; weekends and holidays roll back to the rate legally in force, and the response tells you which publication date applied
- 📊 Cross-bank comparison — one call returns every institution's rate for a pair, with min/max/median and spread stats
- 🧮 Honest derivations — pairs a bank doesn't publish directly are cross-computed only within that bank's own table and flagged
derived; banks are never mixed - 🧰 Five focused tools — small surface, easy for the model to use correctly
- 🔌 Works everywhere MCP does — stdio transport, MCP 1.x; Claude Code, Cursor, Claude Desktop, Windsurf, or any generic host
🔑 Get your API key
The server will not start without a valid ALLRATES_API_KEY. A free key covers the latest published tables — no credit card required. Dated tables and history need a paid plan.
- Register at allratestoday.com/register — 30 seconds
- Verify your email
- Copy your key from the dashboard (format:
art_live_xxxxx) - Use it as
ALLRATES_API_KEYin the configs below
📦 Installation
# Run without installing (recommended)
npx -y @allratestoday/central-bank-mcp
# Or install globally
npm install -g @allratestoday/central-bank-mcp
central-bank-mcp
Both commands launch the stdio MCP server and wait for a client to connect — your MCP client launches them as a subprocess.
🏁 Quick setup per client
Claude Code
claude mcp add central-bank-rates -- npx -y @allratestoday/central-bank-mcp
claude mcp env central-bank-rates ALLRATES_API_KEY=art_live_xxxxx
Restart Claude Code. Verify by asking: "Which central banks can you fetch official rates from?"
Cursor
Edit ~/.cursor/mcp.json (or .cursor/mcp.json inside your project):
{
"mcpServers": {
"central-bank-rates": {
"command": "npx",
"args": ["-y", "@allratestoday/central-bank-mcp"],
"env": {
"ALLRATES_API_KEY": "art_live_xxxxx"
}
}
}
}
Claude Desktop
Edit claude_desktop_config.json (Settings → Developer → Edit Config) and add the same mcpServers block as the Cursor example above, then restart Claude Desktop.
🧰 Tools
| Tool | What it does | Plan |
|---|---|---|
list_central_banks |
All covered institutions with codes, metadata, latest date | Free |
get_official_rates |
A bank's published table (or one pair), latest or for a given date | Free (latest) / Paid (dated) |
get_official_rate_history |
Date-by-date official series for one pair | Paid, billed ~1 call per month covered |
compare_official_rates |
One pair across every bank, with spread stats | Free |
get_publication_calendar |
Dates a bank actually published (no values) | Free |
🔒 Privacy
Only the request parameters and your API key ever reach allratestoday.com — never conversation context.
📚 More from AllRatesToday
- Central bank REST API docs
- Per-bank npm SDKs
@allratestoday/mcp-server— live mid-market rates MCP server
License
MIT © AllRatesToday
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。