Exchange Rate API
v1.0.2Real-time & historical exchange rates for 160+ currencies, mid-market (Reuters/Refinitiv).
Values you need
| Variable | What it is | |
|---|---|---|
EXCHANGE_RATE_API_KEY | required secret | API key from exchange-rateapi.com (free tier available, no credit card required) |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add mcp-server -e 'EXCHANGE_RATE_API_KEY=<EXCHANGE_RATE_API_KEY>' -- npx -y --package=@exchangerateapi/mcp-server@1.0.2 exchange-rateapi-mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"mcp-server": {
"args": [
"-y",
"--package=@exchangerateapi/mcp-server@1.0.2",
"exchange-rateapi-mcp"
],
"command": "npx",
"env": {
"EXCHANGE_RATE_API_KEY": "<EXCHANGE_RATE_API_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mcp-server": {
"args": [
"-y",
"--package=@exchangerateapi/mcp-server@1.0.2",
"exchange-rateapi-mcp"
],
"command": "npx",
"env": {
"EXCHANGE_RATE_API_KEY": "<EXCHANGE_RATE_API_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "EXCHANGE_RATE_API_KEY",
"id": "exchange-rate-api-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"mcp-server": {
"args": [
"-y",
"--package=@exchangerateapi/mcp-server@1.0.2",
"exchange-rateapi-mcp"
],
"command": "npx",
"env": {
"EXCHANGE_RATE_API_KEY": "${input:exchange-rate-api-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mcp-server]
command = "npx"
args = ["-y", "--package=@exchangerateapi/mcp-server@1.0.2", "exchange-rateapi-mcp"]
env = { "EXCHANGE_RATE_API_KEY" = "<EXCHANGE_RATE_API_KEY>" }For AI agents
- Ask the user for: EXCHANGE_RATE_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: get_exchange_rate, get_historical_rates, get_rates, list_currencies.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json