Skip to content
VS Code

Exchange Rate API for VS Code

io.github.exchange-rateapi/mcp-server

Real-time & historical exchange rates for 160+ currencies, mid-market (Reuters/Refinitiv).

client:VS Code transport:stdio runtime:npm

Install Exchange Rate API in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "exchange-rate-api-key",
      "description": "EXCHANGE_RATE_API_KEY",
      "password": true
    }
  ],
  "servers": {
    "mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@exchangerateapi/mcp-server"
      ],
      "env": {
        "EXCHANGE_RATE_API_KEY": "${input:exchange-rate-api-key}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

Exchange Rate API in other clients