CCXT MCP Server logo

CCXT MCP Server

by lazy-dinosaur

CCXT MCP Server allows AI models to interact with cryptocurrency exchange APIs through the Model Context Protocol (MCP). It uses the CCXT library to provide access to over 100 cryptocurrency exchanges and their trading capabilities.

View on GitHub

Last updated: N/A

What is CCXT MCP Server?

CCXT MCP Server is a server that bridges the gap between AI models and cryptocurrency exchanges, enabling AI-driven trading strategies and analysis via the Model Context Protocol (MCP) and the CCXT library.

How to use CCXT MCP Server?

Install the package globally using npm (npm install -g @lazydino/ccxt-mcp) or run it directly with npx (npx @lazydino/ccxt-mcp). Configure the server by either including account information directly in Claude Desktop settings or by using a separate configuration file, specifying the file path in Claude Desktop.

Key features of CCXT MCP Server

  • Market Information Retrieval (list exchanges, view market data, get price information, view order books, search historical OHLCV data)

  • Trading Functions (create market/limit orders, cancel orders, view account balances, check trading history)

  • Trading Analysis (daily/weekly/monthly performance analysis, win rate calculation, average profit/loss ratio, maximum consecutive loss/profit series analysis, asset variation tracking)

  • Position Management (capital ratio trading, futures market leverage setting, dynamic position sizing, split buy/sell strategy implementation)

  • Risk Management (technical indicator-based stop loss, volatility-based stop loss/take profit, maximum allowable loss limit, dynamic take profit setting)

Use cases of CCXT MCP Server

  • Automated trading based on AI-driven analysis

  • Integrating cryptocurrency trading into AI-powered applications

  • Analyzing trading performance and identifying patterns using AI

  • Managing cryptocurrency portfolios with AI assistance

FAQ from CCXT MCP Server

What is CCXT?

CCXT is a JavaScript / Python / PHP cryptocurrency trading library to access cryptocurrency exchange markets and perform trading actions.

What is MCP?

MCP stands for Model Context Protocol, a standardized communication protocol between AI models and external tools/resources.

How do I configure the server?

You can configure the server by either including account information directly in Claude Desktop settings or by using a separate configuration file.

Where can I find an example configuration file?

You can find an example configuration file at examples/config-example.json in the repository.

How do I contribute to this project?

Contributions are welcome! Please feel free to submit a Pull Request.