ccxt-mcp
Fungsinya
Skill ini menjelaskan cara memasang dan menyiapkan server MCP CCXT, yang memungkinkan agent AI membaca data pasar dan saldo, serta opsional melakukan perdagangan, lewat koneksi lokal. Skill ini ditujukan untuk orang yang ingin AI bekerja dengan akun bursa mereka secara aman.
Kapan dipakai
- ✓Saat Anda ingin asisten AI di Claude atau Cursor membaca data pasar bursa.
- ✓Saat Anda ingin mengatur akun bursa bernama tanpa membagikan key ke AI.
- ✓Saat Anda ingin menguji perdagangan di sandbox atau testnet sebelum memakai akun live.
Link skill
https://github.com/ccxt/ccxt/blob/master/.claude/skills/ccxt-mcp/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
“Siapkan server MCP CCXT di Claude Code agar saya bisa memeriksa saldo bursa saya.”
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Anda menambahkan server ke konfigurasi alat AI Anda dan menyimpan API key secara lokal. AI kemudian memanggil alat bursa dengan nama akun, tanpa melihat key-nya.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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
Pertanyaan umum
Apakah AI dapat melihat API key saya?
Tidak. Skill menyebutkan key tetap berada di komputer Anda dan model tidak pernah melihatnya.
Apa yang perlu saya pasang?
Skill menyebutkan Node.js 18 atau lebih baru diperlukan, dan server dijalankan lewat npx.
Apakah perdagangan didukung?
Ya, sebagai kemampuan opsional dengan pengaman, dan mode sandbox atau testnet tersedia.
Detail
Deskripsi asli dari pembuat
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
Popularitas
- Bintang GitHub
- 45k
- Peringkat
- #6383
- Lisensi
- MIT
- Diperbarui
- 2/11/2026
Komentar
- …
Skill lain dari repositori ini
binance-agentic-wallet
45kMemungkinkan agent Anda mengelola dompet Web3 Binance lewat baris perintah baw, termasuk login, saldo, transfer, tukar token, dan order limit.
binance-sports-ai-analyzer
45kMembantu agent Anda melihat prediksi pertandingan Piala Dunia, analisis AI, dan wawasan berita, lalu menghitung ulang peluang menang saat sinyal diubah.
binance-tokenized-securities-info
45kMembantu agent Anda mencari saham AS yang ditokenisasi Ondo di Binance Web3, mencakup daftar token, info perusahaan, status perdagangan, dan harga on-chain.
binance
45kMemungkinkan agent Anda memakai Binance Spot, USD-M Futures, dan Convert lewat alat binance-cli. Anda perlu menyiapkan autentikasi terlebih dahulu.
Skill serupa
mcporter
394kMembantu agent Anda mendaftar, memanggil, dan memeriksa server MCP beserta alatnya lewat HTTP atau stdio, serta mengatur pengaturan login mereka.
fastmcp
260kMembantu Anda membangun, menguji, dan menerapkan server MCP Python yang memberi asisten AI akses ke API, basis data, atau file Anda sebagai alat.
mcp-oauth-remote-gateway
260kMemandu Anda masuk dengan OAuth untuk server MCP jarak jauh saat Hermes berjalan di server, di mana proses masuk browser biasa tidak dapat menjangkaunya.