The Binance MCP Server provides real-time and historical market data streaming for both spot and futures markets via WebSocket.
You can:
- Stream real-time market data (trades, tickers, candlesticks, depth, mark price) for specific trading pairs
- Retrieve comprehensive market data for spot and futures markets
- Subscribe to multiple market data streams simultaneously for real-time updates
- Fetch historical candlestick data with customizable intervals
- Access futures-specific data including open interest and funding rates
- Test endpoints and manage automatic reconnections with exponential backoff
- Ensure type-safe message handling with comprehensive error management
Provides real-time market data streaming from Binance, supporting both spot and futures markets. Offers access to trade data, price statistics, order book information, candlestick data, mark prices, funding rates, and open interest information through various endpoints and WebSocket streams.
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 dataticker
: 24-hour rolling window price change statisticsbookTicker
: Best bid/ask price and quantitykline
: Candlestick datamarkPrice
: Mark price and funding rate (futures only)fundingRate
: Funding rate data (futures only)
Example Usage in Claude Desktop
Development
Running Tests
Building
License
Private
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.
Tools
A server implementation that streams real-time Binance market data (spot and futures) via WebSockets, enabling applications to receive and process cryptocurrency market information through the Model Context Protocol.
Related Resources
Related MCP Servers
- -securityFlicense-qualityThis server provides a robust interface for Binance spot trading operations, including secure management of API credentials, execution and management of spot orders, and monitoring of account balances and open orders.Last updated -314TypeScript
- -securityAlicense-qualityA Model Context Protocol server that exposes Binance cryptocurrency exchange data to LLMs, allowing agents to access real-time prices, order books, and historical market data without requiring API keys.Last updated -11PythonMIT License
- AsecurityAlicenseAqualityA server that provides tools for retrieving real-time price information for various assets including precious metals and cryptocurrencies, allowing language models to access and display current asset price data.Last updated -12612JavaScriptMIT License
- -securityAlicense-qualityA server that provides real-time cryptocurrency data through the Model Context Protocol, allowing access to detailed exchange information and current cryptocurrency rates from the CoinCap API.Last updated -21TypeScriptMIT License