Skip to main content
Glama

Binance MCP Server

by qeinfinity

币安MCP服务器

支持 WebSocket 的币安市场数据模型上下文协议 (MCP) 服务器实现。

特征

  • 通过 WebSocket 传输实时市场数据
  • 支持现货和期货市场
  • 使用指数退避算法自动重新连接
  • 类型安全的消息处理
  • 全面的错误处理

安装

npm install

用法

启动服务器

npm start

WebSocket 流类型

支持以下流类型:

  • trade :实时交易数据
  • ticker :24小时滚动窗口价格变动统计
  • bookTicker :最佳买入/卖出价格和数量
  • kline :K线数据
  • 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

执照

私人的

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

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.

通过 WebSockets 传输实时币安市场数据(现货和期货)的服务器实现,使应用程序能够通过模型上下文协议接收和处理加密货币市场信息。

  1. 特征
    1. 安装
      1. 用法
        1. 启动服务器
        2. WebSocket 流类型
        3. Claude Desktop 中的示例用法
      2. 发展
        1. 运行测试
        2. 建筑
      3. 执照

        Related MCP Servers

        • A
          security
          A
          license
          A
          quality
          A Model Context Protocol server that provides read-only access to Bybit's cryptocurrency exchange API, allowing users to query real-time cryptocurrency data using natural language.
          Last updated -
          9
          14
          9
          TypeScript
          MIT License
        • A
          security
          F
          license
          A
          quality
          A Model Context Protocol server that provides access to CoinMarketCap's cryptocurrency data, enabling AI applications to retrieve cryptocurrency listings, quotes, and detailed information.
          Last updated -
          3
          10
          Python
          • Linux
          • Apple
        • A
          security
          A
          license
          A
          quality
          A Model Context Protocol (MCP) server that provides comprehensive cryptocurrency analysis using the CoinCap API. This server offers real-time price data, market analysis, and historical trends through an easy-to-use interface. Updated to use Coin Cap API v3
          Last updated -
          3
          227
          TypeScript
          MIT License
          • Apple
        • -
          security
          A
          license
          -
          quality
          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.
          Last updated -
          4
          Python
          MIT License

        View all related MCP servers

        MCP directory API

        We provide all the information about MCP servers via our MCP API.

        curl -X GET 'https://glama.ai/api/mcp/v1/servers/qeinfinity/binance-mcp-server'

        If you have feedback or need assistance with the MCP directory API, please join our Discord server