MCP Directory

CCXT MCP Server

Community server bridging LLMs to 100+ crypto exchanges via the CCXT library for data and trading.

Verified
stdio (local)
API key
Stale
TypeScript

Add to your client

Copy the config for your MCP client and paste it into its config file.

Install / run
npx -y @mcpfun/mcp-server-ccxt

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "ccxt-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@mcpfun/mcp-server-ccxt"
      ],
      "env": {
        "BINANCE_SECRET": "<your-binance-secret>",
        "BINANCE_API_KEY": "<your-binance-api-key>",
        "DEFAULT_EXCHANGE": "binance"
      }
    }
  }
}

Step-by-step guides: Add to Claude Desktop · Add to Cursor · Add to Windsurf

Before you start

  • Node.js (install via npm/npx)
  • Exchange API keys only if you want to trade or read private account data — public market data needs none
  • Per-exchange credentials set as environment variables, e.g. `BINANCE_API_KEY` / `BINANCE_SECRET`, or `KUCOIN_API_KEY` / `KUCOIN_SECRET` / `KUCOIN_PASSPHRASE` for exchanges that require a passphrase
  • An MCP-compatible client (Claude Desktop, Cursor, etc.)

About CCXT MCP Server

CCXT MCP Server is a community-built Model Context Protocol server that bridges LLMs to cryptocurrency exchanges using the popular CCXT library. It gives AI assistants a unified interface for fetching real-time market data and executing trades across many exchanges.

The README states it connects to 20+ cryptocurrency exchanges (Binance, Coinbase, Kraken, KuCoin, and others), covering spot, futures, and swap markets. Public market-data tools work without credentials; trading tools require per-exchange API keys.

It's engineered for production use with LRU caching at tuned TTLs (e.g. ticker ~10s, orderbook ~5s, markets ~1h), adaptive rate limiting with exponential backoff, and optional proxy configuration to keep requests reliable under load.

Tools & capabilities (12)

list-exchanges

List supported/available exchanges

get-ticker

Get the latest ticker for a symbol

batch-get-tickers

Fetch tickers for multiple symbols at once

get-orderbook

Retrieve the order book for a market

get-ohlcv

Fetch OHLCV candlestick data

get-funding-rates

Get perpetual funding rates

account-balance

Read account balances (requires API keys)

place-market-order

Place a spot market order

place-limit-order

Place a spot limit order

place-futures-limit-order

Place a futures limit order

set-leverage

Set leverage for a futures position

cancel-all-orders

Cancel all open orders on an exchange

When to use it

  • You want one unified interface to pull tickers, order books, and OHLCV across many crypto exchanges
  • You're building an AI agent that analyzes spot and futures market data in real time
  • You want to place and cancel spot or futures orders on an exchange via natural language
  • You need funding rates, leverage tiers, or positions data for perpetuals
  • You want exchange data without writing per-exchange API integration code
  • You need caching and rate-limit handling so frequent LLM queries don't get throttled

Quick setup

  1. 1Run the server with `npx @mcpfun/mcp-server-ccxt` (or install globally with npm)
  2. 2For trading, gather API keys from each exchange you'll use
  3. 3Set per-exchange env vars like `BINANCE_API_KEY` and `BINANCE_SECRET` (add a passphrase var where required)
  4. 4Add the server to your MCP client config with the npx command and env block
  5. 5Restart your MCP client and confirm the CCXT tools load
  6. 6Verify by listing exchanges or fetching a ticker

Security notes

Exchange API keys with trading/withdrawal permissions can move real funds; create keys without withdrawal rights and IP-restrict them. Use read-only keys if you only need market data.

CCXT MCP Server FAQ

How many exchanges does it support?

The README states it connects to 20+ cryptocurrency exchanges via CCXT, including Binance, Coinbase, Kraken, and KuCoin. CCXT itself supports many more, but this server documents 20+.

Do I need API keys to use it?

Not for public market data (tickers, order books, OHLCV). API keys are only required for private/trading tools like balances and placing orders.

Is it official?

No. It's a community project (published as @mcpfun/mcp-server-ccxt) built on top of the open-source CCXT library, not maintained by any single exchange.

How are credentials configured?

Through environment variables named per exchange, e.g. `BINANCE_API_KEY`/`BINANCE_SECRET`; some exchanges like KuCoin also require a `KUCOIN_PASSPHRASE`.

Can it trade futures and use leverage?

Yes. It includes futures order tools (place-futures-market-order, place-futures-limit-order) plus set-leverage and set-margin-mode.

Alternatives to CCXT MCP Server

Compare all alternatives →

Official Stripe server for payments, customers, subscriptions, invoices, and billing via natural language.

Featured
Verified
stdio (local)
API key
TypeScript
12 tools
Updated 1 month agoRepo

Coinbase's AgentKit MCP extension for onchain actions: transfers, swaps, and contract calls.

Verified
stdio (local)
API key
TypeScript
9 tools
Updated 1 month agoRepo

Alpaca's official trading server for stocks, ETFs, options, and crypto in plain English.

Verified
stdio (local)
API key
Python
12 tools
Updated 26 days agoRepo