Cbr Mcp

io.github.theYahiaPublished by GitHub account theYahiav1.0.0Updated Oct 24, 2026

MCP server for Central Bank of Russia API — currency rates, key rate, precious metals, conversion.

VerifiedSTDIODesktop onlyFinanceData & Analytics

Overview

AI-generated overview

Local MCP server that gives an assistant official Central Bank of Russia data: currency rates, key rate history, precious metals and conversions.

What you can do
Look up all official currency rates for a given date, or the rate of one currency against the ruble with its daily change, falling back to the nearest working day when a date has no published rates and to the official cbr.ru source when the mirror is unavailable. Retrieve rate dynamics over a period with series, minimum, maximum, average and change. Read the current key rate and its effective date, or the history of key rate changes over a period. Get accounting prices for gold, silver, platinum and palladium, and convert an amount between currencies using Central Bank rates.
When to use it
Useful when you need official Russian ruble exchange rates, the Central Bank key rate, or precious metal prices quoted in a chat, for example historical rates on a specific date, rate trends over a period, or converting an amount between currencies.
Requirements
Runs locally as a Node.js process, typically started with npx from the npm package; no account or authorization is needed. Network access to the rate sources is required.
Before you install
The README states no authorization or keys are needed, yet the manifest declares an API_KEY secret; check whether it is actually used before supplying one. The server reads public data only and does not appear to write or send user data, but it fetches from third-party rate sources over the network.

Installation

In SourceWeft

  1. Open Cbr Mcp in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

MCP-сервер для API ЦБ РФ — курсы валют, ключевая ставка и драгметаллы через ИИ

Если вы искали, как получить официальный курс доллара или евро на нужную дату, узнать ключевую ставку ЦБ или пересчитать сумму по курсу Банка России прямо в чате — это оно. 7 инструментов, без авторизации и ключей: поставили через npx и сразу спрашиваете. «Какой был курс евро 15 марта» — цифра из официального источника, а не из поисковой выдачи.

[npm] [License: MIT]

Часть серии WWmcp (46 серверов) by @theYahia.

Установка

Claude Desktop

Добавьте в claude_desktop_config.json:

json
{  "mcpServers": {    "cbr": {      "command": "npx",      "args": ["-y", "@theyahia/cbr-mcp"]    }  }}

Claude Code

bash
claude mcp add cbr -- npx -y @theyahia/cbr-mcp

VS Code / Cursor

Добавьте в .vscode/mcp.json:

json
{  "servers": {    "cbr": {      "command": "npx",      "args": ["-y", "@theyahia/cbr-mcp"]    }  }}

Windsurf

Добавьте в настройки MCP Toolkit:

json
{  "mcpServers": {    "cbr": {      "command": "npx",      "args": ["-y", "@theyahia/cbr-mcp"]    }  }}

Авторизация не нужна — API ЦБ РФ полностью открытый.

Инструменты (7)

ИнструментОписание
get_daily_ratesВсе курсы валют ЦБ РФ на указанную дату
get_currency_rateКурс конкретной валюты к рублю с изменением за день
get_rate_dynamicsДинамика курса валюты за период (ряд + min/max/avg, изменение)
get_key_rateТекущая ключевая ставка ЦБ РФ и дата её вступления в силу
get_key_rate_historyИстория изменений ключевой ставки за период
get_precious_metalsУчётные цены на золото, серебро, платину, палладий (покупка/продажа)
convert_currencyКонвертация суммы из одной валюты в другую через курс ЦБ

Особенности

  • Выходные и праздники. Если на запрошенную дату курсы не публиковались (выходной/праздник), возвращаются данные за ближайший доступный рабочий день с пометкой note.
  • Отказоустойчивость. Основной источник курсов — зеркало cbr-xml-daily.ru; при его недоступности используется официальный cbr.ru (XML_daily.asp) как fallback.
  • Источники данных: курсы — cbr-xml-daily.ru + cbr.ru/scripts/XML_daily.asp; динамика — cbr.ru/scripts/XML_dynamic.asp; ключевая ставка — cbr.ru/hd_base/KeyRate; металлы — cbr.ru/scripts/xml_metall.asp.

Примеры запросов

Какой курс доллара сегодня?
Переведи 1000 USD в евро
Как менялся курс доллара с 1 по 23 июня?
Какая ключевая ставка ЦБ и с какого числа она действует?
Покажи историю ключевой ставки за последний год
Какие цены на золото и серебро?
Покажи курсы валют на 10 января 2025

Часть серии WWmcp

MCPСтатусОписание
@metarebalance/dadata-mcp✅ готовАдреса, компании, банки, телефоны
@theyahia/cbr-mcp✅ готовКурсы валют, ключевая ставка
@theyahia/yookassa-mcp📅 скороПлатежи, возвраты, чеки 54-ФЗ
@theyahia/moysklad-mcp📅 скороСклад, заказы, контрагенты
...📅46 серверов — полный список

Разработка

bash
npm installnpm run build      # компиляция TypeScript → dist/npm run lint       # eslintnpm test           # vitest (юнит-тесты парсеров на офлайн-фикстурах)npm run dev        # запуск из исходников через tsx

Тесты не ходят в сеть — парсеры проверяются на сохранённых ответах API в test/fixtures/. История изменений — в CHANGELOG.md.

Лицензия

MIT


Часть WWmcp · Telegram: @vhodvai

Source: README.md at commit 09aa3de

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v1.0.0LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts