CCXT
Lets your AI agent read market data and trade across 100+ crypto exchanges and prediction markets.
45k stars on GitHubby CCXTLicense MITUpdated 18 days ago
How to install
This MCP is local: it runs on your computer.
It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Codeβ¦). Choose your app:
Paste in the terminal:
claude mcp add ccxt -- npx -y ccxt-mcp
Ready! Now test it
Restart the app and paste one of these requests in the chat:
What is the current BTC price on Binance and OKX?
Compare the order book depth for ETH on two exchanges.
What it is
CCXT is a library that connects to more than 100 cryptocurrency exchanges and prediction markets through one unified API. The registry lists an official MCP server for market data and trading. Exchanges include Binance, Bybit, OKX and Hyperliquid, and prediction markets such as Polymarket and Kalshi.
What it can do
- Market data from many exchanges
- Trading through public and private APIs
- Prediction market access (Polymarket, Kalshi, Hyperliquid and others)
- Normalized data for cross-exchange analysis
When to use
- βΊWhen you want to compare prices for a coin across exchanges.
- βΊWhen you build or backtest a trading strategy with your agent.
- βΊWhen you want your agent to read prediction market data.
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
ccxtLets your agent pull free public crypto market data, such as candles and prices, from more than 100 exchanges with no API key.ccxt-mcpLets your agent connect to 100+ crypto exchanges and prediction markets through the CCXT MCP server, with your API keys kept on your own machine.ccxt-csharpHelps your agent write C# and .NET code that connects to crypto exchanges with CCXT, including market data, orders, and live streams.Frequently asked questions
How many exchanges does it support?
More than 100 exchanges and prediction markets.
Which languages does the library support?
JavaScript, TypeScript, Python, C#, PHP, Go, Java and Rust.
Can it trade with real money?
It implements private APIs for trading, so use care. The README has a disclaimer section.
Is it open source?
The CCXT library is public on GitHub. The excerpt does not name the license.
Does it use WebSocket?
Yes. It implements public and private APIs, both REST and WebSocket.
Is it made by the exchanges?
No. CCXT is an independent library that connects to them.
If it does not work
- βΊCheck that your exchange API keys are correct and have the permissions you need.
- βΊStart with public market data before enabling trading.
- βΊRestart your agent fully after adding the server.
5 new skills a week. 1 minute to read.