CCXT
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
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
Maintainer
Works with
Installation
NPM
npx -y @mcpfun/mcp-server-ccxtManual Installation
npx -y @mcpfun/mcp-server-ccxtConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
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)
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-ccxtGather 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.
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"
}
}
}
}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.
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.
CCXT Alternatives — Similar Finance & Fintech Servers
Looking for alternatives to CCXT? Here are other popular finance & fintech servers you can use with Claude, Cursor, and VS Code.
ValueCell
★ 10.7kValueCell is a community-driven, multi-agent platform for financial applications.
Vibe Trading
★ 8.1k'Vibe-Trading: Your Personal Trading Agent'
Quantdinger
★ 6.2kAI quantitative trading platform for crypto, stocks, and forex with backtesting, live trading, market data, and multi-agent research.vibe-trading ,trading-agents,ai-trader,ai-trading
TradingView
★ 2.8kReal-time crypto & stock screening, advanced technical indicators, Bollinger Bands intelligence, candlestick patterns + native Claude Desktop integration. Multi-exchange (Binance, KuCoin, Bybit+). Open-source AI trading infrastructure.
Financial Datasets
★ 2.1kProvides access to comprehensive financial data including income statements, balance sheets, cash flow statements, stock prices, company news, SEC filings, and cryptocurrency information with built-in financial ratio analysis.
Stripe
★ 1.6kThe Stripe Model Context Protocol server allows you to integrate with Stripe APIs through function calling. This protocol supports various tools to interact with different Stripe services.
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.
Set Up CCXT in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
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.