Skip to main content
Glama
Binance Cryptocurrency MCP

Binance Cryptocurrency MCP

by snjyor

Binance Cryptocurrency MCP

Model Context Protocol service for accessing Binance cryptocurrency market data.

Overview

This MCP service allows AI agents (such as Claude, Cursor, Windsurf, etc.) to execute Binance API calls and obtain real-time data from the cryptocurrency market, including prices, candlestick charts, order books, and more.

Purpose You can directly ask AI about the latest cryptocurrency prices, trading volume, price trends, and other information, without having to check the Binance website or use other tools.

Available Information

Through this MCP service, you can obtain the following information:

  • Current price information - Get real-time prices for specified cryptocurrencies

  • Order book data - View buy and sell order depth

  • Candlestick chart data - Obtain candlestick data for different time periods

  • 24-hour price changes - View price changes within 24 hours

  • Trading history - View recent trading records

  • Price statistics - Get price statistics for various time windows

Related MCP server: Binance Cryptocurrency MCP

Available Tools

Tool

Description

get_price

Get current price for specified cryptocurrency

get_order_book

Get order book data

get_recent_trades

Get list of recent trades

get_historical_trades

Get historical trade data

get_aggregate_trades

Get list of aggregate trades

get_klines

Get K-line/candlestick data

get_ui_klines

Get UI-optimized K-line data

get_avg_price

Get current average price

get_24hr_ticker

Get 24-hour price change statistics

get_trading_day_ticker

Get trading day market information

get_book_ticker

Get order book ticker

get_rolling_window_ticker

Get rolling window price change statistics

Using in Cursor

Global Installation

Use npx to run the MCP service:

npx -y @snjyor/binance-mcp@latest

In Cursor IDE:

  1. Go to Cursor Settings > MCP

  2. Click + Add New MCP Service

  3. Fill in the form:

    • Name: binance

    • Type: command

    • Command: npx -y @snjyor/binance-mcp@latest

Project Installation

Add a .cursor/mcp.json file to your project:

{
  "mcpServers": {
    "binance": {
      "command": "npx",
      "args": [
        "-y",
        "@snjyor/binance-mcp@latest"
      ]
    }
  }
}

Usage

After configuration, the Binance market data tools will be automatically available to Cursor AI agents:

  1. The tool will be listed under Available Tools in the MCP settings

  2. Agents will automatically use it when relevant

  3. You can explicitly ask agents to use these tools

Using in Other MCP-Compatible Environments

{
  "mcpServers": {
    "binance": {
      "command": "npx",
      "args": [
        "-y",
        "@snjyor/binance-mcp@latest"
      ]
    }
  }
}

Usage Examples

Here are some usage examples:

Query Bitcoin Price

Please tell me the current price of Bitcoin

View Ethereum's 24-hour Price Movement

How has Ethereum's price changed in the past 24 hours?

Get BNB's K-line Data

Show me the daily K-line data for BNB over the last 5 days

Development

# Install dependencies
npm install

# Build
npm run build

# Local testing
npm run start

Debugging Server

To debug your server, you can use MCP Inspector.

First build the server

npm run build

Run the following command in terminal:

# Start MCP Inspector and server
npx @modelcontextprotocol/inspector node dist/index.js

License

Apache 2.0

Available Tools

12 tools
get_24hr_tickerD

Inputs: symbol, symbols.

get_aggregate_tradesD

Inputs: symbol (required), fromId, startTime, endTime, +1 more.

get_avg_priceD

Inputs: symbol (required).

get_book_tickerD

Inputs: symbol, symbols.

get_historical_tradesD

Inputs: symbol (required), limit, fromId.

get_klinesD

Inputs: symbol (required), interval (required), startTime, endTime, +2 more.

get_order_bookD

Inputs: symbol (required), limit.

get_priceD

Inputs: symbol, symbols.

get_recent_tradesD

Inputs: symbol (required), limit.

get_rolling_window_tickerD

Inputs: symbol, symbols, windowSize, type.

get_trading_day_tickerD

Inputs: symbol, symbols, timeZone, type.

get_ui_klinesD

Inputs: symbol (required), interval (required), startTime, endTime, +2 more.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    D1.9/5.0

    Scored across 12 tools

    Disambiguation4/5

    Most tools have clearly distinct purposes focused on different market data aspects (e.g., ticker data, trades, order book, price, klines). However, some potential overlap exists between get_24hr_ticker, get_rolling_window_ticker, and get_trading_day_ticker, which could cause confusion about which specific ticker data is needed.

    Naming Consistency5/5

    All tools follow a consistent verb_noun pattern with 'get_' prefix followed by descriptive snake_case nouns. The naming is highly predictable and uniform throughout the entire tool set.

    Tool Count4/5

    12 tools is reasonable for a cryptocurrency exchange data server, providing comprehensive market data coverage. It's slightly on the higher side but well-justified for the domain, though some consolidation might be possible (e.g., multiple ticker tools).

    Completeness3/5

    The tool set covers extensive market data retrieval (tickers, trades, order book, price, klines) but lacks trading operations (create/cancel orders, account management) and other exchange functionalities. This creates a significant gap for agents needing to perform actual trading actions beyond data observation.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      C
      quality
      D
      maintenance
      Provides an MCP server that allows large language models to access real-time and historical Bitcoin market data from Binance, including current prices, order book data, recent trades, and price history through a standardized interface.
      1
      39 npm
      3
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI agents to access real-time Binance cryptocurrency market data including prices, order books, candlestick charts, trading history, and 24-hour statistics through natural language queries.
      17 npm
      Apache 2.0
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides real-time cryptocurrency market data from Binance API, including price queries, 24h statistics, K-line data, market trend analysis, and order book depth information for trading analysis.
      25 npm
      1
      MIT
    • A
      license
      D
      quality
      D
      maintenance
      Enables AI agents to access real-time Binance cryptocurrency market data including prices, order books, candlestick charts, trading history, and 24-hour statistics through natural language queries.
      12
      Apache 2.0