MCP.so
ログイン

CCXT MCP Server

@doggybee

基本情報

カテゴリ

その他

ライセンス

MIT

トランスポート

stdio

作者

doggybee

CCXT MCP Server について

High-performance CCXT MCP server for cryptocurrency exchange integration

#ccxt#cryptocurrency#exchange-integration

CCXT MCP Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "ccxt": {
      "command": "npx",
      "args": [
        "@mcpfun/mcp-server-ccxt"
      ],
      "env": {
        "DEFAULT_EXCHANGE": "binance",
        "LOG_LEVEL": "info",
        "USE_PROXY": "false"
      },
      "description": "CCXT MCP Server for cryptocurrency exchange integration"
    }
  }
}

CCXT MCP Server のツール

24

Get CCXT cache statistics

Clear CCXT cache

Set logging level

List all available cryptocurrency exchanges

Get current ticker information for a trading pair

Get ticker information for multiple trading pairs at once

Get market order book for a trading pair

Get OHLCV candlestick data for a trading pair

Get recent trades for a trading pair

Get all available markets for an exchange

Get exchange information and status

Get futures leverage tiers for trading pairs

Get current funding rates for perpetual contracts

Get market types supported by an exchange

Get your account balance from a crypto exchange

Place a market order on an exchange

Set leverage for futures trading

Set margin mode for futures trading

Place a futures market order

Get the current proxy configuration

Configure proxy settings for all exchanges

Test the proxy connection with a specified exchange

Clear exchange instance cache to apply configuration changes

Set default market type for all exchanges

概要

What is CCXT MCP Server?

It is a high‑performance server that connects LLMs (like Claude and GPT) to 20+ cryptocurrency exchanges through the Model Context Protocol (MCP) and the CCXT library, enabling real‑time market data access and trading operations.

How to use CCXT MCP Server?

Install globally via npm install -g @mcpfun/mcp-server-ccxt and start with mcp-server-ccxt, or run directly with npx @mcpfun/mcp-server-ccxt. Create a .env file with exchange API keys (optional for public data) and proxy settings (optional). Then add the server to your claude_desktop_config.json and restart Claude for Desktop.

Key features of CCXT MCP Server

  • Connects to 20+ cryptocurrency exchanges
  • Supports spot, futures, and swap markets
  • Proxy configuration for exchange access
  • Optimized caching and adaptive rate limiting
  • MCP‑standard compliant with LLMs

Use cases of CCXT MCP Server

  • Get current ticker prices for any trading pair
  • Retrieve order books, OHLCV candlestick data, and recent trades
  • Compare asset prices across multiple exchanges
  • Check account balances (requires API keys)
  • Place market/limit orders and manage positions (requires API keys)

よくある質問

1

What exchanges does the server support?

It connects to over 20 cryptocurrency exchanges via the CCXT library.

2

Do I need API keys to use the server?

API keys are optional for public market data tools, but required for private tools such as account balances and order placement.

3

How do I configure a proxy?

Set `USE_PROXY=true` and `PROXY_URL=http://username:password@your-proxy-server:port` in your `.env` file.

4

How are API keys secured?

Best practices recommend creating dedicated API keys with minimal permissions, disabling withdrawals, using IP whitelisting, and never committing keys to version control.

5

What performance optimizations exist?

The server uses an LRU caching system with different TTLs (e.g., ticker: 10s, order book: 5s, market data: 1h) and adaptive rate limiting with exponential backoff.

コメント

「その他」の他のコンテンツ