MCP Server logo

MCP Server

by cahthuranag

Fetch live, historical, official, and multi-currency foreign-exchange rates through MCP.

Install MCP Server

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "cahthuranag-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@allratestoday/mcp-server"
      ],
      "env": {
        "ALLRATES_API_KEY": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Install not yet sandbox-tested— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.

Overview

cahthuranag/mcp-server connects MCP clients to the AllRatesToday currency-rates API for fiat exchange-rate queries. Its tools cover single live pairs, fixed lookback histories, multi-target or point-in-time lookups, and currency validation across 160+ ISO 4217 currencies. Keyless mode provides selected official central-bank data, while an API key enables real-time mid-market rates and additional lookups. Use it when an agent needs current or historical fiat FX data rather than cryptocurrency, commodity, or amount-arithmetic support.

Use cases

  • Query a current fiat exchange rate
  • Compare one currency with several targets
  • Inspect a fixed FX history window
  • Validate currency codes before requesting rates

Key features

  • Live mid-market rates for 160+ fiat currencies
  • Historical 1d, 7d, 30d, and 1y series
  • Multi-target and point-in-time rate lookups
  • Currency, central-bank, and reference-rate listings
  • Keyless official central-bank rate access
  • stdio and hosted Streamable HTTP access

Tools4

What MCP Server lets your agent do. Expand a tool for its parameters.

Verified live~1.3k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

21/21 checks healthy over the last 89d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 3d ago via OSV.dev · @allratestoday/mcp-server (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars4Stargazers on the source repository.
npm downloads2.7kPackage downloads in the last 30 days.
Last commit2d agoMost recent push to the default branch.
Tools exposed4Callable tools this server registers over MCP.
Directory activity8 viewsConfig copies, upvotes, and views on AllMCPs.

How MCP Server works

What cahthuranag/mcp-server does

cahthuranag/mcp-server exposes AllRatesToday foreign-exchange data through the Model Context Protocol. It is intended for MCP clients that need currency codes, exchange rates, or rate history as structured tool results. The package focuses on fiat currencies and does not handle cryptocurrencies, commodities, or arithmetic conversions on monetary amounts.

The service covers more than 160 ISO 4217 currencies. With an API key, live mid-market rates are refreshed approximately every 60 seconds. Keyless requests use available official central-bank tables instead, and responses identify the source and publication date so an agent can distinguish an official rate from a live market quote.

How it works

Install the package with npx -y @allratestoday/mcp-server, or install it globally with npm and launch allratestoday-mcp. The process runs as a stdio MCP server and waits for an MCP client to start it as a subprocess. It can also be used through AllRatesToday's hosted Streamable HTTP endpoint at https://allratestoday.com/api/mcp with clients that support remote MCP.

Set ALLRATES_API_KEY when authenticated access is required. A free key supports real-time mid-market rates and multi-target lookups; historical series, point-in-time lookups, and dated official or reference-rate tables require a paid plan. Without a key, the server remains running and provides the keyless tools and eligible official-rate data.

Keyless use requires visible attribution to AllRatesToday wherever rates are displayed. API keys should be passed through client configuration rather than embedded in shared URLs when possible.

Setup and configuration

The zero-install setup is:

Terminal
npx -y @allratestoday/mcp-server

For a global installation:

Terminal
npm install -g @allratestoday/mcp-server
allratestoday-mcp

Configure the MCP client to launch the command as a subprocess. Add ALLRATES_API_KEY to the server environment when authenticated features are needed. Claude Code can register the package with claude mcp add allratestoday -- npx -y @allratestoday/mcp-server and set the key with claude mcp env allratestoday ALLRATES_API_KEY=....

Tools and capabilities

  • get_exchange_rate returns one current source-to-target fiat rate. Authenticated use returns a mid-market rate; eligible keyless requests return an official central-bank rate.
  • get_historical_rates returns fixed windows of 1 day, 7 days, 30 days, or 1 year. Sampling is hourly, daily, daily, and weekly respectively, and each window ends at the current time.
  • get_rates_authenticated handles one source against several targets or rates at a specified past time, optionally grouped into time buckets.
  • list_currencies returns supported currency codes, names, symbols, and a count. Call it to validate input before other rate tools.
  • list_central_banks reports available institutions and publication details.
  • get_official_rates retrieves the latest official table or a selected pair.
  • get_reference_rate provides the daily reference table fixed at 16:00 London time.
  • request_trial_key issues a temporary 100-call, seven-day key for a session.

Limitations and notes

Mid-market historical data and point-in-time queries require a paid plan; free or trial keys receive an access error for those operations. Keyless exchange-rate coverage depends on pairs published by an available central bank or their inverses, and derived inverses are marked accordingly. Official central-bank rates can differ materially from mid-market rates, so the appropriate tool depends on whether the result is for market display, conversion, tax, or audit use. The server does not provide cryptocurrency support or perform arithmetic on amounts.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about MCP Server

cahthuranag/mcp-server is an MCP server that connects AI clients to the AllRatesToday foreign-exchange API. Its main tools retrieve single fiat exchange rates, fixed-window historical series, multi-target or point-in-time rates, and supported currency lists. Authenticated access provides mid-market data, while keyless access covers eligible official central-bank rates.

Install it with `npx -y @allratestoday/mcp-server` and configure your MCP client to launch that command as a stdio subprocess. You can also run `npm install -g @allratestoday/mcp-server` followed by `allratestoday-mcp`.

Set the `ALLRATES_API_KEY` environment variable in the MCP client's server configuration. A key enables authenticated real-time mid-market rates and multi-target lookups; historical and point-in-time requests require a paid plan.

Yes, it works with Cursor through MCP. Cursor can launch the package as a stdio server, and it can also connect to the hosted Streamable HTTP endpoint when remote MCP support is being used.

No, it supports fiat currency rates only and does not support cryptocurrencies, commodities, or arithmetic on amounts. Use its returned rate as structured input for amount calculations performed elsewhere.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMCP Server AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/cahthuranag-mcp-server?style=directory)](https://allmcps.com/mcp/cahthuranag-mcp-server)
HTML Embed
<a href="https://allmcps.com/mcp/cahthuranag-mcp-server"><img src="https://allmcps.com/api/badge/cahthuranag-mcp-server?style=directory" alt="MCP Server on AllMCPs" /></a>