mcp-frankfurter
Query ECB official euro exchange rates inside Claude via five MCP tools.
Convert an amount between currencies at the ECB reference rate, optionally on a given date.
Fetch the latest published ECB reference rates for one base currency and chosen symbols (or all tracked currencies).
Look up historical ECB reference rates for a specific date.
Track a single currency pair over a date range, returning daily points plus min, max, and average.
List all ISO 4217 currencies Frankfurter tracks against the euro.
Handles weekends/holidays by returning the most recent working day's rate with an explanatory note.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-frankfurter Convert 1,500 EUR to USD and GBP at today's ECB rate"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-frankfurter
Official euro exchange rates, answered inside a Claude conversation — no spreadsheet, no currency-converter tab, no manual lookup.
This is an MCP server: a small connector that gives Claude five new abilities, all backed by the Frankfurter API, which publishes the European Central Bank's official daily reference rates and needs no account or API key.
What your team can do with this in Claude
Once it is connected, ask Claude things like:
"Convert 1,500 EUR to US dollars and British pounds at today's ECB rate."
"What was the euro-to-dollar rate on 6 March 2026?"
"How has the pound sterling moved against the euro over the last 30 days — trending up or down?"
"Which currencies does the ECB publish an official reference rate for?"
"We invoiced a UK client in GBP on their invoice date — what's that worth in EUR at today's rate for comparison?"
Claude picks the right tool, calls the Frankfurter API, and answers in plain language — citing the exact date the rate was published.
Related MCP server: FX Currency MCP Server
See it working
scripts/demo.py is a plain MCP client talking to this server exactly as
Claude would: latest rates for USD and GBP, converting 1,500 EUR to USD, and a 30-day rate
history. Run it yourself —
uv run python scripts/demo.py— or read a real captured run below (uv run python scripts/demo.py, live against the real
Frankfurter API, unedited):
mcp-frankfurter demo - a real MCP client, three real tool calls
> latest_rates(base='EUR', symbols=['USD', 'GBP'])
1 EUR = 0.85852 GBP
1 EUR = 1.1622 USD
(rate date: 2026-09-12)
> convert(amount=1500, from_currency='EUR', to_currency='USD')
1500.00 EUR = 1743.30 USD (rate 1.1622, as of 2026-09-12)
> rate_timeseries(start_date='2026-08-12', end_date='2026-09-11', symbol='GBP')
31 published rates from 2026-08-12 to 2026-09-11
min 0.85365 max 0.85934 average 0.85678Rates change day to day — your own run will show different numbers, always the current ones.
Set up in 5 minutes
You need uv installed (or Docker, see below), and an MCP client
such as Claude Desktop or Claude Code.
Claude Desktop or Claude Code, over stdio (individual use)
Add this to Claude Desktop's config file (macOS: ~/Library/Application Support/Claude/ claude_desktop_config.json, Windows: %APPDATA%\Claude\claude_desktop_config.json) or to a
project's .mcp.json for Claude Code, then restart the client:
{
"mcpServers": {
"mcp-frankfurter": {
"command": "uvx",
"args": ["--from", "git+https://github.com/Porma-Software/mcp-frankfurter", "mcp-frankfurter"]
}
}
}uvx downloads and runs the server on demand — nothing to install ahead of time. No API key,
no account, no configuration needed for this mode: it talks to Claude over stdin/stdout, and to
Frankfurter's public API over plain HTTPS.
Docker, over stdio
Pull the published image — no build step needed:
docker pull ghcr.io/porma-software/mcp-frankfurter:0.1.0{
"mcpServers": {
"mcp-frankfurter": {
"command": "docker",
"args": ["run", "--rm", "-i", "-e", "MCP_TRANSPORT=stdio", "ghcr.io/porma-software/mcp-frankfurter:0.1.0"]
}
}
}(The image defaults to the HTTP transport, so stdio use overrides MCP_TRANSPORT back to stdio.)
Building from source is documented under For developers below — use it if you'd rather run your own build than pull the published one.
Running it for a whole team, over HTTP
For several people sharing one server, run it as a long-lived HTTP service protected by a bearer token instead of a client launching its own copy:
export MCP_AUTH_TOKEN="$(python -c 'import secrets; print(secrets.token_urlsafe(32))')"
docker run -d --name mcp-frankfurter -p 8000:8000 -e MCP_AUTH_TOKEN="$MCP_AUTH_TOKEN" \
ghcr.io/porma-software/mcp-frankfurter:0.1.0Put it behind TLS (a reverse proxy) before it leaves localhost — the token travels in a header. Each team member then points their client at it:
{
"mcpServers": {
"mcp-frankfurter": {
"type": "http",
"url": "https://mcp-frankfurter.your-domain.example/mcp",
"headers": { "Authorization": "Bearer <the token above>" }
}
}
}What it does not do
No trading advice. It reports published rates; it does not recommend when to buy, sell or hedge a currency.
No intraday rates. The ECB publishes one reference rate per working day (around 16:00 CET), not a live, minute-by-minute market feed — do not use it for a trading desk.
ECB working days only. No rate publishes on weekends or ECB holidays; a request for one of those dates gets back the most recent working day's rate instead, with a note explaining the substitution — never a silent guess.
A limited currency list. Frankfurter tracks the major currencies the ECB itself publishes against the euro (around 30) — not every ISO 4217 code in the world. Ask
list_currenciesto see the exact set.
Data and privacy
The only network call this server makes is the query to the public Frankfurter API
(api.frankfurter.dev) — an amount and a couple of currency codes, nothing more. No API key, no
account, no personal data of any kind is collected, stored or sent anywhere. Nothing about your
Claude conversation reaches Frankfurter, and nothing about your exchange-rate queries reaches
anyone but Frankfurter.
For developers
A small hexagon: server.py is the inbound MCP adapter (five tools — convert, latest_rates,
historical_rate, rate_timeseries, list_currencies), upstream.py is the outbound Frankfurter
HTTP client, and mappers.py is the only module that turns a raw payload into a typed record and
a typed record into a tool result — see .claude/skills/mcp-hexagonal/SKILL.md
for the full layer map and docs/DECISIONS.md for the API version chosen and
why.
uv sync # install (Python 3.14, .python-version)
uv run pytest -q --cov --cov-report=term-missing # unit + white-box + black-box, no network
uv run python scripts/check_scenarios.py # docs/scenarios.md vs both integration suites
uv run ruff check . && uv run ruff format --check . && uv run mypy src
make mutation # mutmut, 0 survivors (Linux/WSL/CI only)
docker build -t mcp-frankfurter .Tests. Three suites per
.claude/skills/mcp-testing/SKILL.md:tests/unit/(mappers, settings, composition-root wiring),tests/integration/whitebox/(tools and the upstream client called directly,respx-mocked),tests/integration/blackbox/(only the public MCP surface — an in-memory client session or the real HTTP app). Every user-facing scenario indocs/scenarios.mdis tagged in both integration suites;scripts/check_scenarios.pyfails the build if one is missing from either.tests/test_live.pyis an opt-in canary against the real API (uv run pytest -m live), never run in CI.Coverage. 100 % line and branch coverage of
src/mcp_frankfurter, enforced byfail_under = 100inpyproject.toml.Mutation testing.
mutmuttargetsserver.py,upstream.pyandmappers.pyand must leave zero unexplained survivors (scripts/check_mutants.py); a documented, provably equivalent mutant is the only allowed exception.mutmutdoes not run on Windows — use WSL, a Linux box, or CI's ownmutationjob.CI. GitHub Actions runs lint, the scenario check, the full test suite and a Docker build on every push and pull request, plus a separate mutation-testing job — see
.github/workflows/ci.yml.Recording the demo GIF. The screen recording at the top of
scripts/demo.py's output is produced bydocs/demo.tape(avhsscript that types and runsuv run python scripts/demo.py) built and rendered throughdocs/vhs.Dockerfile, never run on the host:docker build -t mcp-frankfurter-vhs -f docs/vhs.Dockerfile . docker run --rm -v "$PWD/docs":/work/docs mcp-frankfurter-vhs docs/demo.tapeThis needs a real Docker engine with working pty/terminal allocation for
vhs's recorder. On Docker Desktop (Windows or macOS)vhsexits with no error and nodocs/demo.gifis written — its virtualized backend does not give the container whatvhsneeds to drive a terminal. Run the two commands above against a native Linux Docker engine instead: WSL2's own Docker Engine (not Docker Desktop's Windows integration), a Linux box, or a Linux CI runner.
Built by Porma Software
Built and maintained by Porma Software as an open-source reference server. See pormasoftware.com for more.
License
MIT. See LICENSE.
Available Tools
5 toolsconvertA
Convert an amount from one currency to another at the ECB reference rate.
Returns the converted amount, the rate applied and the date it was published (rate_date).
ECB reference rates publish on working days only: if date falls on a weekend or a holiday,
the most recent working day's rate is used instead, and note explains the substitution in
plain language.
Inputs: amount (required), to_currency (required), from_currency (required), date. Returns: `convert`'s result: `amount` of `from_currency` converted to `to_currency`.
historical_rateA
ECB reference rates for one base currency on a specific date.
Returns the date that was requested (requested_date), the date the rates actually
published on (rate_date) and one rate per requested currency. ECB rates publish on working
days only: a weekend or holiday date returns the most recent working day's rate instead of
an error, and note explains the substitution — including when one currency's own feed lags
the rest.
Inputs: date (required), base, symbols. Returns: Shared shape for `latest_rates` and `historical_rate`: one or more quote curren…
latest_ratesA
The latest published ECB reference rates for one base currency.
Returns one rate per requested currency (or every currency Frankfurter tracks, when
symbols is omitted), plus the date those rates were published (rate_date). ECB rates
publish on working days only, so note explains it when one currency's own feed lags behind
the rest of the snapshot.
Inputs: base, symbols. Returns: Shared shape for `latest_rates` and `historical_rate`: one or more quote curren…
list_currenciesA
The ISO 4217 currencies Frankfurter tracks against the euro.
Returns each currency's code and name, e.g. {"code": "USD", "name": "United States Dollar"}. Use it to check whether a currency code is valid before calling the other tools.
Inputs: no named parameters. Returns: result
rate_timeseriesA
ECB reference rate for one currency pair across a date range.
Returns one point per working day the ECB published a rate on, plus the minimum, maximum and
average rate across the range. Refuses a range longer than the configured maximum, or one
where start_date is after end_date — upstream is never called for either.
Inputs: end_date (required), start_date (required), base, symbol. Returns: `rate_timeseries`'s result: one quote currency across a date range.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool targets a distinct query shape: convert for amount conversion, list_currencies for enumeration, latest_rates for current snapshot, historical_rate for a single date, and rate_timeseries for a range. Latest vs historical could superficially overlap, but descriptions make the boundary (snapshot vs specific date) explicit.
All names use snake_case, which is good, but the conventions are mixed: convert is a bare verb, list_currencies is verb_noun, while latest_rates and historical_rate are adjective_noun and rate_timeseries is noun-based. Readable, but no single predictable pattern.
Five tools is well-scoped for an exchange-rate API, with no redundant entries. Every tool earns its place across enumeration, conversion, snapshot, point-in-time, and range lookups.
The surface covers the full lifecycle of the domain: validating codes, converting, fetching current, single-date, and range rates with summary stats. No obvious dead ends for a single-source (ECB) rate service.
Maintenance
Related MCP Connectors
Latest and historical ECB foreign-exchange reference rates for 30+ currencies, via Frankfurter.
Convert currencies, get FX rates, and query historical Frankfurter v1 exchange rate data.
Fetch latest and historical currency exchange rates from Frankfurter. Convert amounts between curr…
Live and historical FX rates (ECB via Frankfurter) — paid per call (x402/credits), 2 tools
Related MCP Servers
- AlicenseAqualityDmaintenanceProvides access to currency exchange rates and conversion tools using the Frankfurter API, including latest rates, historical data, and time series from sources like the European Central Bank.5MIT
- FlicenseNot gradedqualityDmaintenanceProvides real-time and historical foreign exchange rates for 31+ currencies, enabling currency conversion, historical rate lookups, and time series analysis using data from the Frankfurter API.-
- AlicenseNot gradedqualityCmaintenanceWraps the Frankfurter API to enable currency exchange rate queries and conversions through natural language.127 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables real-time currency exchange rate lookup, conversion, historical rates, and currency catalog using the free Frankfurter API, no API key required.3 npmISC