cnb-mcp
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., "@cnb-mcp Convert 1000 EUR to CZK at today's CNB 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 server for the Czech National Bank API
Access exchange rates, interbank rates, forward points, and more from the Czech National Bank — directly from your AI assistant via the Model Context Protocol.
No API key required.
Features
Category | Tools | Description |
Exchange Rates | 6 | Daily fixing for ~27 major currencies, monthly/yearly history, averages |
FX Rates | 2 | ~200 exotic currencies updated monthly |
PRIBOR | 2 | Prague InterBank Offered Rate for all maturities |
CZEONIA | 1 | Czech Overnight Index Average |
Forward Rates | 1 | EUR/CZK and USD/CZK forward points |
Open Market Ops | 1 | CNB repo tenders and money market operations |
Short-Term Bonds | 1 | Government bond prices and nominal values |
Currency Converter | 1 | Cross-rate conversion using official CNB fixing |
Plus a cnb://info resource and an analyze-currency-trend prompt.
Related MCP server: mcp-cnb-cz
Quick Start
No installation needed — runs directly via npx.
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"cnb": {
"command": "npx",
"args": ["-y", "cnb-mcp"]
}
}
}Claude Code
claude mcp add cnb -- npx -y cnb-mcpSee Configuration Guide for all setup options including manual installation.
Tools at a Glance
cnb_exchange_rates_daily Today's rates for ~27 currencies
cnb_exchange_rates_monthly Daily rates for one currency over a month
cnb_exchange_rates_year All rates for an entire year
cnb_exchange_rates_monthly_averages Monthly average rates
cnb_exchange_rates_quarterly_averages Quarterly average rates
cnb_exchange_rates_cumulative_averages Cumulative monthly averages
cnb_fx_rates_monthly Exotic currency rates (~200)
cnb_fx_rates_currency Exotic currency history
cnb_pribor_daily PRIBOR rates for a date
cnb_pribor_year PRIBOR rates for a year
cnb_czeonia Overnight index average
cnb_forward_rates Forward currency points
cnb_open_market_operations Repo tenders and OMO data
cnb_short_term_bonds Government bond prices
cnb_convert_currency Currency conversion with cross-ratesFull parameter documentation: Tools Reference
Example Prompts
"What is today's EUR/CZK exchange rate?"
"Convert 1000 EUR to CZK"
"PRIBOR 3-month rate history for 2024"
"How has the Turkish lira changed over the past 6 months?"
"100 EUR to GBP at today's CNB rate"
Documentation
Document | Description |
Installation, setup for Claude Desktop/Code, resource & prompt | |
All 15 tools with parameters, types, and example prompts | |
CNB API details, update schedule, currencies, error handling | |
Development setup, project structure, scripts, CI pipeline |
Disclaimer
The CNB API returns exchange rates with 3 decimal places — this is the official precision of the CNB fixing. Converted amounts are rounded to match this precision. For legally binding rates, always verify against the official CNB website.
License
Available Tools
15 toolscnb_convert_currencyCNB Currency ConverterA
Convert between currencies using official CNB (Czech National Bank) exchange rates. Supports conversion between CZK and ~27 major currencies, as well as cross-rates (e.g. EUR to USD). Uses the daily fixing rate for the specified date.
Inputs: to (required), from (required), amount (required), date.
cnb_czeoniaCNB CZEONIA RateA
Get CZEONIA (Czech Overnight Index Average) rate — the actual rate on unsecured overnight CZK deposits. If 'year' is provided, returns all daily rates for that year. Otherwise returns the rate for a specific date.
Inputs: date, year.
cnb_exchange_rates_cumulative_averagesCNB Cumulative Monthly Average Exchange RatesA
Get cumulative monthly average exchange rates (running average from start of year). Provide 'currency' for all years of that currency, or 'year' for all currencies in that year. If both are given, year takes priority.
Inputs: year, currency.
cnb_exchange_rates_dailyCNB Daily Exchange RatesB
Get official CZK exchange rates for a specific date (~27 major currencies).
Inputs: date, lang.
cnb_exchange_rates_monthlyCNB Monthly Exchange RatesB
Get daily exchange rates for a specific currency during a given month.
Inputs: currency (required), yearMonth.
cnb_exchange_rates_monthly_averagesCNB Monthly Average Exchange RatesA
Get monthly average exchange rates. Provide 'currency' for all years of that currency, or 'year' for all currencies in that year. If both are given, year takes priority.
Inputs: year, currency.
cnb_exchange_rates_quarterly_averagesCNB Quarterly Average Exchange RatesA
Get quarterly average exchange rates. Provide 'currency' for all years of that currency, or 'year' for all currencies in that year. If both are given, year takes priority.
Inputs: year, currency.
cnb_exchange_rates_yearCNB Yearly Exchange RatesB
Get all daily exchange rates for an entire year. Returns data for all currencies.
Inputs: year.
cnb_forward_ratesCNB Forward RatesA
Get forward currency points for EUR/CZK and USD/CZK. If 'dateFrom' is provided, returns data for a date range (with optional currency pair and maturity filters). Otherwise returns all forward points for a single date.
Inputs: date, dateTo, dateFrom, maturity, +1 more.
cnb_fx_rates_currencyCNB FX Rates Currency HistoryB
Get the history of FX rates for a specific exotic currency over a range of months. Useful for tracking how less common currencies changed against CZK over time.
Inputs: currency (required), lang, yearMonthTo, yearMonthFrom.
cnb_fx_rates_monthlyCNB FX Rates MonthlyA
Get FX rates for less common (exotic) currencies for a given month (~200 currencies). These rates are published monthly (last business day of the month, valid for the next month). Use this when the standard exchange rates tool does not include the currency you need.
Inputs: lang, yearMonth.
cnb_open_market_operationsCNB Open Market OperationsA
Get CNB open market operations (repo tenders and other money market operations). If 'year' is provided, returns all operations for that year. Otherwise returns operations for a specific date.
Inputs: date, year.
cnb_pribor_dailyA
Get PRIBOR (Prague InterBank Offered Rate) rates for a specific date. Returns rates for all terms (1 day to 1 year). Important for mortgage and corporate loan pricing in Czechia. Note: the pribid field is always null in recent data because PRIBID was discontinued.
Inputs: date.
cnb_pribor_yearA
Get daily PRIBOR rates for an entire year. Optionally filter by a specific term/period (e.g. THREE_MONTH). If period is omitted, returns all terms for every business day. Note: the pribid field is always null in recent data because PRIBID was discontinued.
Inputs: year, period.
cnb_short_term_bondsCNB Short-Term BondsB
Get short-term government bond (SKD) prices and nominal values for a specific date.
Inputs: date.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 15 tools
Most tools target a distinct data series (PRIBOR vs CZEONIA vs forward points vs short-term bonds), and the exotic FX tools explicitly tell the agent when to prefer them over the standard exchange-rate tools. The remaining risk is the cluster of average/granularity variants (quarterly vs monthly vs cumulative averages, and exchange_rates_monthly vs fx_rates_monthly) whose names differ by a single token, though the descriptions do disambiguate.
All names are snake_case with a uniform cnb_ prefix, but conventions mix: mostly noun-based resource_granularity names, with verbs (cnb_convert_currency) and a bare proper noun (cnb_czeonia) in the same set. The parallel use of 'exchange_rates' and 'fx_rates' for closely related series makes two tool names nearly collide.
15 tools sits at the upper end of the healthy range, and each granularity/rate family (daily, monthly, yearly, averages, PRIBOR, CZEONIA, forwards, repo, bonds) covers a genuinely different CNB dataset. Slightly heavy but nothing looks redundant.
The surface covers the core CNB statistical domain well: exchange rates at every granularity, exotic FX, PRIBOR, CZEONIA, forward points, open market operations, short-term bonds, and conversion. Minor gaps exist — no way to list available currencies/dates, and longer-term bond or yield-curve data is absent — but agents can work around these by trial.
Maintenance
Related MCP Connectors
Czech National Bank (Česká národní banka, ČNB) public API MCP. Keyless.
Official ČNB exchange rates — daily & historical CZK vs EUR, USD, 30+ currencies. For accounting.
Czech company and VAT checks, EU VAT validation, IBAN checksums and Czech National Bank rates.
Live & historical FX rates and currency conversion for AI agents. No API keys.
Related MCP Servers
- AlicenseAqualityDmaintenanceProvides AI assistants direct access to 700+ statistical datasets about the Czech Republic, including population, economy, prices, wages, employment, industry, agriculture, trade, tourism, environment, and more.122MIT
- AlicenseNot gradedqualityCmaintenanceProvides access to Czech National Bank public data via MCP, allowing users to query CNB data without an API key.59 npmMIT
- AlicenseNot gradedqualityCmaintenanceProvides access to Croatian National Bank exchange rates without needing an API key, enabling currency conversion and rate queries through natural language.54 npmMIT
- AlicenseAqualityCmaintenanceEnables AI agents and MCP clients to convert currency amounts, retrieve current, historical, and timeseries exchange rates, and list supported currencies from European Central Bank reference data.5MIT