CBR Currency Rate
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_HOST | No | Host to bind when using the HTTP transport, e.g. 0.0.0.0. | |
| MCP_PORT | No | Port to bind when using the HTTP transport, e.g. 8000. | |
| MCP_LOCALE | No | Controls tool titles, descriptions, parameter text and every error message. Set to en, es or ru. Default is English; when MCP_LOCALE is unset the server falls back to LANGUAGE / LANG, then to English. | |
| MCP_TRANSPORT | No | Transport to use, e.g. set to http to enable the HTTP transport. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Official Bank of Russia (CBR) exchange rates. get_currency_rate returns the official rate of one currency against the rouble, convert_currency converts an amount between any two currencies, list_currency_rates returns the whole daily table, get_rate_history returns a series over a date range, and search_currencies finds an ISO code by name. Rates are the CBR's official numbers, published once per business day around 11:30 Moscow time; weekends and holidays reuse the previous business day. No API key.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_currency_rateA | Return the official Bank of Russia rate for one currency: roubles per unit, the inverse, the quoted nominal and both the English and Russian names. 'date' is optional and accepts 2026-11-26, 26.11.2026 or 26/11/2026; without it the latest published day is used. Weekends and holidays fall back to the previous business day and the response says which day was used. 'RUB' is accepted and always equals 1. Example: currency='USD'. |
| convert_currencyA | Convert an amount from one currency to another using the official Bank of Russia rates, crossing through the rouble. Both currencies must be quoted by the CBR (or be 'RUB'). Returns the converted amount together with the effective rate. Example: amount=1000, from_currency='USD', to_currency='RUB'. |
| list_currency_ratesA | Return the Bank of Russia daily rate table: every quoted currency with its nominal, value and per-unit rate. Pass currency_codes to narrow the list, for example ['USD', 'EUR', 'CNY']. Without it the whole table is returned, sorted by ISO code. Example: currency_codes=['USD', 'EUR']. |
| get_rate_historyA | Return a series of official rates for one currency between start_date and end_date, both inclusive. Ranges are capped at 366 days. Only business days are published, so weekends and holidays are absent rather than repeated. Example: currency='USD', start_date='2026-11-01', end_date='2026-11-26'. |
| search_currenciesA | Search the Bank of Russia currency directory by ISO code, numeric code, English name or Russian name, and report which of the matches the daily feed actually quotes. Use this when you are not sure of a currency code before calling the rate tools. Example: query='yuan'. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 5 tools
Each tool maps to a distinct operation: single-rate lookup, conversion, full table listing, historical series, and directory search. Descriptions explicitly state when to prefer one over another (e.g. search_currencies before rate lookups), leaving no realistic chance of misselection.
All five names follow a strict snake_case verb_noun pattern (get_, convert_, list_, get_..._history, search_) and use consistent domain vocabulary. get_currency_rate vs get_rate_history are differentiated by the noun suffix rather than by arbitrary verb changes.
Five tools is tightly scoped to the CBR rates domain, and each one covers a genuinely different access pattern (point lookup, computation, bulk listing, time series, discovery). Nothing is redundant or padded.
Lookup, reverse rate, conversion, table listing, history and code discovery give full lifecycle coverage for the stated purpose. Minor gaps: convert_currency does not document a date parameter for historical conversion, and there is no batch multi-currency history call, though agents can work around both.