CCXT MCP Server

by jcwleo

8 stars
159 downloads
Not rated
GitHub

Description

# CCXT MCP Server [![smithery badge](https://smithery.ai/badge/@jcwleo/ccxt-mcp-server)](https://smithery.ai/server/@jcwleo/ccxt-mcp-server) This project provides a Model Context Protocol (MCP) server that exposes various functions from the [CCXT](https://github.com/ccxt/ccxt)…

About

# CCXT MCP Server [![smithery badge](https://smithery.ai/badge/@jcwleo/ccxt-mcp-server)](https://smithery.ai/server/@jcwleo/ccxt-mcp-server) This project provides a Model Context Protocol (MCP) server that exposes various functions from the [CCXT](https://github.com/ccxt/ccxt) library as tools for Large Language…

Details

Author
jcwleo
GitHub stars
8
Downloads
159
Categories
Other

- Integrates CCXT for unified exchange interaction
- Asynchronous non‑blocking operations
- Clear tool definitions with type annotations
- API key authentication for private endpoints
- Public and private tool separation
- Includes technical indicator calculation tool

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 MCP Server
    Command (node, npx, python, etc.)

    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

Clone the repository, create a virtual environment, install dependencies from requirements.txt, then run the server with uv run uvicorn mcp_server:app. Configure your MCP client (e.g., Claude desktop) with a JSON entry pointing to http://127.0.0.1:8000/mcp/ using npx mcp-remote.

Claude Desktop / Cursor

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

{
    "mcpServers": {
        "ccxt mcp server": {
            "ccxt-mcp-server": {
                "command": "python",
                "args": [
                    "-m",
                    "venv",
                    ".venv"
                ]
            }
        }
    }
}

McpServers

{
    "ccxt-mcp-server": {
        "command": "python",
        "args": [
            "-m",
            "venv",
            ".venv"
        ]
    }
}

CCXT MCP Server

smithery badge

This project provides a Model Context Protocol (MCP) server that exposes various functions from the CCXT library as tools for Large Language Models (LLMs).

It allows LLMs to interact with cryptocurrency exchanges for tasks like fetching balances, market data, creating orders, and more, in a standardized and asynchronous way.

This server is built using FastMCP, which simplifies the process of creating MCP servers in Python.

Features

CCXT Integration: Wraps common CCXT functions for exchange interaction.
Asynchronous: Built using asyncio and ccxt.async_support for efficient non-blocking operations.
Clear Tool Definitions: Uses typing.Annotated and pydantic.Field for clear parameter descriptions and constraints, making it easier for LLMs (and developers) to understand and use the tools.
Authentication Handling: Supports API key, secret, and passphrase authentication for private endpoints.
Public & Private Tools: Provides separate tools for public market data and private account actions.

Installation

1. Clone the repository (if you haven't already):

    git clone https://github.com/jcwleo/ccxt-mcp-server.git
cd ccxt-mcp-server

2. Create and activate a virtual environment (recommended):

    python -m venv .venv
source .venv/bin/activate # On Windows use .venv\Scripts\activate

3. Install dependencies:
The required libraries are listed in requirements.txt. You can install them using pip or uv.

Using pip:

        pip install -r requirements.txt

* Using uv (if installed):
        uv pip install -r requirements.txt
# Or, if you prefer uv's environment management:
# uv sync

Running the Server

Once the dependencies are installed, you can run the MCP server directly:

uv run uvicorn mcp_server:app

You should see output indicating the server has started, similar to:

```
Starting CCXT MCP Server (Async with Annotated Params and Tool Metadata)...

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.