data
ExchangeRate MCP, CLI, and Lua Integration for AI Agents
ExchangeRate integration docs for AI agents: MCP gateway setup, ExchangeRate CLI commands, Lua API reference, credentials, and function schemas.ExchangeRate for agents
No credentials required; available in web and CLI hosts when runtime dependencies are installed.
Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.
Agent Surfaces
Machine-Readable Metadata
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
exchangerate.exchangerate_list_currencies | Read read | 1 | List all available currencies (fiat, crypto, precious metals, stablecoins). Supports 340+ assets. Optionally filter by name or code. |
exchangerate.exchangerate_popular_currencies | Read read | 0 | Show the most commonly used currency codes (no API call needed). Use these codes directly with exchangerate_convert_currency. Popular codes: {$popular} |
exchangerate.exchangerate_convert_currency | Read read | 4 | Convert an amount from one currency to another. Supports 340 fiat currencies, cryptocurrencies, and precious metals. Common codes: usd, eur, gbp, jpy, cny, chf, cad, aud, btc, eth, sol, xau, xag. |
exchangerate.exchangerate_pair_rate | Read read | 3 | Get the direct exchange rate for one currency pair using the upstream pair endpoint. Supports latest and historical dates. |
exchangerate.exchangerate_rates | Read read | 3 | Get all exchange rates for a base currency. Optionally filter to specific target currencies. Supports 340 fiat currencies, cryptocurrencies, and precious metals. |
exchangerate.exchangerate_history | Read read | 3 | Compare a currency pair across multiple dates to see rate changes over time. Returns each date's rate and the overall change. |