ccxt-mcp
यह क्या करती है
यह स्किल बताती है कि CCXT MCP server कैसे इंस्टॉल और सेट करें, जिससे AI एजेंट लोकल कनेक्शन से मार्केट डेटा और बैलेंस पढ़ सके, और चाहें तो ट्रेड भी करे। यह उन लोगों के लिए है जो चाहते हैं कि AI उनके एक्सचेंज खातों के साथ सुरक्षित तरीके से काम करे।
कब इस्तेमाल करें
- ✓जब आप Claude या Cursor में AI सहायक चाहें जो एक्सचेंज का मार्केट डेटा पढ़े।
- ✓जब आप AI के साथ key साझा किए बिना नामित एक्सचेंज खाते सेट करना चाहें।
- ✓जब आप लाइव खाते से पहले sandbox या testnet पर ट्रेड टेस्ट करना चाहें।
Skill का लिंक
https://github.com/ccxt/ccxt/blob/master/.claude/skills/ccxt-mcp/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“Claude Code में CCXT MCP server सेट कीजिए, ताकि मैं अपने एक्सचेंज बैलेंस जाँच सकूँ।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
आप सर्वर को अपने AI टूल की कॉन्फ़िगरेशन में जोड़ते हैं और API key लोकल रूप से सेव करते हैं। फिर AI खाते के नाम से एक्सचेंज टूल कॉल करता है, key देखे बिना।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे 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
अक्सर पूछे जाने वाले सवाल
क्या AI मेरी API key देख सकता है?
नहीं। स्किल कहती है कि key आपकी मशीन पर रहती है और मॉडल उन्हें कभी नहीं देखता।
इसे इंस्टॉल करने के लिए क्या चाहिए?
स्किल के अनुसार Node.js 18 या उससे नया चाहिए, और सर्वर npx से चलता है।
क्या यह ट्रेडिंग सपोर्ट करता है?
हाँ, सुरक्षा उपायों के साथ एक वैकल्पिक क्षमता के रूप में, और sandbox या testnet मोड भी उपलब्ध है।
जानकारी
लेखक का मूल विवरण
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
लोकप्रियता
- GitHub स्टार
- 45k
- रैंकिंग में स्थान
- #6383
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
binance-agentic-wallet
45kआपके एजेंट को baw कमांड लाइन से Binance Web3 वॉलेट मैनेज करने देती है, जिसमें साइन-इन, बैलेंस, ट्रांसफ़र, टोकन स्वैप और लिमिट ऑर्डर शामिल हैं।
binance-sports-ai-analyzer
45kआपके एजेंट को World Cup मैच की AI भविष्यवाणी, विश्लेषण और समाचार की जानकारी देखने में मदद करती है, और संकेत बदलने पर जीत की संभावना दोबारा गिनती है।
binance-tokenized-securities-info
45kआपके एजेंट को Binance Web3 पर Ondo टोकनाइज़्ड अमेरिकी स्टॉक की जानकारी देखने देती है, जिसमें टोकन सूची, कंपनी की जानकारी, ट्रेडिंग स्थिति और ऑन-चेन कीमतें शामिल हैं।
binance
45kआपके एजेंट को binance-cli टूल के ज़रिए Binance Spot, USD-M Futures और Convert इस्तेमाल करने देती है। पहले ऑथेंटिकेशन सेट करना ज़रूरी है।
मिलती-जुलती skills
mcporter
394kयह आपके एजेंट को HTTP या stdio पर MCP सर्वर और उनके टूल सूचीबद्ध करने, चलाने और जांचने देती है, और उनकी साइन-इन सेटिंग्स प्रबंधित करती है।
fastmcp
260kआपको Python में MCP सर्वर बनाने, जाँचने और तैनात करने में मदद करती है, जो AI सहायकों को आपके API, डेटाबेस या फ़ाइलों तक टूल के रूप में पहुँच देता है।
mcp-oauth-remote-gateway
260kजब Hermes किसी सर्वर पर चलता है, तो रिमोट MCP सर्वर के लिए OAuth साइन-इन हाथ से करने में मदद करती है, जहाँ सामान्य ब्राउज़र साइन-इन नहीं पहुँच पाता।