> ## Documentation Index
> Fetch the complete documentation index at: https://www.fastforex.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# MCP Server

> MCP Server for Realtime and Historical Currency Data

You can now give Codex / ChatGPT / Claude / Gemini etc. (any Agent/AI/LLM that supports the Model Context Protocol standard) access to all the same top-grade Currency & FX data you access via our APIs.

The 7-day free trial and all our paid plans include access to your subscription via our remote MCP Servers.

**Make sure you sign up for an account at [https://console.fastforex.io](https://console.fastforex.io)**

## Adding MCP Servers

* [OpenAI Codex](https://developers.openai.com/codex/mcp/)
* [ChatGPT](https://platform.openai.com/docs/guides/developer-mode)
* [Claude Desktop](https://support.claude.com/en/articles/11175166-getting-started-with-custom-connectors-using-remote-mcp)
* [Claude Code](https://code.claude.com/docs/en/mcp#option-1%3A-add-a-remote-http-server)
* [Google Gemini CLI](https://geminicli.com/docs/tools/mcp-server/#how-to-set-up-your-mcp-server)
* [OpenCode](https://opencode.ai/docs/mcp-servers/#remote)
* [Cursor](https://cursor.com/docs/context/mcp)

## Remote MCP URL

To connect to our remote MCP server, use the following URL - and authorize via the OAuth flow triggered by your LLM.
`https://mcp.fastforex.io/mcp`

Or, if you want to embed an API key in the MCP server URL
`https://mcp.fastforex.io/mcp?api_key=XXX`

## Tools

Your LLM will explore the MCP server and automatically discover the tools (endpoints) available to it.

Here is a summary of each MCP Tool. You can read more about each endpoint in our API documentation.

### Currency / Exchange Rate

* `exchange_rate` Get the current exchange rate for a currency pair (e.g. EUR -> USD)
* `fetch_all` Get all the latest exchange rates for a base currency (e.g. all exchange rates for EUR)
* `fetch_multi`
* `fetch_many_to_one`
* `fetch_matrix`
* `convert` Convert an amount from one currency to another
* `historical` Get the historical exchange rate for a currency pair at a specific date
* `time_series` Get the historical daily exchange rates for a currency pair over a date range (e.g. daily exchange rates for EUR -> USD from Jan 1, 2024 to Jan 31, 2024)
* `currencies` List the available currencies (symbols, names)

### Crypto

* `crypto_currencies`
* `crypto_pairs`
* `crypto_fetch_prices` Get the latest realtime price for a crypto pair (e.g. BTCUSDT)

### FX Pairs

* `fx_pairs` List the available FX pairs
* `fx_quote` Get the latest realtime bid/ask price for an FX pair (e.g. EURUSD)
* `fx_quote_time_series` Get a time series of bid/ask prices for an FX pair over a time range (minute/hourly/daily)
* `fx_ohlc_time_series` Get a time series of OHLC (open/high/low/close) price data for an FX pair over a time range (minute/hourly/daily)
* `fx_pairs_historical_limits`
* `fx_pairs_quote_sizes`
* `fx_currencies`
