CCXT

v1.2.1Finance & Fintechstable

CCXT MCP Server bridges the gap between AI models and cryptocurrency trading by providing a standardized interface through the Model Context Protocol. Created to empower automated trading strategies, this tool allows AI assistants like Claude and GPT

cryptocurrencyexchangeccxttradingllm
Share:
139
Stars
0
Downloads
0
Weekly
0/5

What is CCXT?

CCXT is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to ccxt mcp server bridges the gap between ai models and cryptocurrency trading by providing a standardized interface through the model context protocol. created to empower automated trading strategies, ...

CCXT MCP Server bridges the gap between AI models and cryptocurrency trading by providing a standardized interface through the Model Context Protocol. Created to empower automated trading strategies, this tool allows AI assistants like Claude and GPT

This server falls under the Finance & Fintech category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • CCXT MCP Server bridges the gap between AI models and crypto

Use Cases

Execute automated trading strategies across multiple cryptocurrency exchanges.
Access standardized market data and trading interfaces through AI models.
doggybee

Maintainer

LicenseMIT License
Languagetypescript
Versionv1.2.1
UpdatedMay 17, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

NPM

npx -y @mcpfun/mcp-server-ccxt

Manual Installation

npx -y @mcpfun/mcp-server-ccxt

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use CCXT

The CCXT MCP Server bridges AI assistants and 100+ cryptocurrency exchanges using the battle-tested CCXT library, exposing market data, order management, and account operations through the Model Context Protocol. It lets Claude, GPT, and other AI clients fetch real-time prices, OHLCV candlestick data, and order books, as well as place and cancel orders on exchanges like Binance and KuCoin — all through natural language. This makes it a powerful tool for building AI-driven trading strategies, portfolio monitoring bots, and automated market analysis workflows.

Prerequisites

  • Node.js 18+ installed
  • API keys for the cryptocurrency exchange(s) you want to trade on (e.g., BINANCE_API_KEY / BINANCE_SECRET for Binance)
  • An MCP-compatible client such as Claude Desktop or Cursor
  • Exchange API keys must have the appropriate permissions (read-only for market data; trading permissions for order placement)
1

Install the CCXT MCP Server globally

Install the npm package globally so it is available as a command-line binary for your MCP client to launch.

npm install -g @mcpfun/mcp-server-ccxt
2

Gather your exchange API credentials

Log in to each exchange you want to use (e.g., Binance, KuCoin) and generate API keys. For read-only market data you only need a key/secret; for trading you also need the trading permission enabled. KuCoin additionally requires a passphrase.

3

Add the server to your MCP client configuration

Edit claude_desktop_config.json to register the server. Provide your exchange credentials as environment variables. Set DEFAULT_EXCHANGE to your primary exchange.

{
  "mcpServers": {
    "ccxt": {
      "command": "mcp-server-ccxt",
      "args": [],
      "env": {
        "DEFAULT_EXCHANGE": "binance",
        "DEFAULT_MARKET_TYPE": "spot",
        "BINANCE_API_KEY": "your-binance-api-key",
        "BINANCE_SECRET": "your-binance-secret"
      }
    }
  }
}
4

Restart your MCP client

Quit and relaunch Claude Desktop (or reload the server list). The CCXT tools for market data, trading, and account management should appear.

5

Test with a market data query

Start with a read-only query to verify connectivity before attempting any order placement.

CCXT Examples

Client configuration

claude_desktop_config.json configuration for the CCXT MCP server connecting to Binance and KuCoin.

{
  "mcpServers": {
    "ccxt": {
      "command": "mcp-server-ccxt",
      "args": [],
      "env": {
        "DEFAULT_EXCHANGE": "binance",
        "DEFAULT_MARKET_TYPE": "spot",
        "BINANCE_API_KEY": "your-binance-api-key",
        "BINANCE_SECRET": "your-binance-secret",
        "KUCOIN_API_KEY": "your-kucoin-api-key",
        "KUCOIN_SECRET": "your-kucoin-secret",
        "KUCOIN_PASSPHRASE": "your-kucoin-passphrase"
      }
    }
  }
}

Prompts to try

Natural-language prompts demonstrating market data queries, order placement, and account management.

- "What is the current Bitcoin price on Binance?"
- "Fetch the 1-hour OHLCV candles for ETH/USDT on Binance for the last 48 candles"
- "Show me the order book depth for BTC/USDT on KuCoin"
- "What is my current USDT balance on Binance?"
- "Place a limit buy order for 0.001 BTC at $60,000 on Binance"

Troubleshooting CCXT

Authentication error when connecting to the exchange

Double-check that BINANCE_API_KEY and BINANCE_SECRET (or equivalent for your exchange) are correctly set in the env block. Ensure there are no trailing spaces and that the API key has not been revoked. For KuCoin, the KUCOIN_PASSPHRASE must also match exactly what was set when the key was created.

Order placement fails with 'insufficient funds' or permission error

Verify the API key has trading permissions enabled on the exchange dashboard (not just read-only). For margin/futures trading, also ensure DEFAULT_MARKET_TYPE is set correctly (e.g., `futures`) and that you have sufficient margin in your futures wallet.

mcp-server-ccxt command not found after npm install

Ensure npm's global bin directory is on your PATH. Run `npm bin -g` to find the directory, then add it to your shell profile. Alternatively, use `npx -y @mcpfun/mcp-server-ccxt` as the command in your MCP config.

Frequently Asked Questions about CCXT

What is CCXT?

CCXT is a Model Context Protocol (MCP) server that ccxt mcp server bridges the gap between ai models and cryptocurrency trading by providing a standardized interface through the model context protocol. created to empower automated trading strategies, this tool allows ai assistants like claude and gpt It connects AI assistants to external tools and data sources through a standardized interface.

How do I install CCXT?

Install via npm with the command: npx -y @mcpfun/mcp-server-ccxt. Then add the server configuration to your AI client's JSON config file (e.g., claude_desktop_config.json or .cursor/mcp.json).

Which AI clients work with CCXT?

CCXT works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is CCXT free to use?

Yes, CCXT is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.

Browse More Finance & Fintech MCP Servers

Explore all finance & fintech servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "ccxt-mcp-server": { "command": "npx", "args": ["-y", "@mcpfun/mcp-server-ccxt"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use CCXT?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides