Skip to content
MCP server

unirateapi.com

MCP server giving AI assistants currency conversion and exchange rate lookups

Runs locally

unirateapi.com is an open-source MCP server for finance and payments. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, API, Self-hosted
Runs
Locally
Access
Needs a secret key or token
Version
0.2.2
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add mcp --env UNIRATE_API_KEY='<UNIRATE_API_KEY>' -- npx -y @unirate/mcp

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@unirate/mcp"
      ],
      "env": {
        "UNIRATE_API_KEY": "<UNIRATE_API_KEY>"
      }
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@unirate/mcp"
      ],
      "env": {
        "UNIRATE_API_KEY": "<UNIRATE_API_KEY>"
      }
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@unirate/mcp"
      ],
      "env": {
        "UNIRATE_API_KEY": "<UNIRATE_API_KEY>"
      }
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@unirate/mcp"
      ],
      "env": {
        "UNIRATE_API_KEY": "<UNIRATE_API_KEY>"
      }
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add mcp --env UNIRATE_API_KEY='<UNIRATE_API_KEY>' -- npx -y @unirate/mcp

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.mcp]
command = "npx"
args = ["-y", "@unirate/mcp"]
env = { UNIRATE_API_KEY = "<UNIRATE_API_KEY>" }

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@unirate/mcp"
      ],
      "env": {
        "UNIRATE_API_KEY": "<UNIRATE_API_KEY>"
      }
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@unirate/mcp"
          ],
          "env": {
            "UNIRATE_API_KEY": "<UNIRATE_API_KEY>"
          }
        }
      }
    }

    Or run: gemini mcp add -s user -e UNIRATE_API_KEY='<UNIRATE_API_KEY>' mcp npx -- -y @unirate/mcp

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@unirate/mcp"
          ],
          "env": {
            "UNIRATE_API_KEY": "<UNIRATE_API_KEY>"
          }
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@unirate/mcp"
          ],
          "env": {
            "UNIRATE_API_KEY": "<UNIRATE_API_KEY>"
          }
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@unirate/mcp"
          ],
          "env": {
            "UNIRATE_API_KEY": "<UNIRATE_API_KEY>"
          }
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@unirate/mcp"
          ],
          "env": {
            "UNIRATE_API_KEY": "<UNIRATE_API_KEY>"
          }
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@unirate/mcp"
          ],
          "env": {
            "UNIRATE_API_KEY": "<UNIRATE_API_KEY>"
          }
        }
      }
    }

    The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@unirate/mcp"
          ],
          "env": {
            "UNIRATE_API_KEY": "<UNIRATE_API_KEY>"
          }
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@unirate/mcp"
          ],
          "env": {
            "UNIRATE_API_KEY": "<UNIRATE_API_KEY>"
          }
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

Configuration

  • UNIRATE_API_KEYUniRate API key — get a free one at https://unirateapi.comRequired

About unirateapi.com

The README describes this as a Model Context Protocol server that wraps the UniRate currency API, so assistants such as Claude Desktop, Cursor or Continue can convert amounts and fetch rates through typed tools. It exposes four tools: convert, latest_rate, historical_rate and list_currencies. Each returns a readable answer alongside a structured payload that other tool calls can reuse.

The server runs over stdio by default and can also be hosted as a Streamable HTTP endpoint with a health check route. It is distributed as an npm package and a Docker image. A UniRate API key is required, and the free tier covers the convert, latest rate and currency list tools, while historical rates require a Pro plan.

It suits developers and analysts who want an AI assistant to answer currency questions with live figures instead of guessing from training data.

Tools this server provides (4)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 1 of 4 tools reads data; 3 names don't say.

From the server's own tool labels and tool names; not verified by us.

convert
Convert an amount from one currency to another at the latest rate.
latest_rate
Get current exchange rate(s) for a base currency, optionally to a single target.
historical_rate
Get the exchange rate in effect on a specific date (Pro plan).
list_currenciesName suggests: reads
Return the array of supported currency codes.

What it does

Four currency tools
Provides convert, latest_rate, historical_rate and list_currencies tools with typed inputs.
Stdio and HTTP transports
Runs locally over stdio or as a remote Streamable HTTP endpoint.
Historical rate lookups
Returns the rate in effect on a given date back to 1999 on the Pro plan.
Docker and npm distribution
Available as an npm package and as multi-arch Docker images.
Structured error responses
Maps API failures to tool errors so the model can recover instead of crashing.

Good for

  • Asking an AI assistant to convert a price between currencies at current rates
  • Looking up what a currency pair was worth on a past date for reporting
  • Validating user-supplied currency codes against the supported list
  • Adding live exchange rates to an AI-driven workflow in an MCP client

Pricing

Open source

MCP server is MIT licensed; the UniRate API it calls has a free tier and a Pro plan.

Prices change. Check unirateapi.com before you buy.

unirateapi.com FAQ

Do I need an API key to use unirateapi.com?

Yes. The registry entry marks UNIRATE_API_KEY as required, and the README says a free key can be obtained from unirateapi.com without a credit card.

Which tools are available on the free tier?

The README says the free tier covers convert, latest_rate and list_currencies. historical_rate is marked as a Pro plan feature.

How far back does historical data go?

The README gives coverage back to 1999-01-04 for major fiat pairs.

Which AI clients can use unirateapi.com?

The README names Claude Desktop, Cursor, Continue and Cline, and says any MCP-compatible assistant can connect.

How do I add unirateapi.com to Claude Code?

Run this command in your terminal: claude mcp add mcp --env UNIRATE_API_KEY='<UNIRATE_API_KEY>' -- npx -y @unirate/mcp

What are the best alternatives to unirateapi.com?

The closest alternatives to unirateapi.com are Currency Converter Mcp, Monobank, Jessicayanwang Test, FX Converter MCP and Crypto Prices Mcp.

Where this comes from

  • Description: written from the project's README, the project's website and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers