CCXT

Official CCXT MCP server - Market data and trading across 100+ exchanges and prediction markets

OtherRustv0.1.3

CCXT – CryptoCurrency eXchange Trading Library

NPM Downloads npm PyPI NuGet version GoDoc Mvn Packagist Crates.io Supported Exchanges CCXT Chat in Telegram CCXT Discord Server Follow CCXT at x.com

A crypto trading API with more than 100 exchanges and prediction markets in JavaScript / TypeScript / Python / C# / PHP / Go / Java / Rust.

Install · Usage · Manual · FAQ · Examples · Contributing · Disclaimer · Social

The CCXT library is used to connect and trade with cryptocurrency exchanges worldwide. It provides quick access to market data for storage, analysis, visualization, indicator development, algorithmic trading, strategy backtesting, bot programming, and related software engineering.

It is intended to be used by coders, developers, technically-skilled traders, data-scientists and financial analysts for building trading algorithms.

Current feature list:

  • supports 100+ cryptocurrency exchanges and prediction markets:
    • Polymarket
    • Kalshi
    • Hyperliquid
    • Limitless
    • Myriad
    • more coming soon!
  • implements public and private APIs, both REST and WebSocket
  • optionally normalizes data for cross-exchange analytics and arbitrage
  • has an out of the box unified API that is extremely easy to integrate
  • ideal for AI agents, LLMs and vibe coding
  • works in Node 18+, Python 3, PHP 8.1+, netstandard2.0/2.1, Go 1.20+, Java 21+ and web browsers

Sponsored Promotion

Enjoy VIP+2 tier on Bitget when migrating from BitMEX

Unlock VIP3 on BTSE and earn up to $2,500 in the BTSE × CCXT Trading Competition

See Also

  • Freqtrade Freqtrade – leading opensource cryptocurrency algorithmic trading software!
  • OctoBot OctoBot – cryptocurrency trading bot with an advanced web interface.
  • TokenBot TokenBot – discover and copy the best algorithmic traders in the world.

Certified Cryptocurrency Exchanges

logoidnamevertypecertifiedprodiscount
binancebinanceBinanceAPI Version *CEX – Centralized EXchangeCCXT CertifiedCCXT ProSign up with Binance using CCXT's referral link for a 10% discount!
binanceusdmbinanceusdmBinance USDⓈ-MAPI Version *CEX – Centralized EXchangeCCXT CertifiedCCXT ProSign up with Binance USDⓈ-M using CCXT's referral link for a 10% discount!
binancecoinmbinancecoinmBinance COIN-MAPI Version *CEX – Centralized EXchangeCCXT CertifiedCCXT ProSign up with Binance COIN-M using CCXT's referral link for a 10% discount!
bybitbybitBybitAPI Version 5CEX – Centralized EXchangeCCXT CertifiedCCXT Pro
okxokxOKXAPI Version 5CEX – Centralized EXchangeCCXT CertifiedCCXT ProSign up with OKX using CCXT's referral link for a 20% discount!
gategateGateAPI Version 4CEX – Centralized EXchangeCCXT CertifiedCCXT ProSign up with Gate using CCXT's referral link for a 20% discount!
kucoinkucoinKuCoinAPI Version 2CEX – Centralized EXchangeCCXT CertifiedCCXT Pro
kucoinfutureskucoinfuturesKuCoin FuturesAPI Version 2CEX – Centralized EXchangeCCXT CertifiedCCXT Pro
bitgetbitgetBitgetAPI Version 2CEX – Centralized EXchangeCCXT CertifiedCCXT Pro
hyperliquidhyperliquidHyperliquidAPI Version 1DEX - Distributed EXchangeCCXT CertifiedCCXT Pro
bitmexbitmexBitMEXAPI Version 1CEX – Centralized EXchangeCCXT CertifiedCCXT ProSign up with BitMEX using CCXT's referral link for a 10% discount!
bingxbingxBingXAPI Version 1CEX – Centralized EXchangeCCXT CertifiedCCXT Pro
htxhtxHTXAPI Version 1CEX – Centralized EXchangeCCXT CertifiedCCXT ProSign up with HTX using CCXT's referral link for a 15% discount!
mexcmexcMEXC GlobalAPI Version 3CEX – Centralized EXchangeCCXT CertifiedCCXT Pro
cryptocomcryptocomCrypto.comAPI Version 2CEX – Centralized EXchangeCCXT CertifiedCCXT ProSign up with Crypto.com using CCXT's referral link for a 75% discount!
coinexcoinexCoinExAPI Version 2CEX – Centralized EXchangeCCXT CertifiedCCXT Pro
hashkeyhashkeyHashKey GlobalAPI Version 1CEX – Centralized EXchangeCCXT CertifiedCCXT Pro
woowooWOO XAPI Version 1CEX – Centralized EXchangeCCXT CertifiedCCXT ProSign up with WOO X using CCXT's referral link for a 35% discount!
woofiprowoofiproWOOFI PROAPI Version 1DEX - Distributed EXchangeCCXT CertifiedCCXT ProSign up with WOOFI PRO using CCXT's referral link for a 5% discount!

Supported Cryptocurrency Exchanges

The CCXT library currently supports the following 104 cryptocurrency exchange markets and trading APIs:

logoidnamevertypecertifiedpro
alpacaalpacaAlpacaAPI Version *CEX – Centralized EXchangeCCXT Pro
apexapexApexAPI Version 3DEX - Distributed EXchangeCCXT Pro
asterasterAsterAPI Version 1DEX - Distributed EXchangeCCXT Pro
backpackbackpackBackpackAPI Version 1CEX – Centralized EXchangeCCXT Pro
bequantbequantBequantAPI Version 3CEX – Centralized EXchangeCCXT Pro
bigonebigoneBigONEAPI Version 3CEX – Centralized EXchange
binancebinanceBinanceAPI Version *CEX – Centralized EXchangeCCXT CertifiedCCXT Pro
binancecoinmbinancecoinmBinance COIN-MAPI Version *CEX – Centralized EXchangeCCXT CertifiedCCXT Pro
binanceusbinanceusBinance USAPI Version *CEX – Centralized EXchangeCCXT Pro
binanceusdmbinanceusdmBinance USDⓈ-MAPI Version *CEX – Centralized EXchangeCCXT CertifiedCCXT Pro
bingxbingxBingXAPI Version 1CEX – Centralized EXchangeCCXT CertifiedCCXT Pro
bit2cbit2cBit2CAPI Version *CEX – Centralized EXchange
bitbankbitbankbitbankAPI Version 1CEX – Centralized EXchange
bitbnsbitbnsBitbnsAPI Version 2CEX – Centralized EXchange
bitfinexbitfinexBitfinexAPI Version 2CEX – Centralized EXchangeCCXT Pro
bitflyerbitflyerbitFlyerAPI Version 1CEX – Centralized EXchange
bitgetbitgetBitgetAPI Version 2CEX – Centralized EXchangeCCXT CertifiedCCXT Pro
bithumbbithumbBithumbAPI Version *CEX – Centralized EXchangeCCXT Pro
bitmexbitmexBitMEXAPI Version 1CEX – Centralized EXchangeCCXT CertifiedCCXT Pro
bitoprobitoproBitoProAPI Version 3CEX – Centralized EXchangeCCXT Pro
bitruebitrueBitrueAPI Version 1CEX – Centralized EXchangeCCXT Pro
bitsobitsoBitsoAPI Version 3CEX – Centralized EXchange
bitstampbitstampBitstampAPI Version 2CEX – Centralized EXchangeCCXT Pro
bitteambitteamBIT.TEAMAPI Version 2.0.6CEX – Centralized EXchange
bittradebittradeBitTradeAPI Version 1CEX – Centralized EXchangeCCXT Pro
bitvavobitvavoBitvavoAPI Version 2CEX – Centralized EXchangeCCXT Pro
blockchaincomblockchaincomBlockchain.comAPI Version 3CEX – Centralized EXchangeCCXT Pro
blofinblofinBloFinAPI Version 1CEX – Centralized EXchangeCCXT Pro
btcboxbtcboxBtcBoxAPI Version 1CEX – Centralized EXchange
btcmarketsbtcmarketsBTC MarketsAPI Version 3CEX – Centralized EXchange
btcturk

Installation

Source-derived launch command. Check the maintainer’s required arguments and credentials before running:

bash
npx -y ccxt-mcp

Set up in your AI client

Merge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.

json
{
  "mcpServers": {
    "io-github-ccxt-ccxt-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "ccxt-mcp"
      ]
    }
  }
}

Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.

Claude Desktop setup reference

Package

ccxt-mcpnpm

Compatible MCP Clients

CCXT works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.

  • Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.
  • Cursor~/.cursor/mcp.jsonRestart Cursor for changes to take effect.
  • VS Code.vscode/mcp.jsonReload VS Code window for changes to take effect.
  • Windsurf~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect.
  • Claude Code.mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.

Learn More