본문으로 건너뛰기
cccskills
무료GitHub에 공개

ccxt-mcp

Connect an AI agent to over 100 cryptocurrency exchanges and prediction markets through a local MCP server. Fetch prices, order books and account balances, or place and cancel orders when trading is explicitly enabled.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

원문원문 설명 보기

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 exchanges.

연동 도구Binance
설치 방법 보기

이럴 때 유용합니다

  • Compare prices and order books across exchanges
  • Check account balances, orders and positions
  • Try placing and canceling orders on a testnet
  • Find prediction market events and their prices

포함된 파일(1)

  • SKILL.md9.9 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

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.

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) — use inputs for 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 .mcpb desktop-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_CONFIG to 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)

TierWhat it enablesHow to turn it on
markettickers, order books, OHLCV, trades, market search, prediction events, raw GET endpointson by default, no keys
readbalances, orders, own trades, positionsconfigure an account
tradingcreate/edit/cancel orders, leverage, marginper-account "trading": true (sandbox) or "live"
fundswithdraw, transfer, deposit addressesper-account "funds": true or "live"
implicitWritesraw POST/PUT/DELETE endpointsper-account "implicitWrites": true

Tiers can only be enabled by the user editing the config file — never from the conversation, and there is no tool that edits config. Disabled tiers do not appear in the tool list. "trading": true works on sandbox/demo accounts only; live trading requires typing "trading": "live" plus a maxOrderValue. Order-placing tools preview and require confirmation, validate against market limits and your caps, and journal every mutating call.

Sandbox / testnet

Set "sandbox": true on an account to trade fake money on the exchange testnet — create_order then goes to the testnet host (e.g. testnet.binance.vision), never production. Use testnet keys from the exchange's testnet portal (live keys won't authenticate against testnet). This is the recommended way to try trading.

Using the tools (what the agent calls)

  • Discovery: list_exchanges, describe_exchange, describe_method (search method names / signatures / per-exchange params + doc links), get_safety_status (which accounts/tiers are active).
  • Market data: search_markets (resolve a symbol — there is no list-all-markets tool), get_tickers, get_orderbook, get_ohlcv, get_trades. Long-tail reads (funding rates, open interest, ledger, …) via call_read_method; raw exchange GET endpoints via call_implicit_get.
  • Live data (WebSocket): watch_subscribe opens a background stream and returns a subscriptionId and a streamKind. State streams are snapshots — watchTicker(s), watchOrderBook(ForSymbols), watchOHLCV, watchBalance, watchPositions, watchBidsAsks, watchMarkPrice(s): watch_read returns the full current set in latest (the server merges live updates, so a multi-symbol stream always shows every subscribed symbol, not just the one that last changed) — just read it whenever you need the current value (the live order book, all your positions, the recent candle window). Event streams are logs — watchTrades and the private watchOrders/watchMyTrades/watch(My)Liquidations (private need an account): watch_read returns new items oldest-first in events plus a nextCursor — thread it back as cursor on each poll so you don't re-receive old items. Pass waitForChange: true (optional timeoutMs) to block until the next update instead of polling — ideal for waiting on an order fill or position change; the response's timedOut says whether anything arrived. watch_unsubscribe when done; watch_list shows active streams. Prefer one-shot get_* tools for a single snapshot; use watch_* for live/continuous data.
  • Private (read tier): list_accounts, get_balance, get_orders, get_my_trades, get_positions.
  • Trading (trading tier): create_order, edit_order, cancel_order, cancel_all_orders, set_leverage, set_margin_mode, call_write_method.
  • Funds (funds tier): withdraw, transfer, get_deposit_address.

Conventions to follow:

  • Symbols are unified CCXT symbols: BTC/USDT (spot), BTC/USDT:USDT (linear swap), BTC/USD:BTC (inverse). Resolve them with search_markets — don't guess. Derivatives-only methods (funding rate, positions) need the :SETTLE form.
  • Every exchange-touching tool takes a params passthrough for exchange-specific options; discover supported keys with describe_method.
  • since accepts a millisecond timestamp or an ISO8601 string; results carry both timestamp (ms) and datetime (ISO8601).
  • List results are capped to fit context; check meta (count/returned/available/hasMore/truncated) and page rather than assuming completeness.
  • Prediction markets: use search_events to find an event and its outcome handles, then pass an outcome handle (priced 0–1) as the symbol to the ordinary tools.

Trading safely

  1. Start on sandbox: true with testnet keys.
  2. Order tools return a preview + confirmation first when the account's confirm policy fires (always, or live on a live account) — show the preview (symbol, side, amount, estimated USD value) to the user, then repeat the identical call with the confirm token (or approve the native prompt) to execute. Under the default live policy, sandbox/demo orders execute immediately without a preview, and maxOrderValue: null means no cap — so on a demo account an order can execute in one call with no gate.
  3. For live accounts, set a maxOrderValue cap and, on the exchange, use API keys with withdrawal disabled and an IP allowlist.

Troubleshooting

  • "Trading is not enabled for account …" — enable the tier in the config file; it can't be enabled from the conversation.
  • AUTH_FAILED on a sandbox account — you need testnet keys from the exchange's testnet portal, not live keys.
  • A private tool doesn't exist — its tier isn't enabled; run get_safety_status to see what's active.
  • Slow first call — the initial loadMarkets() takes a few seconds, then is cached 24h.
  • Inspect interactively: npx @modelcontextprotocol/inspector npx -y ccxt-mcp.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

binance

무료

Use an authenticated command-line tool to work with Binance spot trading, futures, and asset conversion. The skill provides command references for these tasks, alongside wallet operations and other Binance services.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Work with Binance spot and futures trading
  • Convert crypto assets through Binance Convert
  • Find commands for wallet and account operations
ccxt/ccxt4.4만2026년 10월 18일 업데이트

Manage a Binance Web3 wallet through the baw command-line tool. Check balances, transfer or swap tokens, manage limit orders and token permissions, and access prediction markets and DeFi, blockchain-based financial services.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Check wallet balances and transaction history
  • Send tokens, swap assets, and manage limit orders
  • Review and revoke token spending permissions
ccxt/ccxt4.4만2026년 10월 18일 업데이트

Explore World Cup match predictions, related news, and market probabilities. Adjust model factors to compare possible outcomes, then optionally hand off to Binance Agentic Wallet for prediction-market trading, where orders require an explicit choice and confirmation.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Review AI predictions for a World Cup match
  • Compare model probabilities with market probabilities
  • Recalculate probabilities with adjusted factors
ccxt/ccxt4.4만2026년 10월 18일 업데이트

Look up Ondo tokens representing US stocks through Binance Web3. Retrieve prices, holder counts, company details, trading restrictions, and candlestick data, and compare token prices with underlying stock prices while accounting for shares represented by each token.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Research available tokenized US stocks
  • Check trading restrictions and their reasons
  • Compare token and underlying stock prices
ccxt/ccxt4.4만2026년 10월 18일 업데이트

ccxt-cli

무료

Use ccxt-cli to query cryptocurrency exchanges from the terminal without writing application code. Check prices, balances, and orders, stream live market data, display candlestick charts, and return JSON results for shell scripts.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Check market prices and account balances from the terminal
  • Test API credentials and inspect request errors
  • Compare live prices across exchanges
ccxt/ccxt4.4만2026년 10월 18일 업데이트

Build cryptocurrency exchange integrations in C# and .NET with CCXT. Get guidance on setup, market data, orders, authentication, and error handling, using REST for individual requests and WebSocket connections for live price and order book updates.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Adding cryptocurrency prices to a C# application
  • Implementing order placement and cancellation
  • Monitoring live prices and order books
ccxt/ccxt4.4만2026년 10월 18일 업데이트

ccxt의 스킬 모두 보기

이 스킬의 문제 신고