# Exchange Rate API

Exchange Rate API serves rates for 160 currencies, fiat, crypto and metals alike, over plain HTTP. Handy when your agent has to price something or draw a chart.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · 273 installs
- Author: nimbusapi
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://smithery.ai/server/nimbusapi/exchange-rate
- Updated: 2026-04-01
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/exchange-rate-api

## What it does

One endpoint to add, `https://exchange-rate--nimbusapi.run.tools`. Nothing runs on your machine. Six tools sit behind it: `get_latest_rates` for current numbers sourced from ECB, FloatRates and CoinGecko, `convert_currency` for a single amount, `batch_convert` for as many as 100 pairs in one request. The catalogue call `list_currencies` returns code, name, symbol, decimal places and type, and asks for no API key.

Any currency works as the base, BTC included. `get_timeseries` returns daily points across a date range, capped at 365 days per call, so a longer span has to be split. `get_historical_rates` takes a `YYYY-MM-DD` date; for fiat the data reaches 1999.

## Requirements
- Remote server: `https://exchange-rate--nimbusapi.run.tools`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http exchange-rate https://exchange-rate--nimbusapi.run.tools
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add exchange-rate-api --url https://exchange-rate--nimbusapi.run.tools
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "exchange-rate-api": {
            "url": "https://exchange-rate--nimbusapi.run.tools"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "exchange-rate-api": {
            "type": "http",
            "url": "https://exchange-rate--nimbusapi.run.tools"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http exchange-rate-api https://exchange-rate--nimbusapi.run.tools
```

## When to use it
- convert a price into the buyer's currency
- plot a daily rate series for a date range
- fetch the rate on the day a deal closed
- convert up to 100 pairs in a single call
- populate a currency picker with codes and symbols

## Example prompts
- Convert the amount in `order.total` to euros at the current rate
- Build a daily EUR/USD series covering 365 days
- Pull the historical rate for the date in `deal.date`, formatted `YYYY-MM-DD`

## Similar
- [AllRatesToday exchange rates (hosted)](https://affpapa.org/en/nevibecode/mcp/allratestoday-exchange-rates-hosted.md) — MCP server · ★ 4 repo stars
- [Frankfurter](https://affpapa.org/en/nevibecode/mcp/frankfurter.md) — MCP server · ★ 6 repo stars
- [exchange-rates-mcp-server](https://affpapa.org/en/nevibecode/mcp/exchange-rates-mcp-server.md) — MCP server · 1637 installs
- [Currency Exchange](https://affpapa.org/en/nevibecode/mcp/currency-exchange.md) — MCP server · ★ 1 repo stars
- [Bank of Canada Foreign Exchange](https://affpapa.org/en/nevibecode/mcp/bank-of-canada-foreign-exchange.md) — MCP server · 448 installs
- [open-exchange-rates](https://affpapa.org/en/nevibecode/skills/open-exchange-rates.md) — skill · 188 installs

---
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
