# BNR exchange rates

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.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 5 repo stars
- Author: foreverworks
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/foreverworks/mcps/tree/HEAD/servers/bnr
- Updated: 2026-10-29
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/bnr-exchange-rates

## What it 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.

## Requirements
- Needs: Node.js (commands run via npx)

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add bnr -- npx -y @foreverworks/mcp-bnr
```

### Codex

**Platform CLI**
```bash
codex mcp add bnr -- npx -y @foreverworks/mcp-bnr
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "bnr": {
            "command": "npx",
            "args": [
                "-y",
                "@foreverworks/mcp-bnr"
            ]
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "bnr": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@foreverworks/mcp-bnr"
            ]
        }
    }
}
```

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add bnr npx -y @foreverworks/mcp-bnr
```

## When to use it
- 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
- 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.

## Similar
- [exchange-mcp](https://affpapa.org/en/nevibecode/mcp/exchange-mcp.md) — MCP server · 9701 installs
- [AllRatesToday exchange rates (hosted)](https://affpapa.org/en/nevibecode/mcp/allratestoday-exchange-rates-hosted.md) — MCP server · ★ 4 repo stars
- [exchange-rates-mcp-server](https://affpapa.org/en/nevibecode/mcp/exchange-rates-mcp-server.md) — MCP server · 1637 installs
- [cnb](https://affpapa.org/en/nevibecode/mcp/cnb.md) — MCP server · ★ 6 repo stars
- [Bank of Canada Foreign Exchange](https://affpapa.org/en/nevibecode/mcp/bank-of-canada-foreign-exchange.md) — MCP server · 448 installs
- [Exchange Rate API](https://affpapa.org/en/nevibecode/mcp/exchange-rate-api.md) — MCP server · 273 installs

From the same set: [foreverworks/mcps](https://affpapa.org/en/nevibecode/by/foreverworks/mcps.md) — 15 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
