Zum Inhalt springen
Skillpedia
Konnektoren (MCP)45k · #6383

ccxt-mcp

Was er macht

Dieser Skill erklärt, wie du den CCXT-MCP-Server installierst und einrichtest. Er lässt einen KI-Agenten über eine lokale Verbindung Marktdaten und Guthaben lesen und optional auch handeln. Er richtet sich an Personen, die eine KI sicher mit ihren Börsenkonten arbeiten lassen wollen.

Wann du ihn nutzt

  • ✓Wenn du einem KI-Assistenten in Claude oder Cursor Börsen-Marktdaten lesen lassen willst.
  • ✓Wenn du benannte Börsenkonten einrichten willst, ohne der KI die Schlüssel zu geben.
  • ✓Wenn du Trades zuerst in einer Sandbox oder einem Testnetz ausprobieren willst, bevor du ein echtes Konto nutzt.

Link zum Skill

https://github.com/ccxt/ccxt/blob/master/.claude/skills/ccxt-mcp/SKILL.md

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/ccxt/ccxt/blob/master/.claude/skills/ccxt-mcp/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Richte den CCXT-MCP-Server in Claude Code ein, damit ich meine Börsenguthaben prüfen kann.”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Du trägst den Server in die Konfiguration deines KI-Werkzeugs ein und speicherst deine API-Schlüssel lokal. Die KI ruft Börsenwerkzeuge dann über den Kontonamen auf, ohne die Schlüssel zu sehen.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von 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.

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)

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

Häufige Fragen

Kann die KI meine API-Schlüssel sehen?

Nein. Laut Skill bleiben die Schlüssel auf deinem Rechner, und das Modell sieht sie nie.

Was brauche ich zur Installation?

Laut Skill ist Node.js in Version 18 oder neuer nötig. Der Server läuft über npx.

Unterstützt er Trading?

Ja, als optionale Funktion mit Sicherheitsvorkehrungen. Ein Sandbox- oder Testnetz-Modus ist verfügbar.

Details

Originalbeschreibung des Autors

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

Beliebtheit

GitHub-Sterne
45k
Platz im Ranking
#6383
Lizenz
MIT
Aktualisiert
2.11.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills