MCP server for official central-bank & tax-authority exchange rates (120+ institutions) — Claude Code, Cursor, Claude Desktop
Central Bank Rates MCP Server — @allratestoday/central-bank-mcp
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
Website: https://allratestoday.com/central-bank-rates-api/ · Hosted endpoint (no install): https://allratestoday.com/api/mcp · Docs: https://allratestoday.com/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 121 central banks and 3 tax authorities — 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?
- 🏛️ **121 central banks + 3 tax authorities** — 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
- 🔓 **Works with no API key** — installs and answers out of the box; the latest published table of every source is open
- 🧰 **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
🔓 Keyless mode — what works with no setup
Install it with no configuration at all and it starts, connects, and answers:
| Tool | Keyless | What you get |
|---|---|---|
| list_central_banks | ✅ | Every covered institution, from a catalogue bundled with the package (no coverage dates). |
| get_official_rates | ✅ | The **latest published table** of any source, or one pair from it, with the publisher's own rate_date. |
| get_official_rates with a date | 🔑 | One sentence explaining how to get a key. |
| get_official_rate_history | 🔑 | Same. |
| compare_official_rates | 🔑 | Same. |
| get_publication_calendar | 🔑 | Same. |
| request_trial_key | ✅ | Self-issues a 100-call, 7-day key with no account and adopts it for the session. |
The keyless path reads the open, edge-cached /api/open/central-bank/{bank}
endpoint — free to use with a visible attribution link back to allratestoday.com