ECB exchange rates — Claude Code MCP server: features and setup
The ECB exchange rates MCP server for Claude Code fetches the European Central Bank’s euro reference rates and converts amounts between currencies. Ask for a rate on a specific date or for a period.
MIT ★ 5 updated 2026-10-29
claude mcp add ecb -- npx -y @foreverworks/mcp-ecbWhat ECB exchange rates does
The server retrieves the European Central Bank’s published euro rates and converts amounts between two currencies, including cross-rates through the euro. Each result identifies the fixing date used. For a weekend or holiday, it uses the most recent preceding working-day fixing. Its tools only read data.
Ask for a currency rate on a date, selected rates, or fixings across a date range. The server reads the ECB’s public XML files; no account or API key is needed. It requires Node 22.19 or newer and access to www.ecb.europa.eu. If outbound connections are restricted through MCP_EGRESS_ALLOW, that host must be allowed. “Today” follows the date in Frankfurt.
What it helps with
- check the euro rate against a currency on a given date
- convert an amount between two currencies using ECB rates
- retrieve currency rates across a date range
- identify the fixing date used for a conversion
Example prompts for the agent
- Find the euro-to-US-dollar rate for 14 March 2025.
- Convert an invoice of 1,250.50 GBP to US dollars using the ECB rate for 3 October 2025, and show the rates used.
- List the USD and JPY rates for each working day in September 2025.
How to install ECB exchange rates
Platform CLI
claude mcp add ecb -- npx -y @foreverworks/mcp-ecbPlatform CLI
codex mcp add ecb -- npx -y @foreverworks/mcp-ecbConfig file
{
"mcpServers": {
"ecb": {
"command": "npx",
"args": [
"-y",
"@foreverworks/mcp-ecb"
]
}
}
}Config file
{
"servers": {
"ecb": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@foreverworks/mcp-ecb"
]
}
}
}Platform CLI
gemini mcp add ecb npx -y @foreverworks/mcp-ecbStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about ECB exchange rates
How do I install ECB exchange rates in Claude Code?
Run claude mcp add ecb -- npx -y @foreverworks/mcp-ecb. Node 22.19 or newer is required.
What does ECB exchange rates do?
It fetches ECB reference rates for a chosen date and converts amounts between currencies. Results include the fixing date, and the tools do not write data.
What does ECB exchange rates need to run?
It requires Node 22.19 or newer and access to the public XML files at www.ecb.europa.eu. No account or API key is needed.