drio
Open app

Binance MCP Server

Source

Mirror of

Catalog onlyCatalog onlySTDIO

Overview

Binance MCP Server is a Model Context Protocol (MCP) server implementation designed to provide real-time market data for Binance, utilizing WebSocket technology for efficient data streaming.

To use the Binance MCP Server, install the necessary packages using npm, start the server, and subscribe to the desired market data streams.

  • 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
  1. Streaming real-time trade data for cryptocurrency trading applications.
  2. Monitoring price changes and market statistics for investment analysis.
  3. Integrating with trading bots to automate trading strategies based on live data.

Add to your AI client

Use these steps to connect Binance MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "qeinfinity-binance-mcp-server-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-qeinfinity-binance-mcp-server-mcp-mirror"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "qeinfinity-binance-mcp-server-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-qeinfinity-binance-mcp-server-mcp-mirror"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "qeinfinity-binance-mcp-server-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-qeinfinity-binance-mcp-server-mcp-mirror"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "qeinfinity-binance-mcp-server-mcp-mirror": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-qeinfinity-binance-mcp-server-mcp-mirror"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "qeinfinity-binance-mcp-server-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-qeinfinity-binance-mcp-server-mcp-mirror"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "qeinfinity-binance-mcp-server-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-qeinfinity-binance-mcp-server-mcp-mirror"
      ]
    }
  }
}

FAQ

What types of market data can I access?

You can access trade data, ticker statistics, order book data, candlestick data, and funding rates for futures.

Is there support for both spot and futures markets?

Yes! The server supports real-time data for both spot and futures markets.

How do I handle incoming data?

You can subscribe to specific streams and handle incoming data using event listeners.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":607,"uuid":"830d1945-745d-4fd7-9d31-5ccb3fc78ba5","name":"qeinfinity_binance-mcp-server","title":"Binance MCP Server","description":"Mirror of","avatar_url":"https://avatars.githubusercontent.com/u/192820360?v=4","created_at":"2024-12-30T03:23:55.405Z","updated_at":"2025-02-23T07:15:12.423Z","status":"created","author_name":"MCP-Mirror","author_avatar_url":"https://avatars.githubusercontent.com/u/192820360?v=4","tags":"binance,mcp-server,websocket,market-data","category":"research-and-data","is_featured":false,"sort":1,"url":"https://github.com/MCP-Mirror/qeinfinity_binance-mcp-server","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":null,"user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]