Binance MCP Server
A Model Context Protocol (MCP) server implementation for Binance market data with WebSocket support.
Features
- Real-time market data streaming via WebSocket
- Support for both spot and futures markets
- Automatic reconnection with exponential backoff
- Type-safe message handling
- Comprehensive error handling
Installation
Usage
Starting the Server
WebSocket Stream Types
The following stream types are supported:
- `trade`: Real-time trade data
- `ticker`: 24-hour rolling window price change statistics
- `bookTicker`: Best bid/ask price and quantity
- `kline`: Candlestick data
- `markPrice`: Mark price and funding rate (futures only)
- `fundingRate`: Funding rate data (futures only)
Example Usage in Claude Desktop
Development
Running Tests
Building
License
Private