How to integrate Currencyapi MCP with Atomic Agent

Connect Atomic Agent to Currencyapi MCP. Get today's usd to eur exchange rate, convert 1,000 usd into japanese yen, and more using natural language, with authentication handled for you.

Currencyapi logoCurrencyapi
Api Key

Currencyapi is an exchange-rate service for current, historical, and official currency data. It also provides currency and country metadata for accurate financial workflows.

15 Tools

Introduction

Atomic Agent is an open-source AI agent that runs on your machine and supports local models through llama.cpp. Connect it to 1,700+ apps through Composio, including Currencyapi.

This guide uses Atomic Agent's built-in Composio integration. You need Atomic Agent v0.5.6 or later, your own Composio API key, and a Currencyapi account. See the Atomic Agent documentation for installation instructions.

For exact tool slugs and parameter tables, see the tool catalog in the Composio docs.

Also integrate Currencyapi with

How Atomic Agent connects to Currencyapi

Atomic Agent connects to Composio's Tool Router over Streamable HTTP MCP. It discovers the tools needed for your request, and Composio handles account authentication.

Execution and account-connection tools follow Atomic Agent's configured approval policy. Review any approval prompt before allowing an action on your connected account.

Connect Currencyapi to Atomic Agent

  1. Sign up or sign in to the Composio dashboard. Copy your API key.
  2. In Atomic Agent, open the Integrations tab and select Composio. Select API key, press e, paste the key, and press Enter. The tools become available immediately, without a restart.
  3. Ask Atomic Agent to do something in Currencyapi. It searches Composio for the right tool.
  4. On first use, open the sign-in link returned in the chat. Connect your Currencyapi account, then return to Atomic Agent to continue.

Headless setup

Add the following line to ~/.atomic-agent/.env, replacing YOUR_COMPOSIO_API_KEY with your key. Start Atomic Agent after saving the file.

bash
COMPOSIO_API_KEY=YOUR_COMPOSIO_API_KEY

What is the Currencyapi MCP server, and what's possible with it?

The Currencyapi MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Currencyapi account. It provides structured and secure access to exchange rates, official central-bank rates, currency data, and country metadata, so your agent can convert amounts, compare rates, analyze fluctuations, and look up supported currencies and countries on your behalf.

  • Currency conversion and pair rates: Have your agent convert one or multiple amounts between currencies, retrieve a specific currency pair rate, and include historical rates or locale formatting when needed.
  • Market rate analysis: Let the agent retrieve current or historical exchange rates, build rate matrices, inspect OHLC data, and review rate ranges across selected dates and times.
  • Fluctuation and trend reporting: Direct your agent to compare rates between two dates and summarize the starting rate, ending rate, percentage change, high, low, and average.
  • Official central-bank rates: Instruct your agent to find official sources, retrieve current or dated official rates, compare central-bank publications, and review official rates across a date range.
  • Currency and country reference data: Have your agent list supported currencies and countries, including symbols, precision, languages, time zones, calling codes, and related currency details.

Use Currencyapi from Atomic Agent

With your account connected, ask Atomic Agent to work with Currencyapi in natural language. You can connect more apps through the same Composio integration as you need them.

Visit the Atomic Agent website or inspect the Atomic Agent source code.

Troubleshooting

Why is my API key rejected?

Copy the key directly from the Composio dashboard. Atomic Agent requires ASCII characters because it sends the key in an HTTP header. Remove any extra characters introduced when copying.

Why are Composio tools unavailable after saving a key?

Check that you use Atomic Agent v0.5.6 or later and that Composio is enabled in your configuration. A "composio": { "enabled": false } setting disables the integration while keeping the saved key on disk.

Does Composio have a free plan?

The Hobby plan includes 100,000 tool calls per month. Composio-managed OAuth apps have a lower included allowance. See Composio pricing for the current limits that apply to your connection.

TOOLS

Supported Tools

Every Currencyapi action and event your agent gets out of the box.

Compare Official Rates

Compare one currency pair across selected or all available central-bank sources for a requested date, or across their newest publications.

Convert Amounts

Convert one amount or up to 100 amounts from a base currency into selected currencies, optionally using historical rates, retail rounding, and locale formatting.

Get Account Status

Return the connected account identifier, monthly quota, and plan details when present, without consuming quota.

Get Average Rates

Return average, minimum, and maximum exchange rates grouped by month, quarter, year, or the total requested date span.

Get Exchange Rates

Return latest rates when no date is supplied, or end-of-day rates for one historical date or up to 31 historical dates.

Get Official Rate Range

Return a central bank's official publications across a date range as structured JSON.

Get Official Rates

Return a central bank's latest or dated official publication, optionally compared with market rates.

Get OHLC Rates

Return hourly or daily open, high, low, and close candles for one to 10 currencies.

Get Pair Rate

Return one currency pair's latest rate at the account plan's update interval, a past daily close, or an intraday historical rate, together with its inverse.

Get Rate Fluctuation

Return start, end, change, percentage change, high, low, and average rates between two UTC dates.

Get Rate Matrix

Return latest or daily historical cross-rates among 2 to 25 currencies.

Get Rate Range

Return market exchange rates over a bounded datetime range.

List Countries

List countries with currency, language, timezone, calling-code, and ISO metadata.

List Currencies

List supported fiat currencies, metals, and cryptocurrencies with symbols, precision, and country metadata.

List Official Sources

List central banks and publication metadata, optionally filtered by currency or region.

FAQ

Frequently asked questions

Start with Currencyapi.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Currencyapi tool your agent needs.Free to start.

Start building