Skip to main content
Glama

@theyahia/cbr-mcp

用于 API Центрального Банка РФ 的 MCP 服务器 — 货币汇率、关键利率、贵金属、货币兑换。无需授权,开箱即用。

npm License: MIT

属于 Russian API MCP 系列的一部分(50 个服务器),作者 @theYahia

安装

Claude Desktop

添加到 claude_desktop_config.json

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

Claude Code

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

VS Code / Cursor

添加到 .vscode/mcp.json

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

Windsurf

添加到 MCP Toolkit 设置:

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

授权不是必需的 — API ЦБ РФ 完全开放。

Related MCP server: mcp-cbr-rates

工具(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.ruXML_daily.asp)作为后备。

  • 数据来源: 汇率 — 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

Russian API MCP 系列的一部分

MCP

状态

描述

@metarebalance/dadata-mcp

✅ 已就绪

地址、公司、银行、电话

@theyahia/cbr-mcp

✅ 已就绪

货币汇率、关键利率

@theyahia/yookassa-mcp

📅 即将推出

支付、退款、54-ФЗ 收据

@theyahia/moysklad-mcp

📅 即将推出

库存、订单、交易对手

...

📅

+46 个服务器完整列表

开发

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

测试不会访问网络 — 解析器通过 test/fixtures/ 中保存的 API 响应进行验证。 变更历史见 CHANGELOG.md

许可证

MIT

Install Server
A
license - permissive license
A
quality
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
1Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    Provides 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.
    5
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    Central 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.
    5
    2
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Fetches official currency exchange rates from the National Bank of Kazakhstan, supports conversion and rate dynamics tracking.
    5
    15
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Provides 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.
    MIT

View all related MCP servers

Related MCP Connectors

  • Live & historical FX rates for AI agents, from European Central Bank data. No API keys.

  • Live & historical FX rates and currency conversion for AI agents. No API keys.

  • Convert currencies, get FX rates, and query historical ECB exchange rate data.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/theYahia/cbr-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server