# Cahthuranag MCP [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/cahthuranag/mcp-server  
**GitHub Stars:** 4  
**npm Downloads (last month):** 3636  
**Views:** 8  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/cahthuranag-mcp-server

## Description
AllRatesToday currency exchange rates: real-time mid-market rates for 160+ currencies (Reuters/Refinitiv), historical data (1d/7d/30d/1y), currency list, and multi-target lookups. Free tier, no key needed for the simple-rate endpoint. Install: npx @allratestoday/mcp-server.

## Tools
Capabilities this server exposes over MCP:

- **get_exchange_rate** — Use this when the user asks 'what is X in Y?', 'convert X to Y', 'current rate of EUR/USD', or any single fiat-to-fiat live exchange rate question. Returns the latest mid-market rate as a JSON object like { rate: 0.9234, source } meaning 1 source = 0.9234 target. Without an API key it answers from an official central-bank table instead (ECB first, else the bank that issues one of the two currencies) and says so in `note` — relay the `rate_date`; pairs no single bank publishes (or inverts) need a key. Does NOT support cryptocurrencies, commodities, or arithmetic on amounts. For multiple targets in one call use get_rates_authenticated; for a past date or fixed lookback (7d/30d/1y) use get_historical_rates.
- **get_historical_rates** — Use this for fixed-window time-series questions like 'how has EUR/USD moved this week', 'show me the last month of GBP/JPY', or 'chart 1-year history of AUD/USD'. Returns { source, target, period, data: [{ date, rate, timestamp }, ...] } — sampling is fixed per period (1d=hourly, 7d/30d=daily, 1y=weekly) and the window always ends NOW. Needs an API key on a paid plan; free and trial keys get a 403. For a specific past datetime use get_rates_authenticated with `time`. For a single live rate use get_exchange_rate.
- **get_rates_authenticated** — Use this for (a) one source against multiple targets in a single call ('USD vs EUR, GBP, JPY'), or (b) the rate at a specific past datetime ('EUR/USD at 2025-03-14T12:00Z'), optionally bucketed by hour/day/week/month. Returns { rates: [{ rate, source, target, time }, ...] } — one row per target × time bucket. Multi-target latest rates work on any key; a past datetime (`time`) needs a paid plan. For a single live pair use get_exchange_rate. For fixed lookback windows (1d/7d/30d/1y ending now) use get_historical_rates.
- **list_currencies** — Call this BEFORE other tools when you are unsure whether a currency code is supported, or when the user asks 'what currencies do you support?', 'is X a valid currency?', or 'what is the symbol for X?'. Returns { currencies: [{ code: 'USD', name: 'US Dollar', symbol: '$' }, ...], count } covering 160+ ISO 4217 fiat currencies. Does NOT include cryptocurrencies. Cheap to call (cached 24h upstream) — use it to validate user input and prevent downstream errors in get_exchange_rate / get_rates_authenticated / get_historical_rates.
- **list_central_banks** — Call this FIRST when you need a bank code, or for 'which central banks do you cover?' / 'do you have rates from X?'. Returns every covered source — 130+ central banks and tax authorities (HMRC, US Treasury, Swiss BAZG, India CBIC, Peru SUNAT) — with `code` (what get_official_rates takes as `bank`), name, latest publication date and whether it is behind schedule. No API key needed.
- **get_official_rates** — OFFICIAL rates a named institution published — 'what is the ECB rate for USD?', 'Bank of Japan rate today', 'HMRC rate for invoicing'. These are the fixed, citable rates for compliance, tax, customs and accounting — NOT live market rates (use get_exchange_rate for those). Omit `date` for the newest published table (no API key needed); give `date` (API key, paid plan) for the table in force that day — weekends/holidays roll back to the last published date and the response's `rate_date` says which. Omit source/target for the full table; give both for one pair — cross-computed inside the bank's own table when not directly published, flagged `derived`. Always cite the returned `rate_date`.
- **get_reference_rate** — AllRatesToday's once-a-day, never-revised mid-market rate: the per-currency median of samples in a five-minute window centred on 16:00 London, published each business day. Use it when the user needs ONE reproducible rate per day — index levels, return series, research datasets, month-end reports — rather than a live quote (get_exchange_rate) or an institution's official rate (get_official_rates). Omit source/target for the whole table; give both for one pair (crossed via USD, flagged `derived`). Omit `date` for the latest table (no key needed); give `date` (API key, paid plan) for a past business day. Not the WM/Refinitiv fix and not a registered benchmark — relay the disclaimer and the `rate_date`.
- **request_trial_key** — Self-issue an AllRatesToday API key with 100 lifetime calls, valid 7 days, with no account and no email. Use it when another tool answered "needs an API key" and the user wants real-time rates or history right now. The key is adopted by this server for the rest of the session and returned once — tell the user to put it in the MCP config as ALLRATES_API_KEY to keep it. Capped at 3 keys per IP per day. For a lasting key, register at https://allratestoday.com/register (free) or see https://allratestoday.com/pricing.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "cahthuranag-mcp": {
    "command": "npx",
    "args": ["-y","@allratestoday/mcp-server"],
    "env": {
      "ALLRATES_API_KEY": ""
    }
  }
}
```

**Requires environment variables:** `ALLRATES_API_KEY` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## 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:

```bash
npx -y @allratestoday/mcp-server
```

For a global installation:

```bash
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.

_Full upstream README: https://allmcps.com/mcp/cahthuranag-mcp-server/readme_

