ccxt-mcp
What it does
This skill explains how to install and set up the CCXT MCP server, which lets an AI agent read market data and balances, and optionally trade, through a local connection. It is for people who want an AI to work with their exchange accounts safely.
When to use it
- ✓When you want an AI assistant in Claude or Cursor to read exchange market data.
- ✓When you want to set up named exchange accounts without sharing keys with the AI.
- ✓When you want to test trading on a sandbox or testnet before using a live account.
Skill link
https://github.com/ccxt/ccxt/blob/master/.claude/skills/ccxt-mcp/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Set up the CCXT MCP server in Claude Code so I can check my exchange balances.”
5 new skills a week. 1 minute to read.
How it works
You add the server to your AI tool's configuration and store your API keys locally. The AI then calls exchange tools by account name, without seeing the keys.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
CCXT MCP Server
ccxt-mcp is the official CCXT Model Context Protocol server. It runs locally over stdio and lets an AI agent (Claude Desktop/Code, Cursor, VS Code, Windsurf, …) use the unified CCXT API across 100+ crypto exchanges and prediction markets.
- npm:
ccxt-mcp· runs vianpx -y ccxt-mcp· source: https://github.com/ccxt/ccxt/tree/master/mcp - Full docs: https://docs.ccxt.com/docs/mcp
Key property: your API keys stay on your machine and the model never sees them. Tools reference accounts by a name you choose; credentials are never tool parameters and never appear in results.
Install
Requires Node.js ≥ 18. Pick the host:
- Claude Code:
claude mcp add ccxt -- npx -y ccxt-mcp - Claude Desktop / Cursor / Windsurf — add to the host's MCP config:
{ "mcpServers": { "ccxt": { "command": "npx", "args": ["-y", "ccxt-mcp"] } } } - VS Code (
.vscode/mcp.json) — useinputsfor encrypted key storage:{ "inputs": [ { "id": "binance-key", "type": "promptString", "password": true }, { "id": "binance-secret", "type": "promptString", "password": true } ], "servers": { "ccxt": { "command": "npx", "args": ["-y", "ccxt-mcp"], "env": { "BINANCE_APIKEY": "${input:binance-key}", "BINANCE_SECRET": "${input:binance-secret}" } } } } - Non-technical / Claude Desktop: a signed
.mcpbdesktop-extension bundle installs by drag-and-drop and stores keys in the OS keychain.
With no configuration the server already serves public market data on every exchange — a useful install on its own.
Configure accounts
To use private data or trading, create the config file (its path is shown by the get_safety_status tool):
- macOS:
~/Library/Application Support/ccxt-mcp/config.json - Linux:
~/.config/ccxt-mcp/config.json - Windows:
%APPDATA%\ccxt-mcp\config.json - Or set
CCXT_MCP_CONFIGto any path.
{
"accounts": {
"binance-testnet": {
"exchange": "binance",
"apiKey": "…", "secret": "…",
"sandbox": true, // testnet — trades fake money; recommended first stop
"trading": true // "true" enables trading on SANDBOX/DEMO accounts only
},
"binance-main": {
"exchange": "binance",
"apiKey": "…", "secret": "…",
"trading": "live", // live trading requires the explicit string "live"…
"maxOrderValue": 250, // …and a per-order USD cap you author (null = opt out)
"maxDailyValue": 1000, // optional rolling-24h cap
"allowedSymbols": ["BTC/USDT", "ETH/*"], // optional strict allowlist
"confirm": "live" // always (every order) | live (default: only LIVE accounts; sandbox/demo execute WITHOUT a confirm step) | never
},
"polymarket-main": { "exchange": "polymarket", "walletAddress": "0x…", "privateKey": "0x…" }
}
}
Any credential the exchange needs works (apiKey, secret, password, uid, walletAddress, privateKey, …), plus sandbox/demo, defaultType, options, and prediction: true for exchanges that exist in both crypto and prediction namespaces (e.g. hyperliquid). chmod 600 the file. Env vars also work: <EXCHANGEID>_<CREDENTIAL> (e.g. BINANCE_APIKEY, OKX_PASSWORD) fill missing fields, and CCXT_MCP_EXCHANGE/CCXT_MCP_APIKEY/CCXT_MCP_SECRET/CCXT_MCP_SANDBOX/CCXT_MCP_TRADING define a single account named default. The accounts map holds as many exchanges/accounts as you want — one entry each.
On Claude Desktop the .mcpb install form has fields for a single exchange plus a Config file picker — point that at a config.json (as above) to configure multiple exchanges, or create the file at the default path and leave the form blank.
Capability tiers (opt-in, off by default)
| Tier | What it enables | How to turn it on |
|---|---|---|
| market | tickers, order books, OHLCV, trades, market search, prediction events, raw GET endpoints | on by default, no keys |
| read | balances, orders, own trades, positions | configure an account |
| trading | create/edit/cancel orders, leverage, margin | per-account "trading": true (sandbox) or "live" |
| funds | withdraw, transfer, deposit addresses | per-account "funds": true or "live" |
| implicitWrites | raw POST/PUT/DELETE endpoints | per-account "implicitWrites": true |
Tiers can only be enabled by the user editing the config file — never from the conversation, and there is no to
FAQ
Can the AI see my API keys?
No. The skill says keys stay on your machine and the model never sees them.
What do I need to install it?
The skill says Node.js 18 or newer is required, and the server runs through npx.
Does it support trading?
Yes, as an opt-in capability with safety rails, and a sandbox or testnet mode is available.
Details
Original description by the author
Official CCXT MCP (Model Context Protocol) server — connect an AI agent to 100+ cryptocurrency exchanges and prediction markets for market data, balances, and opt-in trading. Covers installing the server in Claude Desktop/Code, Cursor, VS Code and other MCP hosts; configuring named accounts and API keys (kept local, never seen by the model); the capability tiers and safety rails; sandbox/testnet trading; and how to drive the tools. Use when the user wants an agent to fetch prices/order books/candles, check balances/orders/positions, place or cancel orders, or explore prediction markets across
repo: ccxt/ccxt
Popularity
- GitHub stars
- 45k
- Ranking position
- #6383
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
binance-agentic-wallet
45kLets your agent manage a Binance Web3 wallet through the baw command line, including sign-in, balances, transfers, token swaps, and limit orders.
binance-sports-ai-analyzer
45kHelps your agent look up World Cup match predictions, AI analysis, and news insights, and recompute win odds after you adjust the signals.
binance-tokenized-securities-info
45kLets your agent look up Ondo tokenized US stocks on Binance Web3, covering token lists, company info, trading status, and on-chain prices.
binance
45kLets your agent use Binance Spot, USD-M Futures, and Convert through the binance-cli tool. Requires you to set up authentication first.
Similar skills
mcporter
394kHelps your agent list, call, and inspect MCP servers and their tools over HTTP or stdio, and manage their sign-in settings.
fastmcp
260kHelps you build, test, and deploy a Python MCP server that gives AI assistants access to your API, database, or files as tools.
mcp-oauth-remote-gateway
260kWalks you through OAuth sign-in for a remote MCP server when Hermes runs on a server, where the normal browser sign-in cannot reach it.