UniRateAPI MCP server for AI agents and assistants

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with UniRateAPI MCP or direct API to check exchange rates, convert currencies, retrieve VAT and IBAN data, and query market calendars and macroeconomic indicators through natural language.

UniRateAPI logoUniRateAPI
Api Key

UniRateAPI is a read-only financial data API for exchange rates, currency conversion, VAT, IBAN, and market data. It provides current, structured financial information through a single API.

26 Tools

Try UniRateAPI now

Type what you want done — sign in and watch it run live in the Tool Router playground.

TOOL ROUTER PLAYGROUND
UniRateAPI
Try asking
TOOLS

Supported Tools

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

Check Business Day

Check whether a date is a business day in a country or currency settlement calendar and return the neighboring business days.

Convert Commodity

Convert an amount between commodities and currencies, or convert to all supported commodities when target_symbol is omitted.

Convert Currency

Convert an amount from one currency to one required target currency using the current exchange rate.

Get Commodity Rates

Get live commodity rates and converted values for one target commodity, or for all supported commodities when target_symbol is omitted.

Get Current Exchange Rates

Get the current exchange rate and converted value for one target currency, or rates and values for all supported targets when target_currency is omitted.

Get Exchange Holidays

Get an exchange's weekday closures, early closes, and late opens for one year.

Get Exchange Schedule

Get an exchange's schedule and trading-day status for a date, or its live open status when date is omitted.

Get FX Value Date

Get a reference FX spot settlement date for a currency pair and trade date using the applicable currency calendars.

Get Historical Commodity Rates (Pro)

Pro subscription required.

Get Historical Commodity Timeseries (Pro)

Pro subscription required.

Get Historical Currency Limits

Get the earliest and latest available historical-data dates for each currency.

Get Historical Exchange Rates

Get exchange rates and optional amount conversions for one historical date.

Get Historical Currency Timeseries

Get historical currency values over a date range of at most five years.

Get Current Inflation

Get the latest BIS year-on-year CPI inflation for up to 50 selected codes or every live series across roughly 65 economies.

Get Inflation History

Get monthly BIS year-on-year CPI inflation history for one country or currency code over an optional month or date range.

Get Current Policy Rates

Get the latest BIS central-bank policy rates for up to 50 selected country or currency codes, or every live series across roughly 40 central banks.

Get Policy Rate History

Get BIS central-bank policy-rate changes for one country or currency code over an optional date range.

Get Public Holidays

Get reference holiday dates for a country or currency settlement calendar for a year, optionally narrowed to a country subdivision.

Get VAT Rates

Get current VAT rates for one country or all covered countries when country_code is omitted.

Get VAT Registry Status

Get current availability and country coverage for the official registries used by UniRateAPI VAT validation.

List Holiday Calendars

List supported public-holiday countries and subdivisions plus supported currency settlement calendars.

List Commodity Symbols

List all 19 commodity symbols supported by UniRateAPI, including each commodity's name and unit.

List Supported Currencies

List every fiat and cryptocurrency code supported by UniRateAPI.

List Exchange Calendars

List stock and futures exchange calendars supported by UniRateAPI, including their MIC codes and holiday-data coverage.

Validate IBAN

Check an IBAN's structure and checksum, normalize its format, and return parsed country and banking components.

Validate VAT Number (Pro)

Pro subscription required.

SETUP GUIDE

Connect UniRateAPI MCP Tool with your Agent

1

Install Composio

typescript
npm install @composio/core ai @ai-sdk/mcp @ai-sdk/openai
Install the Composio SDK and your agent framework
2

Create a session with MCP enabled

typescript
import { Composio } from "@composio/core";

const composio = new Composio();
const { mcp } = await composio.create("your-user-id", {
  toolkits: ["unirateapi"],
  mcp: true,
});
Create a session scoped to UniRateAPI and read its MCP URL and headers
3

Connect your agent to the MCP server

typescript
import { createMCPClient } from "@ai-sdk/mcp";
import { openai } from "@ai-sdk/openai";
import { generateText, stepCountIs } from "ai";

const client = await createMCPClient({
  transport: { type: "http", url: mcp.url, headers: mcp.headers },
});

const { text } = await generateText({
  model: openai("gpt-5.6-sol"),
  tools: await client.tools(),
  prompt: "Get the current EUR to USD exchange rate and convert 1,000 EUR to USD",
  stopWhen: stepCountIs(10),
});

console.log(text);
await client.close();
Pass the session's MCP URL and headers to your agent and run a UniRateAPI request
SETUP GUIDE

Connect UniRateAPI API Tool with your Agent

1

Install Composio

typescript
npm install @composio/core @composio/openai openai
Install the Composio SDK, the OpenAI provider, and the OpenAI SDK
2

Create a Composio session

typescript
import OpenAI from "openai";
import { Composio } from "@composio/core";
import { OpenAIResponsesProvider } from "@composio/openai";

const composio = new Composio({ provider: new OpenAIResponsesProvider() });
const client = new OpenAI();

const session = await composio.create("your-user-id", { toolkits: ["unirateapi"] });
const tools = await session.tools();
Initialize Composio with the OpenAI Responses provider and create a session scoped to UniRateAPI
3

Run UniRateAPI tools with your agent

typescript
let response = await client.responses.create({
  model: "gpt-5.6-sol",
  tools,
  input: [{ role: "user", content: "Get the current EUR to USD exchange rate and convert 1,000 EUR to USD" }],
});

while (response.output.some((o) => o.type === "function_call")) {
  const outputs = await composio.provider.handleToolCalls(session, response.output);
  response = await client.responses.create({
    model: "gpt-5.6-sol",
    tools,
    previous_response_id: response.id,
    input: outputs,
  });
}

console.log(response.output_text);
Send a request, execute the UniRateAPI tool calls through the session, and print the final answer

Why Use Composio?

AI Native UniRateAPI Integration

  • Supports both UniRateAPI MCP and direct API integrations
  • Structured, LLM-friendly schemas for reliable financial data queries
  • Read current rates, perform conversions, and query VAT, IBAN, calendar, and macroeconomic data

Secure API Key Handling

  • Connect UniRateAPI with secure API key storage instead of hard-coding credentials
  • Keep credentials separate across users, environments, and deployments
  • Composio handles secure credential storage and API request authentication

Agent Optimized Design

  • Tools are tuned using real error and success rates to improve reliability over time
  • Clear schemas help agents select the right UniRateAPI operation for each financial question
  • Comprehensive execution logs show what ran, when, and on whose behalf

Enterprise Grade Security

  • Fine-grained RBAC helps control which agents and users can access UniRateAPI
  • Scoped access keeps read-only financial data queries within approved boundaries
  • Full audit trails support review and compliance for agent activity
FRAMEWORKS

Use UniRateAPI with any AI Agent Framework

Choose a Framework you want to connect UniRateAPI with

Rolling this out across your team?

Give your team centralized access control across every framework with Composio’s MCP Gateway.

EXPLORE MCP GATEWAY
FAQ

Frequently asked questions

Start with UniRateAPI.It takes 30 seconds.

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

Start building