cbr-mcp
This server provides official Russian Central Bank (CBR) financial data through 7 MCP tools, with no authorization required.
Get all official CBR currency exchange rates for a specified date (defaults to today).
Get the exchange rate for a specific currency (e.g. USD, EUR, CNY) with its daily change.
Get currency rate dynamics over a period, including min/max/average and total change.
Get the current CBR key interest rate and the date it takes effect.
Get the history of key interest rate changes over a date range.
Get official precious metals prices: gold, silver, platinum, and palladium.
Convert an amount from one currency to another using CBR exchange rates.
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., "@cbr-mcp Какой курс доллара сегодня?"
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.
@theyahia/cbr-mcp
MCP server for the Central Bank of Russia API — currency rates, key rate, precious metals, conversion. No authorization required, works out of the box.
Part of the Russian API MCP series (50 servers) by @theYahia.
Installation
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"cbr": {
"command": "npx",
"args": ["-y", "@theyahia/cbr-mcp"]
}
}
}Claude Code
claude mcp add cbr -- npx -y @theyahia/cbr-mcpVS Code / Cursor
Add to .vscode/mcp.json:
{
"servers": {
"cbr": {
"command": "npx",
"args": ["-y", "@theyahia/cbr-mcp"]
}
}
}Windsurf
Add to MCP Toolkit settings:
{
"mcpServers": {
"cbr": {
"command": "npx",
"args": ["-y", "@theyahia/cbr-mcp"]
}
}
}Authorization is not required — the CBR API is fully open.
Related MCP server: Market Intel MCP
Tools (7)
Tool | Description |
| All CBR currency rates for the specified date |
| Rate of a specific currency to the ruble with the daily change |
| Currency rate dynamics over a period (series + min/max/avg, change) |
| Current CBR key rate and the date it takes effect |
| Key rate change history for a period |
| Official prices for gold, silver, platinum, palladium (buy/sell) |
| Convert an amount from one currency to another using the CBR rate |
Features
Weekends and holidays. If rates were not published on the requested date (weekend/holiday), data for the nearest available business day is returned with a
noteflag.Fault tolerance. The primary rate source is the
cbr-xml-daily.rumirror; if it is unavailable, the officialcbr.ru(XML_daily.asp) is used as a fallback.Data sources: rates —
cbr-xml-daily.ru+cbr.ru/scripts/XML_daily.asp; dynamics —cbr.ru/scripts/XML_dynamic.asp; key rate —cbr.ru/hd_base/KeyRate; metals —cbr.ru/scripts/xml_metall.asp.
Example queries
Какой курс доллара сегодня?Переведи 1000 USD в евроКак менялся курс доллара с 1 по 23 июня?Какая ключевая ставка ЦБ и с какого числа она действует?Покажи историю ключевой ставки за последний годКакие цены на золото и серебро?Покажи курсы валют на 10 января 2025Part of the Russian API MCP series
MCP | Status | Description |
✅ ready | Addresses, companies, banks, phones | |
✅ ready | Currency rates, key rate | |
@theyahia/yookassa-mcp | 📅 soon | Payments, refunds, 54-FZ receipts |
@theyahia/moysklad-mcp | 📅 soon | Inventory, orders, counterparties |
... | 📅 | +46 servers — full list |
Development
npm install
npm run build # компиляция TypeScript → dist/
npm run lint # eslint
npm test # vitest (юнит-тесты парсеров на офлайн-фикстурах)
npm run dev # запуск из исходников через tsxTests do not access the network — parsers are tested against saved API responses in test/fixtures/.
Changelog is in CHANGELOG.md.
License
MIT
Available Tools
7 toolsconvert_currencyA
Конвертация суммы из одной валюты в другую через курс ЦБ РФ.
Inputs: amount (required), from_currency (required), date, to_currency.
get_currency_rateB
Курс конкретной валюты к рублю с изменением за день.
Inputs: currency_code (required), date.
get_daily_ratesA
Все курсы валют ЦБ РФ на указанную дату (по умолчанию сегодня). Без авторизации.
Inputs: date.
get_key_rateA
Текущая ключевая ставка ЦБ РФ и дата вступления в силу.
Inputs: no named parameters.
get_key_rate_historyB
История изменений ключевой ставки ЦБ РФ за период.
Inputs: to_date, from_date.
get_precious_metalsB
Учётные цены ЦБ РФ на золото, серебро, платину, палладий (руб./грамм).
Inputs: date.
get_rate_dynamicsB
Динамика курса валюты к рублю за период (ряд значений + сводка: min/max/avg, изменение).
Inputs: to_date (required), from_date (required), currency_code (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Most tools have clear, distinct purposes: key rate, daily rates, single currency rate, dynamics, history, metals, and conversion. The only mild overlap is between get_daily_rates and get_currency_rate, but one returns all currencies and the other a specific currency with daily change. get_key_rate and get_key_rate_history are also distinguishable by current vs historical scope.
All tools use a consistent snake_case verb_noun pattern with get_ as the dominant verb. convert_currency breaks the get_ prefix but still follows the same verb_noun convention, so the naming is predictable and coherent.
Seven tools is well-scoped for a Central Bank of Russia rates server. Each tool covers a meaningful aspect of the domain without unnecessary proliferation or obvious redundancy.
The surface covers current and historical key rates, daily and specific currency rates, rate dynamics, metals prices, and currency conversion. Minor gaps exist, such as no explicit supported-currency list or a dedicated historical conversion endpoint, but these can be worked around with the existing daily rates and dynamics tools.
Maintenance
Related MCP Connectors
Live FX + official central-bank rates, 110+ sources. Hosted, keyless, nothing to install.
Unofficial access to CBRT/TCMB daily exchange rates: latest, history since 1996, conversion.
Exchange rates for about 150 currencies from central banks (ECB and others). Free, no key.
Live & historical FX rates and currency conversion for AI agents. No API keys.
Related MCP Servers
- AlicenseAqualityCmaintenanceCentral Bank of Russia (CBR) data for AI agents — daily and historical currency rates, key rate, inflation, and macro statistics. Five typed MCP tools, in-memory TTL cache, MIT-licensed, no API key required.584 PyPI1MIT
- AlicenseAqualityBmaintenanceProvides live and historical foreign-exchange rates from the European Central Bank via Frankfurter API, enabling currency conversion, rate lookup, and trend analysis without API keys.5MIT
- AlicenseNot gradedqualityCmaintenanceEnables access to National Bank of Poland (NBP) financial data, including exchange rates and other economic indicators, through the NBP Web API without requiring an API key.89 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables users to retrieve Bank of Israel public API data, including current representative exchange rates versus the Israeli Shekel and the policy interest rate, without an API key.75 npmMIT