Skip to main content
Glama
Binance MCP Server

Binance MCP Server

by qeinfinity

바이낸스 MCP 서버

WebSocket을 지원하는 Binance 시장 데이터를 위한 MCP(Model Context Protocol) 서버 구현입니다.

특징

  • WebSocket을 통한 실시간 시장 데이터 스트리밍

  • 현물 및 선물 시장 모두 지원

  • 지수 백오프를 통한 자동 재연결

  • 유형 안전 메시지 처리

  • 포괄적인 오류 처리

Related MCP server: Binance MCP Server

설치

지엑스피1

용법

서버 시작

npm start

WebSocket 스트림 유형

다음 스트림 유형이 지원됩니다.

  • trade : 실시간 거래 데이터

  • ticker : 24시간 이동 기간 가격 변동 통계

  • bookTicker : 최고 입찰가/매도가 및 수량

  • kline : 캔들스틱 데이터

  • markPrice : 시장 가격 및 자금 조달 비율(선물만 해당)

  • fundingRate : 자금 조달 비율 데이터(선물만 해당)

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);
});

개발

테스트 실행

npm test

건물

npm run build

특허

사적인

Available Tools

6 tools
get_futures_funding_rateC

Get current funding rate for a futures trading pair

Inputs: symbol (required).

get_futures_open_interestC

Get current open interest for a futures trading pair

Inputs: symbol (required).

get_klinesC

Get historical candlestick data

Inputs: symbol (required), type (required), interval (required), limit.

get_market_dataC

Get comprehensive market data for a trading pair

Inputs: symbol (required), type (required).

subscribe_market_dataC

Subscribe to real-time market data updates

Inputs: symbol (required), type (required), streams (required).

test_futures_endpointsD

Test individual futures endpoints

Inputs: symbol (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.8/5.0

    Scored across 6 tools

    Disambiguation4/5

    Most tools have distinct purposes, with clear separation between historical data (get_klines), current data (get_market_data, get_futures_funding_rate, get_futures_open_interest), real-time updates (subscribe_market_data), and testing (test_futures_endpoints). However, get_market_data might overlap with the more specific futures tools in scope, causing minor ambiguity.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern using snake_case, such as get_futures_funding_rate, subscribe_market_data, and test_futures_endpoints. This predictability makes it easy for agents to understand and use the tools without confusion.

    Tool Count4/5

    With 6 tools, the count is reasonable for a Binance market data server, covering key areas like historical and real-time data, futures metrics, and testing. It's slightly lean but functional, as it could benefit from more tools for broader market coverage (e.g., spot trading or account management).

    Completeness3/5

    The tools provide good coverage for market data retrieval and futures-specific metrics, but there are notable gaps. For a Binance server, missing operations like placing trades, managing orders, or accessing account information limit its completeness, as agents cannot perform full trading workflows.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      A 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.
      21
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      A Model Context Protocol server that provides Claude Code with seamless access to Binance exchange API functionality for market data retrieval, account management, and trading operations.
      10
      193 npm
      34
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      MCP server for Binance USDT-M Futures trading — exposes tools for market data, account state, order management, and position/margin control.
      23
      8
      Apache 2.0
    • A
      license
      Not graded
      quality
      D
      maintenance
      An HTTP-based Model Context Protocol server that provides tools and resources for accessing real-time cryptocurrency data from the Binance API. It enables users to fetch prices, analyze market changes, and track activity via a streamable endpoint.
      ISC