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.
Crypto Orderbook MCP
An MCP server that analyzes order book depth and imbalance across major crypto exchanges, empowering AI agents and trading systems with real-time market structure insights.
Features
- Order Book Metrics: Calculate bid/ask depth and imbalance for a specified trading pair on a given exchange.
- Cross-Exchange Comparison: Compare order book depth and imbalance across multiple exchanges in a unified Markdown table.
- Supported Exchanges: Binance, Kraken, Coinbase, Bitfinex, Okx, Bybit
Installation
Prerequisites
- Python 3.10 or higher
- uv (Python package and project manager)
Setup
- Clone the RepositoryCopy
- Install DependenciesUse
uv
to install the required packages:Copy - Configure the MCP Client(Claude Desktop)Copy
Usage
The server provides two main tools:
calculate_orderbook
: Computes bid depth, ask depth, and imbalance for a trading pair on a specified exchange.compare_orderbook
: Compares bid depth, ask depth, and imbalance across multiple exchanges, returning a Markdown table.
Example: Calculate Order Book Metrics
Prompt: "Calculate the order book metrics for BTC/USDT on Binance with a 1% depth range."
Expected Output (JSON object):
Example: Compare Order Book Across Exchanges
Prompt: "Compare the order book metrics for BTC/USDT across Binance, Kraken, and OKX with a 1% depth range."
Expected Output (Markdown table):
License
This project is licensed under the MIT License. See the LICENSE file for details.
You must be authenticated.
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.
crypto-orderbook-mcp
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityAn 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 -3145TypeScriptMIT License
- PythonMIT License
- PythonMIT License
- PythonMIT License