fx-rate-mcp

v1.0.0
fx-rate-mcp Checked 1 day ago Published 1 month ago

MCP server for real-time exchange rates using open.er-api.com

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_exchange_rate Get exchange rate

Get the current exchange rate for 1 unit of `from` expressed in `to` (open.er-api.com; no API key). Data refreshes about once a day at the provider and is cached locally for 5 minutes; the response includes the provider's update time. Reference values only, not for trading.

ParameterTypeDescription
from *stringSource currency code, 3-letter ISO 4217 (case-insensitive), e.g. USD, JPY, EUR
to *stringTarget currency code, 3-letter ISO 4217 (case-insensitive), e.g. USD, JPY, EUR

convert_currency Convert currency

Convert a non-negative amount from one currency to another using the latest cached daily rate (open.er-api.com). Output uses the target currency's standard decimal places and includes the rate and data update time. Reference values only, not for trading.

ParameterTypeDescription
amount *numberAmount to convert in the source currency (non-negative number)
from *stringSource currency code, 3-letter ISO 4217 (case-insensitive), e.g. USD, JPY, EUR
to *stringTarget currency code, 3-letter ISO 4217 (case-insensitive), e.g. USD, JPY, EUR

list_currencies List currencies

List every currency code the rate provider supports (about 160) with its English name. Use it to check which codes are valid for get_exchange_rate and convert_currency.