mcp

v1.1.1
@rate-api/mcp Checked 2 days ago Published 2 months ago

Model 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).

ParameterTypeDescription
basestringBase currency ISO code (e.g. USD, EUR). Defaults to USD.
symbolsstringComma-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.

ParameterTypeDescription
amount *numberAmount to convert (positive number).
from *stringSource currency ISO code (e.g. USD).
to *stringTarget 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.

ParameterTypeDescription
from *stringSource currency ISO code.
to *stringTarget currency ISO code.
amountnumberAmount to convert (default 1).
precisionintegerDecimal places (2–6, default 4).

get_historical_rates

Get exchange rates for a specific past date (YYYY-MM-DD). Requires Pro plan or higher.

ParameterTypeDescription
date *stringDate in YYYY-MM-DD format.
basestringBase currency ISO code (default USD).
symbolsstringComma-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.

ParameterTypeDescription
end_date *stringLast date in YYYY-MM-DD format (not before start_date).
start_date *stringFirst date in YYYY-MM-DD format.
basestringBase currency ISO code (default USD).
symbolsstringComma-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.

ParameterTypeDescription
end_date *stringEnd date in YYYY-MM-DD format (not before start_date).
start_date *stringStart date in YYYY-MM-DD format.
basestringBase currency ISO code (default USD).
symbolsstringComma-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.

ParameterTypeDescription
symbolsstringComma-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.

ParameterTypeDescription
symbolsstringComma-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.

ParameterTypeDescription
symbolsstringComma-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.

ParameterTypeDescription
direction *stringFire when the rate goes above or below the threshold.
from *stringSource currency ISO code (e.g. USD).
threshold *numberRate threshold (positive number).
to *stringTarget currency ISO code (e.g. EUR).
notify_urlstringOptional 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.

ParameterTypeDescription
id *integerThe 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.