CCXT

by doggybee

11 stars
756 downloads
Not rated
GitHub

About

High-performance CCXT MCP server for cryptocurrency exchange integration.

Details

Author
doggybee
Repository
doggybee/mcp-server-ccxt
GitHub stars
11
Downloads
756
License
MIT License
Categories
Developer Tools, AI, Infrastructure, Knowledge Base, Search
Tags
#integration

- πŸš€ Exchange Support: Connects to 20+ cryptocurrency exchanges
- πŸ”ƒ Market Types: Supports spot, futures, swap markets and more
- πŸ”§ Proxy Configuration: Options for accessing exchanges through proxies
- πŸ“Š Fast & Reliable: Optimized caching and rate limiting
- 🌐 MCP Standard: Compatible with LLMs like Claude and GPT via MCP

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name CCXT
    Command (node, npx, python, etc.) node
    Arguments
    • Argument 1 /path/to/mcp-server-ccxt/build/index.js

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

> Note: If you encounter any issues with MCP communication, please see the Troubleshooting Guide for solutions.

To install mcp-server-ccxt for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @doggybee/mcp-server-ccxt --client claude

npm install -g @mcpfun/mcp-server-ccxt

Alternatively, you can clone and build the repository:


npm install

USE_PROXY=false
PROXY_URL=http://username:password@your-proxy-server:port

Start the server:

bash

mcp-server-ccxt

npm start
``

- cache-stats: Get CCXT cache statistics
-
clear-cache: Clear CCXT cache
-
set-log-level: Set logging level
-
get-proxy-config: Get proxy settings
-
set-proxy-config: Configure proxy settings
-
set-market-type: Set default market type
-
set-default-exchange: Change the default exchange
-
system-info`: Get system and environment information

list-exchanges

List all available cryptocurrency exchanges

get-ticker

Get current ticker information for a trading pair

batch-get-tickers

Get ticker information for multiple trading pairs at once

get-orderbook

Get market order book for a trading pair

get-ohlcv

Get OHLCV candlestick data for a trading pair

get-trades

Get recent trades for a trading pair

get-markets

Get all available markets for an exchange

get-exchange-info

Get exchange information and status

get-leverage-tiers

Get futures leverage tiers

get-funding-rates

Get current funding rates

get-positions

Get open positions information

get-open-orders

Get all open orders

get-order-history

Get order history

account-balance

Get your account balance from a crypto exchange

place-market-order

Place a market order on an exchange

place-limit-order

Place a limit order on an exchange

cancel-order

Cancel an existing order

cancel-all-orders

Cancel all open orders

set-leverage

Set leverage for futures

set-margin-mode

Set margin mode for futures

place-futures-market-order

Place futures market orders

place-futures-limit-order

Place futures limit orders

transfer-funds

Transfer funds between accounts (e.g., spot to futures)

cache-stats

Get CCXT cache statistics

clear-cache

Clear CCXT cache

set-log-level

Set logging level

get-proxy-config

Get proxy settings

set-proxy-config

Configure proxy settings

set-market-type

Set default market type

set-default-exchange

Change the default exchange

system-info

Get system and environment information

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "ccxt": {
            "env": {},
            "args": [
                "/path/to/mcp-server-ccxt/build/index.js"
            ],
            "shell": false,
            "command": "node"
        }
    }
}

Linux

{
    "env": [],
    "args": [
        "/path/to/mcp-server-ccxt/build/index.js"
    ],
    "shell": false,
    "command": "node"
}

Macos

{
    "env": [],
    "args": [
        "/path/to/mcp-server-ccxt/build/index.js"
    ],
    "shell": false,
    "command": "node"
}

Windows

{
    "env": [],
    "args": [
        "/c",
        "node",
        "/path/to/mcp-server-ccxt/build/index.js"
    ],
    "shell": true,
    "command": "cmd"
}

CCXT MCP Server

CCXT Logo

Version
MCP Standard
CCXT
smithery badge

High-performance cryptocurrency exchange integration using MCP (Model Context Protocol) and CCXT.

Features

- πŸš€ Exchange Support: Connects to 20+ cryptocurrency exchanges
- πŸ”ƒ Market Types: Supports spot, futures, swap markets and more
- πŸ”§ Proxy Configuration: Options for accessing exchanges through proxies
- πŸ“Š Fast & Reliable: Optimized caching and rate limiting
- 🌐 MCP Standard: Compatible with LLMs like Claude and GPT via MCP

CCXT MCP Server Integration Architecture

CCXT MCP Server Integration Architecture

The CCXT MCP Server connects language models to cryptocurrency exchanges through the Model Context Protocol. It serves as a bridge that allows LLMs to access real-time market data and execute trading operations across multiple exchanges through a unified API.

The architecture includes:
- LLM clients (Claude and other MCP-compatible models) that send requests
- The Model Context Protocol (MCP) that standardizes communication
- The CCXT MCP Server that processes requests and manages exchange interactions
- The CCXT Library that provides unified access to exchange APIs
- Connections to multiple cryptocurrency exchanges

CCXT MCP Server Code Architecture

CCXT MCP Server Code Architecture

The server is organized into three main modules for better maintainability and extensibility:

- Exchange: Manages exchange instances, credentials, and symbol validation
- Utils: Provides caching, rate limiting, and logging functionality
- Tools: Implements MCP tools and resources for exchange interaction

Quick Start

Installing via Smithery

To install mcp-server-ccxt for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @doggybee/mcp-server-ccxt --client claude

NPM Package (Recommended)

You can install CCXT MCP Server from npm:

```bash

No reviews yet β€” be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.