# ECB exchange rates

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.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 5 repo stars
- Author: foreverworks
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/foreverworks/mcps/tree/HEAD/servers/ecb
- Updated: 2026-10-29
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/ecb-exchange-rates

## What it 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.

## Requirements
- Needs: Node.js (commands run via npx)

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add ecb -- npx -y @foreverworks/mcp-ecb
```

### Codex

**Platform CLI**
```bash
codex mcp add ecb -- npx -y @foreverworks/mcp-ecb
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "ecb": {
            "command": "npx",
            "args": [
                "-y",
                "@foreverworks/mcp-ecb"
            ]
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "ecb": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@foreverworks/mcp-ecb"
            ]
        }
    }
}
```

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add ecb npx -y @foreverworks/mcp-ecb
```

## When to use it
- 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
- 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.

## Similar
- [exchange-rates-mcp-server](https://affpapa.org/en/nevibecode/mcp/exchange-rates-mcp-server.md) — MCP server · 1637 installs
- [open-exchange-rates](https://affpapa.org/en/nevibecode/skills/open-exchange-rates.md) — skill · 188 installs
- [AllRatesToday exchange rates (hosted)](https://affpapa.org/en/nevibecode/mcp/allratestoday-exchange-rates-hosted.md) — MCP server · ★ 4 repo stars
- [Currency Converter — Fiat & Crypto Cross-Rates](https://affpapa.org/en/nevibecode/mcp/currency-converter-fiat-crypto-cross-rates.md) — MCP server · 4486 installs
- [Shipping Rates](https://affpapa.org/en/nevibecode/mcp/shipping-rates.md) — MCP server · 1820 installs
- [Shipping Rates & Postage Calculator](https://affpapa.org/en/nevibecode/mcp/shipping-rates-postage-calculator.md) — MCP server · 537 installs

From the same set: [foreverworks/mcps](https://affpapa.org/en/nevibecode/by/foreverworks/mcps.md) — 15 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
