High-performance cryptocurrency exchange integration using MCP (Model Context Protocol) and CCXT. Features - 🚀 **Exchange Support**: Connects to 20+ cryptocurrency exchanges - 🔃 **Market Types**: Supports spot, futures, swap markets and more - 🔧 **Proxy Configuration**: Options for accessing exchanges through proxies - 📊 **Fast & Reliable**: Optimized caching and rate limiting - 🌐 **MCP Standard**: Compatible with LLMs like Claude and GPT via MCP CCXT MCP Server Integration Architecture The CCXT MCP Server connects language models to cryptocurrency exchanges through the Model Context Protocol. It serves as a bridge that allows LLMs to access real-time market data and execute trading operations across multiple exchanges through a unified API. The architecture includes: - LLM clients (Claude and other MCP-compatible models) that send requests - The Model Context Protocol (MCP) that standardizes communication - The CCXT MCP Server that processes requests and manages exchange interactions - The CCXT Library that provides unified access to exchange APIs - Connections to multiple cryptocurrency exchanges CCXT MCP Server Code Architecture The server is organized into three main modules for better maintainability and extensibility: - **Exchange**: Manages exchange instances, credentials, and symbol validation - **Utils**: Provides caching, rate limiting, and logging functionality - **Tools**: Implements MCP tools and resources for exchange interaction Quick Start Installing via Smithery To install mcp-server-ccxt for Claude Desktop automatically via Smithery: NPM Package (Recommended) You can install CCXT MCP Server from npm: Or run directly: Manual Installation Alternatively, you can clone and build the repository: Configuration 1. Create an environment file 2. Edit the .env file to add your exchange API keys Usage > **Note**: If you encounter any issues with MCP communication, please see the Troubleshooting Guide for solutions. Running the Server Start the server: Using with Claude for Desktop 1. Add the server to your claude_desktop_config.json: If installed via npm (globally): If installed manually: 2. Restart Claude for Desktop Using as a Module in Another Project You can also use this package as a module in your own Node.js projects: Example Queries Here are some example queries you can use with the MCP server: - "What's the current price of Bitcoin on Binance?" - "Show me the order book for ETH/USDT on Coinbase" - "Get the 1-hour OHLCV data for BTC/USDT on Binance for the last 24 candles" - "Compare the price of SOL/USDT across different exchanges" - "What's my current balance on Binance?" (requires API keys) - "Place a market buy order for 0.1 ETH on Kraken" (requires API keys) Available Tools Public API Tools - list-exchanges: List all available cryptocurrency exchanges - get-ticker: Get current ticker information for a trading pair - batch-get-tickers: Get ticker information for multiple trading pairs at once - get-orderbook / get-order-book: Get market order book for a trading pair - get-ohlcv: Get OHLCV candlestick data for a trading pair - get-trades: Get recent trades for a trading pair - get-markets: Get all available markets for an exchange - get-exchange-info: Get exchange information and status - get-leverage-tiers: Get futures leverage tiers