mcp
v1.1.1Model Context Protocol (MCP) server for the Rate-API.com exchange-rate API: gives Claude and other AI assistants currency rates, conversion, historical data…
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_latest_rates
Get the latest exchange rates for a base currency. Returns rates for all currencies (or a filtered subset).
| Parameter | Type | Description |
|---|---|---|
base | string | Base currency ISO code (e.g. USD, EUR). Defaults to USD. |
symbols | string | Comma-separated target codes to limit the result (e.g. 'EUR,GBP,JPY'). |
convert_currency
Convert an amount from one currency to another at the latest rate. Requires Pro plan or higher.
| Parameter | Type | Description |
|---|---|---|
amount * | number | Amount to convert (positive number). |
from * | string | Source currency ISO code (e.g. USD). |
to * | string | Target currency ISO code (e.g. EUR). |
get_pair_rate
Get the exchange rate for a single currency pair, with optional precision. Available on all plans; the converted amount (amount/result) is included on Pro plan or higher.
| Parameter | Type | Description |
|---|---|---|
from * | string | Source currency ISO code. |
to * | string | Target currency ISO code. |
amount | number | Amount to convert (default 1). |
precision | integer | Decimal places (2–6, default 4). |
get_historical_rates
Get exchange rates for a specific past date (YYYY-MM-DD). Requires Pro plan or higher.
| Parameter | Type | Description |
|---|---|---|
date * | string | Date in YYYY-MM-DD format. |
base | string | Base currency ISO code (default USD). |
symbols | string | Comma-separated target codes to filter. |
get_timeseries_rates
Get daily exchange rates for every day between two dates (YYYY-MM-DD, range of at most 366 days), keyed by date. Days without published data are omitted. Pass symbols to keep the response small. Requires Business plan or higher.
| Parameter | Type | Description |
|---|---|---|
end_date * | string | Last date in YYYY-MM-DD format (not before start_date). |
start_date * | string | First date in YYYY-MM-DD format. |
base | string | Base currency ISO code (default USD). |
symbols | string | Comma-separated target codes to filter (e.g. 'EUR,GBP'). Omit for all currencies. |
get_rate_fluctuation
Get how exchange rates moved between two dates (YYYY-MM-DD, range of at most 366 days): start rate, end rate, absolute change and percent change per currency. Requires Business plan or higher.
| Parameter | Type | Description |
|---|---|---|
end_date * | string | End date in YYYY-MM-DD format (not before start_date). |
start_date * | string | Start date in YYYY-MM-DD format. |
base | string | Base currency ISO code (default USD). |
symbols | string | Comma-separated target codes to filter (e.g. 'EUR,GBP'). Omit for all currencies. |
get_crypto_rates
Get cryptocurrency prices in USD (top coins). Requires Pro plan or higher.
| Parameter | Type | Description |
|---|---|---|
symbols | string | Comma-separated crypto symbols (e.g. 'BTC,ETH,SOL'). Omit for all tracked coins. |
get_stock_prices
Get the latest closing prices for tracked equities, in USD. End-of-day and indicative, not exchange-licensed and not for trading. Requires Pro plan or higher.
| Parameter | Type | Description |
|---|---|---|
symbols | string | Comma-separated tickers (e.g. 'AAPL,MSFT,NVDA'). Omit for all tracked companies. |
get_metal_prices
Get precious-metal prices per troy ounce in USD: gold (XAU), silver (XAG), platinum (XPT), palladium (XPD). Requires Pro plan or higher.
| Parameter | Type | Description |
|---|---|---|
symbols | string | Comma-separated metal codes (e.g. 'XAU,XAG'). Omit for all four. |
get_key_status
Confirm the API key works and report the API status and version. Use get_usage to see the key's plan.
list_currencies
List all supported currencies (codes and names).
get_usage
Get this API key's plan and current-month usage against its quota (used, limit, remaining, reset date).
get_quota
Get a lean view of the plan quota and remaining requests for this API key.
list_rate_alerts
List the rate alerts configured on this API key. Requires Business plan or higher.
create_rate_alert
Create a rate alert that fires (by email and optional webhook) when a pair crosses a threshold. Requires Business plan or higher.
| Parameter | Type | Description |
|---|---|---|
direction * | string | Fire when the rate goes above or below the threshold. |
from * | string | Source currency ISO code (e.g. USD). |
threshold * | number | Rate threshold (positive number). |
to * | string | Target currency ISO code (e.g. EUR). |
notify_url | string | Optional public https URL to receive a signed webhook when the alert fires. |
delete_rate_alert
Delete a rate alert by its id. Requires Business plan or higher.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The alert id to delete. |
get_api_status
Get Rate-API service status and rate-data freshness (currency count, last update, age). No API key required.