crypto-orderbook-mcp

Integrations

  • Analyzes order book depth and imbalance for cryptocurrency trading pairs on Binance, providing real-time market structure insights.

  • Retrieves and analyzes order book metrics for cryptocurrency trading pairs on Coinbase, enabling cross-exchange comparison of market depth.

  • Formats order book comparison data across multiple exchanges as Markdown tables for clear visualization and analysis.

暗号注文帳MCP

主要な暗号通貨取引所全体の注文簿の深さと不均衡を分析し、AI エージェントと取引システムにリアルタイムの市場構造の洞察を提供する MCP サーバー。

特徴

  • 注文簿メトリクス: 特定の取引所の特定の取引ペアのビッド/アスクの深さと不均衡を計算します。
  • 取引所間の比較: 統合された Markdown テーブルで、複数の取引所の注文書の深さと不均衡を比較します。
  • サポートされている取引所:Binance、Kraken、Coinbase、Bitfinex、Okx、Bybit

インストール

前提条件

  • Python 3.10以上
  • uv (Python パッケージとプロジェクト マネージャー)

設定

  1. リポジトリのクローンを作成する
    git clone https://github.com/kukapay/crypto-orderbook-mcp.git cd crypto-orderbook-mcp
  2. 依存関係をインストールするuvを使用して必要なパッケージをインストールします。
    uv sync
  3. MCP クライアント (Claude Desktop) を構成する
    "mcpServers": { "crypto-orderbook-mcp": { "command": "uv", "args": [ "--directory", "/absolute/path/to/crypto-orderbook-mcp", "run", "main.py" ] } }

使用法

サーバーは主に 2 つのツールを提供します。

  1. calculate_orderbook : 指定された取引所の取引ペアのビッド深度、アスク深度、および不均衡を計算します。
  2. compare_orderbook : 複数の取引所の入札深度、売り注文深度、不均衡を比較し、Markdown テーブルを返します。

例: 注文書メトリクスの計算

プロンプト: 「1% の深度範囲で Binance の BTC/USDT の注文簿メトリックを計算します。」

期待される出力(JSON オブジェクト):

{ "exchange": "binance", "symbol": "BTC/USDT", "bid_depth": 123.45, "ask_depth": 234.56, "imbalance": 0.1234, "mid_price": 50000.0, "timestamp": 1698765432000 }

例: 取引所間の注文簿を比較する

プロンプト: 「Binance、Kraken、OKX の BTC/USDT の注文簿メトリックを 1% の深度範囲で比較します。」

予想される出力(マークダウンテーブル):

| exchange | bid_depth | ask_depth | imbalance | |----------|-----------|-----------|-----------| | binance | 123.45 | 234.56 | 0.1234 | | kraken | 89.12 | 178.34 | 0.0987 | | okx | 145.67 | 256.78 | 0.1345 |

ライセンス

このプロジェクトはMITライセンスの下で提供されています。詳細はLICENSEファイルをご覧ください。

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

暗号オーダーブック-MCP

  1. 特徴
    1. インストール
      1. 前提条件
      2. 設定
    2. 使用法
      1. 例: 注文書メトリクスの計算
      2. 例: 取引所間の注文簿を比較する
    3. ライセンス

      Related MCP Servers

      • A
        security
        A
        license
        A
        quality
        An MCP server implementation that integrates with Hyperliquid exchange, providing access to crypto market data including mid prices, historical candles, and L2 order books.
        Last updated -
        3
        14
        5
        TypeScript
        MIT License

      View all related MCP servers

      ID: n8tp7eniu9