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
npm install
Usage
Starting the Server
npm start
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
// Subscribe to trade and ticker streams for BTC/USDT
await server.subscribe('BTCUSDT', 'spot', ['trade', 'ticker']);
// Handle incoming data
server.onStreamData('BTCUSDT', 'trade', (data) => {
console.log('New trade:', data);
});
Development
Running Tests
npm test
Building
npm run build
License
Private
Binance Market Data Server
Project Details
- qeinfinity/binance-mcp-server
- MIT License
- Last Updated: 4/11/2025
Categories
Recomended MCP Servers
Add Obsidian integrations like semantic search and custom Templater prompts to Claude or any MCP client.
Simple CLI MCP Client Implementation Using LangChain ReAct Agent / Python
An MCP server with typescript for github PR analysis
Model Context Protocol server for Daipendency
MCP Server for SearXNG
A Model Control Protocol (MCP) server that allows Claude to communicate with locally running LLM models via LM...
An MCP server that integrates with the Freqtrade cryptocurrency trading bot.
Allow AI to wade through complex OpenAPIs using Simple Language
Expose llms-txt to IDEs for development





