realtime-exchange-rate-mcp

v0.3.3
io.github.cahthuranag/realtime-exchange-rate-mcp Checked 3 days ago Published 7 months ago

Real-time currency exchange rates, historical data, and multi-currency lookups for MCP clients.

Values you need

VariableWhat it is
ALLRATES_API_KEYrequired secret API key (art_live_xxxxx). Required for all tools. Get one free at https://allratestoday.com/register.
ALLRATES_BASE_URLoptional Override API base URL (default: https://allratestoday.com/api).

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add realtime-exchange-rate-mcp -e 'ALLRATES_API_KEY=<ALLRATES_API_KEY>' -- npx -y --package=@allratestoday/mcp-server@0.3.3 allratestoday-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "realtime-exchange-rate-mcp": {
      "args": [
        "-y",
        "--package=@allratestoday/mcp-server@0.3.3",
        "allratestoday-mcp"
      ],
      "command": "npx",
      "env": {
        "ALLRATES_API_KEY": "<ALLRATES_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "realtime-exchange-rate-mcp": {
      "args": [
        "-y",
        "--package=@allratestoday/mcp-server@0.3.3",
        "allratestoday-mcp"
      ],
      "command": "npx",
      "env": {
        "ALLRATES_API_KEY": "<ALLRATES_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "ALLRATES_API_KEY",
      "id": "allrates-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "realtime-exchange-rate-mcp": {
      "args": [
        "-y",
        "--package=@allratestoday/mcp-server@0.3.3",
        "allratestoday-mcp"
      ],
      "command": "npx",
      "env": {
        "ALLRATES_API_KEY": "${input:allrates-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.realtime-exchange-rate-mcp]
command = "npx"
args = ["-y", "--package=@allratestoday/mcp-server@0.3.3", "allratestoday-mcp"]
env = { "ALLRATES_API_KEY" = "<ALLRATES_API_KEY>" }

For AI agents

  1. Ask the user for: ALLRATES_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. 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).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: get_exchange_rate, get_historical_rates, get_rates_authenticated, list_currencies.
  5. 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