by doggybee
Experience high-performance CCXT MCP server for seamless cryptocurrency exchange integration.
β 130
GitHub stars
Connects to 20+ cryptocurrency exchanges through CCXT to fetch real-time market data like prices, order books, and trading history. Provides a unified interface for accessing crypto market information across multiple exchanges.
CCXT is a community-built MCP server published by doggybee that provides AI assistants with tools and capabilities via the Model Context Protocol. Experience high-performance CCXT MCP server for seamless cryptocurrency exchange integration. It is categorized under finance. This server exposes 24 tools that AI clients can invoke during conversations and coding sessions.
You can install CCXT in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport. This server supports remote connections over HTTP, so no local installation is required.
MIT
CCXT is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.
Add new capabilities to Claude beyond text generation
Example
Access external data sources, execute code, interact with tools and services
Transform Claude from chatbot to action-taking agent
Provide Claude with access to relevant context and data
Example
Load project documentation, access knowledge bases, query databases
Get more accurate, context-aware responses
Automate multi-step workflows combining AI and external tools
Example
Research β Summarize β Create document β Send notification
Complete complex tasks end-to-end without manual steps
Share your MCP server with the developer community
According to our notes, CCXT benefits from clear Model Context Protocol framing β fewer ambiguous βAI pluginβ claims.
CCXT is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.
Strong directory entry: CCXT surfaces stars and publisher context so we could sanity-check maintenance before adopting.
CCXT is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.
Useful MCP listing: CCXT is the kind of server we cite when onboarding engineers to host + tool permissions.
We wired CCXT into a staging workspace; the listingβs GitHub and npm pointers saved time versus hunting across READMEs.
CCXT reduced integration guesswork β categories and install configs on the listing matched the upstream repo.
Strong directory entry: CCXT surfaces stars and publisher context so we could sanity-check maintenance before adopting.
I recommend CCXT for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.
We evaluated CCXT against two servers with overlapping tools; this profile had the clearer scope statement.
showing 1-10 of 39
High-performance cryptocurrency exchange integration using MCP (Model Context Protocol) and CCXT.
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:
The server is organized into three main modules for better maintainability and extensibility:
To install mcp-server-ccxt for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @doggybee/mcp-server-ccxt --client claude
You can install CCXT MCP Server from npm:
# Install globally
npm install -g @mcpfun/mcp-server-ccxt
# Start the server
mcp-server-ccxt
Or run directly:
npx @mcpfun/mcp-server-ccxt
Alternatively, you can clone and build the repository:
# Clone the repository
git clone https://github.com/doggybee/mcp-server-ccxt.git
cd mcp-server-ccxt
# Install dependencies
npm install
# Build the server
npm run build
# Start the server
npm start
Create an environment file
cp .env.example .env
Edit the .env file to add your exchange API keys
# Default exchange (optional)
DEFAULT_EXCHANGE=binance
# Default market type (optional)
DEFAULT_MARKET_TYPE=spot
# API credentials (optional)
BINANCE_API_KEY=your_api_key
BINANCE_SECRET=your_api_secret
# For exchanges requiring passphrase (e.g., KuCoin)
KUCOIN_API_KEY=your_kucoin_api_key
KUCOIN_SECRET=your_kucoin_secret
KUCOIN_PASSPHRASE=your_kucoin_passphrase
# Proxy configuration (optional)
USE_PROXY=false
PROXY_URL=http://username:password@your-proxy-server:port
# Legacy format (still supported but recommended to use the integrated URL format above)
# PROXY_USERNAME=
# PROXY_PASSWORD=
Note: If you encounter any issues with MCP communication, please see the Troubleshooting Guide for solutions.
Start the server:
# If installed globally via npm
mcp-server-ccxt
# If installed manually
npm start
claude_desktop_config.json:If installed via npm (globally):
{
"mcpServers": {
"ccxt": {
"command": "mcp-server-ccxt"
}
}
}
If installed manually:
{
"mcpServers": {
"ccxt": {
"command": "node",
"args": [
"/path/to/mcp-server-ccxt/build/index.js"
]
}
}
}
You can also use this package as a module in your own Node.js projects:
// Import the CCXT MCP Server
import '@mcpfun/mcp-server-ccxt';
// The server starts automatically when imported
// You can configure it through environment variables
Here are some example queries you can use with the MCP server:
list-exchanges: List all available cryptocurrency exchangesget-ticker: Get current ticker information for a trading pairbatch-get-tickers: Get ticker information for multiple trading pairs at onceget-orderbook / get-order-book: Get market order book for a trading pairget-ohlcv: Get OHLCV candlestick data for a trading pairget-trades: Get recent trades for a trading pairget-markets: Get all available markets for an exchangeget-exchange-info: Get exchange information and statusget-leverage-tiers: Get futures leverage tiersget-funding-rates: Get current funding ratesget-positions: Get open positions informationget-open-orders: Get all open ordersget-order-history: Get order historyaccount-balance: Get your account balance from a crypto exchangeplace-market-order: Place a market order on an exchangeplace-limit-order: Place a limit order on an exchangecancel-order: Cancel an existing ordercancel-all-orders: Cancel all open ordersset-leverage: Set leverage for futuresset-margin-mode: Set margin mode for futuresplace-futures-market-order: Place futures market ordersplace-futures-limit-order: Place futures limit orderstransfer-funds: Transfer funds between accounts (e.g., spot to futures)cache-stats: Get CCXT cache statisticsclear-cache: Clear CCXT cacheset-log-level: Set logging levelget-proxy-config: Get proxy settingsset-proxy-config: Configure proxy settingsset-market-type: Set default market typeset-default-exchange: Change the default exchangesystem-info: Get system and environment informationMCP-CCXT includes several optimizations to ensure high performance:
LRU Caching System:
Adaptive Rate Limiting:
Exchange Connection Management:
Create Dedicated API Keys:
Limit API Key Permissions:
Secure Storage:
.env files that are excluded from git via .gitignoreThis software is provided for informational purposes only. Using this software to interact with cryptocurrency exchanges involves significant risks:
This project is licensed under the MIT License - see the LICENSE.txt file for details.
This project uses the CCXT library (https://github.com/ccxt/ccxt), which is:
Copyright (c) 2016-2024 CCXT developers
CCXT is released under the MIT License, which is included below:
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF
---
Prerequisites
Time Estimate
15-60 minutes depending on server complexity
Steps
Troubleshooting
β Do
β Don't
π‘ Pro Tips
Architecture
Model Context Protocol standardizes how AI hosts (Claude, Cursor) communicate with external tools and data sources through server implementations.
Protocols
Compatibility
β Use when
Use when you need Claude to access external data, execute actions, or integrate with tools. Best for extending AI capabilities beyond conversation.
β Avoid when
Avoid when native integrations exist (use official APIs directly), for real-time critical systems, or when security/compliance requires zero external dependencies.