# CCXT

Connects AI assistants to 100+ crypto exchanges and prediction platforms via CCXT. It provides market data, balance tracking, and guarded order execution.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 44583
- Author: ccxt
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/ccxt/ccxt/tree/HEAD/mcp
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/mcp/ccxt

## What it does

The server runs locally over `stdio` without third-party relays. Your exchange credentials stay on your drive and never pass into prompt context. Tools identify endpoints strictly by assigned account aliases.

Out of the box, the server only returns public market data like order books, tickers, and OHLCV bars. Private reads, trading, and fund transfers require explicit opt-in flags inside `config.json`. Live trade placement fails unless marked with `trading: "live"`.

Setup requires Node.js 18 or newer. To mitigate unexpected execution risk, the configuration lets you enforce dollar caps per transaction alongside strict symbol allowlists.

## Requirements
- Needs: Node.js (commands run via npx)

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add ccxt-mcp -- npx -y ccxt-mcp
```

### Codex

**Platform CLI**
```bash
codex mcp add mcp -- npx -y ccxt-mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "mcp": {
            "command": "npx",
            "args": [
                "-y",
                "ccxt-mcp"
            ]
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "mcp": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "ccxt-mcp"
            ]
        }
    }
}
```

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add mcp npx -y ccxt-mcp
```

## When to use it
- fetch live tickers, depth books, and OHLCV bars across crypto exchanges
- inspect wallet balances and open positions without exposing keys to prompts
- create, update, and cancel trade orders with required confirmation
- restrict execution risk via notional order limits and symbol allowlists

## Example prompts
- Fetch the latest BTC/USDT order book from Binance
- Check the current account balances on binance-main
- Show recent prediction market events on Polymarket

## Similar
- [World Monitor](https://affpapa.org/en/nevibecode/mcp/world-monitor.md) — MCP server · ★ 89408
- [Finance Toolkit](https://affpapa.org/en/nevibecode/mcp/finance-toolkit.md) — MCP server · ★ 5458

From the same set: [ccxt/ccxt](https://affpapa.org/en/nevibecode/by/ccxt/ccxt.md) — 4 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
