Featured

Deploy OpenClaw in 60 seconds β€” 20% off logoDeploy OpenClaw in 60 seconds β€” 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger β†’
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger β†’
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free β†’
6,000+ web scrapers for your AI agent, start free logo6,000+ web scrapers for your AI agent, start free

Apify gives your agent live web data: 6,000+ prebuilt scrapers and actors, MCP-ready. Sign up free with $5 in usage credits.

Try Apify free β†’
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data β€” no proxies, no parsers, no maintenance.

Start building free β†’
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it β€” secured from day one.

Get it set up for you β†’
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free β†’
Reach 48,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here β†’

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

atomno-labs/mcp-cbr-rates MCP server](https://glama.ai/mcp/servers/atomno-labs/mcp-cbr-rates/badges/score.svg)](https://glama.ai/mcp/servers/atomno-labs/mcp-cbr-rates) 🐍 ☁️ - Central Bank of Russia (Π¦Π‘ Π Π€) data β€” currency exchange rates (daily and...

README.md

<!-- mcp-name: io.github.atomno-mcp/mcp-cbr-rates -->

mcp-cbr-rates

A Model Context Protocol (MCP) server that exposes public Bank of Russia (Π¦Π΅Π½Ρ‚Ρ€Π°Π»ΡŒΠ½Ρ‹ΠΉ Π±Π°Π½ΠΊ Π Π€, CBR) data β€” currency quotes, key rate, inflation and a compact macro snapshot β€” to AI agents.

![License: MIT](LICENSE) ![PyPI](https://pypi.org/project/atomno-mcp-cbr-rates/) ![GitHub release](https://github.com/atomno-mcp/mcp-cbr-rates/releases) ![Tests](tests/) ![Coverage](tests/) !Python !MCP ![Glama](https://glama.ai/mcp/servers/atomno-mcp/mcp-cbr-rates)

<a href="https://glama.ai/mcp/servers/atomno-mcp/mcp-cbr-rates"> <img width="380" height="200" src="https://glama.ai/mcp/servers/atomno-mcp/mcp-cbr-rates/badge" alt="mcp-cbr-rates MCP server" /> </a>

mcp-cbr-rates is part of the atomno family of MCP servers focused on the Russian fintech ecosystem. It is fully open-source, requires no API keys, and is built on top of the official public CBR endpoints.

---

Features

  • Five high-quality MCP tools, each with a strict Pydantic schema:

get_rate, history_rates, key_rate, inflation, statistics.

  • Built-in TTL (Time-To-Live) cache: 1 hour for daily quotes, 24 hours for

historical series, to be polite to the source.

  • Async `httpx` transport with automatic retries on 5xx errors.
  • Safe XML parsing via `defusedxml`.
  • 50+ unit tests with `respx`-mocked HTTP, β‰₯80 % coverage.
  • No secrets, no telemetry, no third-party trackers.

---

Quick start

Install from PyPI (recommended)

pipx install atomno-mcp-cbr-rates
atomno-mcp-cbr-rates  # starts the MCP server over stdio

Or with uv:

uv tool install atomno-mcp-cbr-rates

Install from source

git clone https://github.com/atomno-mcp/mcp-cbr-rates.git
cd mcp-cbr-rates
pip install -e .
atomno-mcp-cbr-rates  # starts the MCP server over stdio

Use with Cursor

Add the following to .cursor/mcp.json (or your global ~/.cursor/mcp.json):

{
  "mcpServers": {
    "cbr-rates": {
      "command": "atomno-mcp-cbr-rates"
    }
  }
}

Use with Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "cbr-rates": {
      "command": "atomno-mcp-cbr-rates"
    }
  }
}

On Windows the config lives at %APPDATA%\Claude\claude_desktop_config.json; on macOS at ~/Library/Application Support/Claude/claude_desktop_config.json.

Use with Claude Code

claude mcp add cbr-rates -- atomno-mcp-cbr-rates

---

Tools

| Name | Inputs | Returns | |---|---|---| | get_rate | char_code: str, on_date?: date | CurrencyRate β€” single quote on the given (or latest) date | | history_rates | char_code: str, date_from: date, date_to: date | HistoryRates β€” series of daily quotes | | key_rate | date_from?: date, date_to?: date | KeyRateHistory β€” CBR key-rate series | | inflation | year_from?: int, year_to?: int | InflationData β€” monthly year-over-year CPI in percent | | statistics | _(none)_ | MacroSnapshot β€” combined dashboard: key rate + USD/EUR/CNY + inflation |

Examples in plain English:

"What was the official EUR rate on April 25, 2024?" Tool: get_rate(char_code="EUR", on_date="2024-04-25")

"Plot the daily USD-RUB rate over the last 90 days." Tool: history_rates(char_code="USD", date_from=..., date_to=...)

"Give me the latest key rate, USD/EUR/CNY, and inflation in one go." Tool: statistics()

The history_rates window is capped at 366 days; for longer periods, call the tool repeatedly.

---

Configuration

All settings are optional and read from environment variables:

| Variable | Default | Description | |---|---|---| | MCP_CBR_HTTP_TIMEOUT | 15 | HTTP timeout in seconds for CBR calls. | | MCP_CBR_CACHE_DAILY_TTL | 3600 | Cache TTL for daily quotes (seconds). | | MCP_CBR_CACHE_HISTORY_TTL | 86400 | Cache TTL for historical series and SOAP responses. | | MCP_CBR_LOG_LEVEL | INFO | Standard Python log level. |

Legacy CBR_ names are still accepted for compatibility, but new configs should use MCP_CBR_.

There are no API keys to configure β€” all CBR endpoints used here are public.

---

Development

git clone https://github.com/atomno-mcp/mcp-cbr-rates.git
cd mcp-cbr-rates
python -m venv .venv && source .venv/bin/activate  # or .\.venv\Scripts\activate on Windows
pip install -e ".[dev]"
pytest --cov=src/mcp_cbr_rates

Layout:

apps/mcp-cbr-rates/
β”œβ”€β”€ src/mcp_cbr_rates/
β”‚   β”œβ”€β”€ server.py        # FastMCP entry point, tool registration
β”‚   β”œβ”€β”€ tools.py         # high-level async tools with caching
β”‚   β”œβ”€β”€ client.py        # httpx wrapper around CBR XML / SOAP / HTML endpoints
β”‚   β”œβ”€β”€ schemas.py       # Pydantic v2 models for inputs & outputs
β”‚   β”œβ”€β”€ cache.py         # async TTL cache
β”‚   β”œβ”€β”€ currency_codes.py # static ISO β†’ CBR id map (with dynamic fallback)
β”‚   └── errors.py        # typed exception hierarchy
└── tests/               # respx-mocked unit tests + fixtures

---

Data sources

  • https://www.cbr.ru/scripts/XML_daily.asp β€” daily currency quotes.
  • https://www.cbr.ru/scripts/XML_dynamic.asp β€” historical currency series.
  • https://www.cbr.ru/scripts/XML_valFull.asp β€” currency code lookup.
  • https://www.cbr.ru/DailyInfoWebServ/DailyInfo.asmx β€” SOAP service for the

CBR key rate.

  • https://www.cbr.ru/hd_base/infl/ β€” monthly year-over-year inflation table.

All endpoints are read-only and free of charge.

---

Disclaimer

This project is not affiliated with the Bank of Russia in any way. It is an unofficial, best-effort wrapper around publicly available data. Use at your own risk; the authors disclaim any responsibility for the freshness, accuracy or applicability of the data delivered through this server.

If CBR's HTML or XML schemas change, individual tools may stop working until this package is updated. Please open an issue if you notice a regression.

---

License

MIT β€” see LICENSE.

See related servers & alternatives β†’

Related MCP servers

Browse all β†’

Related guides

Hand-picked reading to help you choose and use Vector & Memory servers.