drio
Open app

Binance MCP Server

Source

Catalog onlyCatalog onlySTDIO

Overview

Binance MCP Server is a Model Context Protocol (MCP) server implementation designed for streaming market data from Binance, featuring WebSocket support for real-time updates.

To use the server, first install the necessary packages with npm install, then start the server using npm start. Users can subscribe to various market data streams via WebSocket.

  • 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 live trade data for automated trading bots.
  2. Monitoring market fluctuations for financial analytics.
  3. Integrating with trading platforms for enhanced data visibility.

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": {
    "binance-mcp-server-qeinfinity": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-binance-mcp-server-qeinfinity"
      ]
    }
  }
}

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": {
    "binance-mcp-server-qeinfinity": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-binance-mcp-server-qeinfinity"
      ]
    }
  }
}

Claude Code

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

.mcp.json (project root)

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

VS Code (Copilot)

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

.vscode/mcp.json

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

Windsurf

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

~/.codeium/windsurf/mcp_config.json

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

Cline

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

Cline MCP Settings (via UI)

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

FAQ

What type of data can I stream?

You can stream real-time trade data, ticker statistics, order book data, candlestick data, mark prices, and funding rates for spot and futures markets.

Is there any support for automatic reconnection?

Yes, the server provides automatic reconnection with exponential backoff to handle connectivity issues.

Can I test the server before using it in production?

Yes, you can run tests using `npm test` to ensure functionality before deploying.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":393,"uuid":"d758e664-84ee-4bad-b82f-54df2b1dd724","name":"binance-mcp-server","title":"Binance MCP Server","description":null,"avatar_url":"https://avatars.githubusercontent.com/u/185634439?v=4","created_at":"2024-12-15T06:44:59.197Z","updated_at":"2024-12-16T06:52:35.768Z","status":"created","author_name":"qeinfinity","author_avatar_url":"https://avatars.githubusercontent.com/u/185634439?v=4","tags":"[]","category":"research-and-data","is_featured":false,"sort":1,"url":"https://github.com/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"}]]}]