About cnb
cnb is an MCP server for official Czech National Bank exchange rates, with daily and historical CZK rates and conversion. It is intended for accounting and invoicing that require ČNB figures.
Key features
- 01Retrieve the full daily rate sheet
- 02Look up one currency rate
- 03Convert amounts using official rates
- 04Query historical rates by date
Use cases
- 01Use official rates for accounting
- 02Convert invoice amounts on a historical date
MCP support
Exposes ČNB rate lookup and currency conversion tools to MCP clients, including daily sheets and historical-date queries.
Configuration
Remote servers need no local install. Pick your client, then copy the config or install in one click.
https://cnb.cz-agents.dev/mcpclaude mcp add --transport http dev-cz-agents-cnb https://cnb.cz-agents.dev/mcp{"mcpServers":{"dev-cz-agents-cnb":{"type":"http","url":"https://cnb.cz-agents.dev/mcp"}}}Open in Cursor{"servers":{"dev-cz-agents-cnb":{"type":"http","url":"https://cnb.cz-agents.dev/mcp"}}}Open in VS Code{"mcpServers":{"dev-cz-agents-cnb":{"type":"http","url":"https://cnb.cz-agents.dev/mcp"}}}{"mcpServers":{"dev-cz-agents-cnb":{"serverUrl":"https://cnb.cz-agents.dev/mcp"}}}Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.
Tools
3| Parameter | Type | Required | Description |
|---|---|---|---|
| date | string | No | Optional ISO date (YYYY-MM-DD) for historical rates. Omit for latest. |
Details
From the project README@czagents/cnb
Official Czech National Bank (ČNB) exchange rates — daily and historical CZK rates against EUR, USD, and 30+ currencies. Direct from the central bank, the authoritative source for accounting and invoicing in the Czech Republic.
Install
npm install -g @czagents/cnb
Usage with Claude Desktop
{
"mcpServers": {
"cnb": {
"command": "npx",
"args": ["-y", "@czagents/cnb"]
}
}
}
Tools
get_rates
Use it to obtain the full ČNB daily currency sheet, either latest or for a valid historical ISO date. Do not use it when only one currency rate is needed; use get_rate.
{"date":"2024-01-15"}
convert
Use it to convert a numeric amount between ISO 4217 currencies with ČNB’s official daily rates, including a historical date when necessary. Do not use it for a rate quotation without an amount; use get_rate.
{"amount":100,"from":"USD","to":"CZK","date":"2024-01-15"}
get_rate
Use it to retrieve one currency’s official CZK rate from the latest or a historical ČNB sheet. Do not use it for a cross-currency conversion such as USD to EUR; use convert.
{"code":"EUR","date":"2024-01-15"}
Self-host
Source: https://github.com/martinhavel/cz-agents-mcp
git clone https://github.com/martinhavel/cz-agents-mcp
cd cz-agents-mcp
npm install
npm run build
node packages/cnb/dist/index.js
Free tier & pricing
ČNB exposes the rate sheet for free. The hosted endpoint at https://cnb.cz-agents.dev/mcp is rate-limited per IP. Higher limits and commercial use: https://cz-agents.dev/pricing.html
License
MIT — see LICENSE
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.