CCXT MCP Server
@doggybee
About CCXT MCP Server
High-performance CCXT MCP server for cryptocurrency exchange integration
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"ccxt": {
"command": "npx",
"args": [
"@mcpfun/mcp-server-ccxt"
],
"env": {
"DEFAULT_EXCHANGE": "binance",
"LOG_LEVEL": "info",
"USE_PROXY": "false"
},
"description": "CCXT MCP Server for cryptocurrency exchange integration"
}
}
}Tools
24Get CCXT cache statistics
Clear CCXT cache
Set logging level
List all available cryptocurrency exchanges
Get current ticker information for a trading pair
Get ticker information for multiple trading pairs at once
Get market order book for a trading pair
Get OHLCV candlestick data for a trading pair
Get recent trades for a trading pair
Get all available markets for an exchange
Get exchange information and status
Get futures leverage tiers for trading pairs
Get current funding rates for perpetual contracts
Get market types supported by an exchange
Get your account balance from a crypto exchange
Place a market order on an exchange
Set leverage for futures trading
Set margin mode for futures trading
Place a futures market order
Get the current proxy configuration
Configure proxy settings for all exchanges
Test the proxy connection with a specified exchange
Clear exchange instance cache to apply configuration changes
Set default market type for all exchanges
Overview
What is CCXT MCP Server?
It is a high‑performance server that connects LLMs (like Claude and GPT) to 20+ cryptocurrency exchanges through the Model Context Protocol (MCP) and the CCXT library, enabling real‑time market data access and trading operations.
How to use CCXT MCP Server?
Install globally via npm install -g @mcpfun/mcp-server-ccxt and start with mcp-server-ccxt, or run directly with npx @mcpfun/mcp-server-ccxt. Create a .env file with exchange API keys (optional for public data) and proxy settings (optional). Then add the server to your claude_desktop_config.json and restart Claude for Desktop.
Key features of CCXT MCP Server
- Connects to 20+ cryptocurrency exchanges
- Supports spot, futures, and swap markets
- Proxy configuration for exchange access
- Optimized caching and adaptive rate limiting
- MCP‑standard compliant with LLMs
Use cases of CCXT MCP Server
- Get current ticker prices for any trading pair
- Retrieve order books, OHLCV candlestick data, and recent trades
- Compare asset prices across multiple exchanges
- Check account balances (requires API keys)
- Place market/limit orders and manage positions (requires API keys)
FAQ from CCXT MCP Server
What exchanges does the server support?
It connects to over 20 cryptocurrency exchanges via the CCXT library.
Do I need API keys to use the server?
API keys are optional for public market data tools, but required for private tools such as account balances and order placement.
How do I configure a proxy?
Set USE_PROXY=true and PROXY_URL=http://username:password@your-proxy-server:port in your .env file.
How are API keys secured?
Best practices recommend creating dedicated API keys with minimal permissions, disabling withdrawals, using IP whitelisting, and never committing keys to version control.
What performance optimizations exist?
The server uses an LRU caching system with different TTLs (e.g., ticker: 10s, order book: 5s, market data: 1h) and adaptive rate limiting with exponential backoff.
Frequently asked questions
What exchanges does the server support?
It connects to over 20 cryptocurrency exchanges via the CCXT library.
Do I need API keys to use the server?
API keys are optional for public market data tools, but required for private tools such as account balances and order placement.
How do I configure a proxy?
Set `USE_PROXY=true` and `PROXY_URL=http://username:password@your-proxy-server:port` in your `.env` file.
How are API keys secured?
Best practices recommend creating dedicated API keys with minimal permissions, disabling withdrawals, using IP whitelisting, and never committing keys to version control.
What performance optimizations exist?
The server uses an LRU caching system with different TTLs (e.g., ticker: 10s, order book: 5s, market data: 1h) and adaptive rate limiting with exponential backoff.
Basic information
More Other MCP servers
ghidraMCP
LaurieWiredMCP Server for Ghidra
Codelf
unbugA search tool helps dev to solve the naming things problem.
Awesome Mlops
visengerA curated list of references for MLOps
AutoBrowser MCP
autobrowser-aiBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
Unity MCP ✨
justinpbarnettUnity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.
Comments