Official central-bank & tax-authority rates from 100+ sources. No API key needed to start.
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:
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.
derived; banks are never mixedInstall 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. |
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
(the exact wording ships in each response's attribution field).
A key adds historical dates, time series, cross-bank comparison and publication calendars. The free tier covers the latest published tables and light historical use — no credit card required. Deep history and dated tables need a paid plan.
art_live_xxxxx)ALLRATES_API_KEY in the configs belowWithout one the server prints a short summary of keyless mode on stderr and keeps running — it never exits, because an MCP server that exits breaks the host client's whole configuration.
If you use Claude Code, install the plugin instead of configuring this server by
hand — it bundles both AllRatesToday MCP servers, two skills, and five slash
commands (/rate, /convert, /official-rate, /fx-history,
/add-currency-support):
/plugin marketplace add AllRates-Today/claude-code-plugin
/plugin install allratestoday@allratestoday
Everything below still applies for other MCP clients.
# 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.
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?"
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"
}
}
}
}
Edit claude_desktop_config.json (Settings → Developer → Edit Config) and add the same mcpServers block as the Cursor example above, then restart Claude Desktop.
| Tool | What it does | Plan |
|---|---|---|
list_central_banks | All covered institutions with codes, metadata, latest date | Free (keyless: bundled catalogue) |
get_official_rates | A bank's published table (or one pair), latest or for a given date | Keyless (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 (key required) |
get_publication_calendar | Dates a bank actually published (no values) | Free (key required) |
Only the request parameters and your API key ever reach allratestoday.com — never conversation context.
@allratestoday/mcp-server — live mid-market rates MCP serverMIT © AllRatesToday
Source-derived launch command. Check the maintainer’s required arguments and credentials before running:
npx -y @allratestoday/central-bank-mcpMerge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.
{
"mcpServers": {
"com-allratestoday-central-bank-mcp": {
"command": "npx",
"args": [
"-y",
"@allratestoday/central-bank-mcp"
]
}
}
}Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.
Claude Desktop setup reference@allratestoday/central-bank-mcpnpmCentral Bank Rates (AllRatesToday) works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.
~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.~/.cursor/mcp.jsonRestart Cursor for changes to take effect..vscode/mcp.jsonReload VS Code window for changes to take effect.~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect..mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.