BNR exchange rates — Claude Code MCP server: features and setup
BNR exchange rates is an MCP server for Claude Code that queries Romania’s central bank rates and converts amounts to or from RON. It checks fixings by date and annual D212 averages.
MIT ★ 5 updated 2026-10-29
claude mcp add bnr -- npx -y @foreverworks/mcp-bnrWhat BNR exchange rates does
The server reads BNR’s public XML files and offers tools for a single rate, currency conversion, multiple currencies, and a series of fixings over a period of up to 366 days. It can also return the annual average used by ANAF for D212. Every tool is read-only.
No account or API key is needed, but the package runs on Node 22.19 or later. Results include the publication date of the fixing used; calendar dates follow Bucharest time. If outbound access is restricted with MCP_EGRESS_ALLOW, that setting must permit curs.bnr.ro, or the server cannot fetch rates.
What it helps with
- check a BNR rate for a specific date
- convert an amount to or from RON
- retrieve several currency rates across a date range
- get the annual average used for D212
Example prompts for the agent
- Find BNR’s EUR rate for 14 March 2025.
- Convert an invoice for 1,250.50 EUR into lei using the last BNR rate before 3 October 2026.
- Get the annual USD average used for D212 for 2025.
How to install BNR exchange rates
Platform CLI
claude mcp add bnr -- npx -y @foreverworks/mcp-bnrPlatform CLI
codex mcp add bnr -- npx -y @foreverworks/mcp-bnrConfig file
{
"mcpServers": {
"bnr": {
"command": "npx",
"args": [
"-y",
"@foreverworks/mcp-bnr"
]
}
}
}Config file
{
"servers": {
"bnr": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@foreverworks/mcp-bnr"
]
}
}
}Platform CLI
gemini mcp add bnr npx -y @foreverworks/mcp-bnrStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about BNR exchange rates
How do I install BNR exchange rates in Claude Code?
Run claude mcp add bnr -- npx -y @foreverworks/mcp-bnr. The package requires Node 22.19 or later.
What does BNR exchange rates do?
It retrieves Romania’s central bank reference rates and converts amounts between RON and another currency. It can also return rates across a date range and the annual average used for D212.
Does BNR exchange rates need an API key?
No. It reads BNR’s public XML files without an account or key. If MCP_EGRESS_ALLOW limits outbound traffic, allow access to curs.bnr.ro.