Skip to main content
Glama
iuk-ink

Binance MCP Server

Binance MCP Server

Version Node.js !License](LICENSE)

Servidor MCP de futuros USD-M de Binance basado en el Model Context Protocol, que ofrece a los asistentes de IA 61 herramientas MCP que cubren datos de mercado, indicadores técnicos, análisis de riesgo y trading de futuros.

Está construido sobre el SDK de MCP server v2 y el SDK oficial de Binance (@binance/derivatives-trading-usds-futures); todos los valores se ajustan automáticamente a las reglas de precisión del exchange, con caché de mercado de dos niveles, recupeación idempotente ante el timeout -1007 y detección de la desviación del reljo.

Inicio rápido

Experiencia sin configuración (solo análisi de riesgo)

npx @iuk-ink/binance-mcp-server

No necesitas API Key; por defector se conecta a la red de pruebas y puedes usar las herramientas de mercado, indicadores y análisi de ríis.

Conectar el cliente MCP

{
  "mcpServers": {
    "binance": {
      "command": "npx",
      "args": ["-y", "@iuk-ink/binance-mcp-server"],
      "env": {
        "BINANCE_TESTNET": "true"
      }
    }
  }
}

Si necesitas las funcions de trading, añade BINANCE_API_KEY y BINANCE_API_SECRET.

Variables de entorno

Variable

Obligatorio

Valor por defector

Descripción

BINANCE_TESTNET

No

true

Red de pruebas (fondos virtuales) / Red principal

BINANCE_USE_EMO

No

false

Entrado de trading demo (comparte con los dedicials de red principal)

BINANCE_BASE_URL

No

Enpoint REST de customizado (más prioridad)

BINANCE_API_KEY

No

Si no se rellena, las herramientas de trading no se registran

BINANCE_API_SECRET

No

Igual que la anterior

BINANCE_PROXY_URL

No

Dirección de proxy HTTP/HTTPS

BINANCE_TIMEOUT

No

10000

Tiempo de espera de las solicitudes (ms)

BINANCE_RETRIES

No

3

Número de reintentos de red

BINANCE_BACKOFF

No

1000

Base de retroceso de los reintentos (ms)

BINANCE_RECV_WINDOW

No

5000

Ventana de corrección (ms)

MCP_TOL_DOMAINS

No

Too las

Filtra de dominios de herramientes, separated by comas: market,trading,indicator,Analysis

MCP_SERVER_NAME

No

binance-mcp-server

Nombre del service MCP

LOG_LEVEL

No

info

debug / info / warn / error

Related MCP server: Binance MCP Server

Lista de herramientes (61 en rede)

En la red de pruebas son 57 (4 euros del indicador of sentimiento only available "Only red principal", no registaran).

Datos de mercado (18)

Herramienta

Descripción

market_price

Precio de la última transacción

market_book_ticker

Mejor bid/ask + cantidad (mucho más liger que el orderbook)

market_orderbook

Profundidad de niveles del orden book (5/10/20/50/100/500/1000)

market_klines

Datos históricos de las vela

market_24hr_ticker

Vvariable 24 h / máxima / mínima / volumen

market_mark_price

Precio de markup (= precios de led de liquidecion, incluye la tasa de financiación)

market_open_interest

Total abreto de posiciones (OI)

market_funding_rate

Tasa de financiación actual ready of its superiores/inferores

market_funding_rate_history

Historial of tasas de financiación

market_continuous_klines

Velas of contine de peroualados / temestre actual / stellite (análisis of base)

market_exchange_info

Reglas de trading / precisión / tamño mínimo de orden

market_overview

Cops dea la derivación: datos of mercado + indicating + financing + orderbook in una vállama

market_ping/market_time

Test de conectividad / sincronización of the clock in servidor

market_open_interest_hist

Histórico of stats of OI (only main)

market_long_short_ratio

Acción entre posiciones long / short of all cuentas (only main)

market_taker_volume

Proportion of s entre volúmenes de compar/venta taks (only main)

market_top_trader_ratio

Proportion de posiciones long/short of los grandes traders (solo main)

Indicadores técnicos (19)

disoance direct: in one step "obtain ke linas → calcula los indicadores", no necesito llamar primero to market_klines.

Categorras

Herramientas

Tendencia

inicator_sma / inicator_ema / inicator_macd / inicator_adx / indicador_super_trenda / indicator_wap

M&

inicator_rsi / inicator_schoh / inicator_ci / inicator_mfi / inicator_obv

Volatilidad

inicator_atr / inicator_bbons / inicator_volatility_reg

Redundants

inicator_ma_cross (cross of mobile) / inicator_macd_rsi / inicator_bb_rsi / inicator_diverrc (divergencia del RSI)

Processing

inicator_mult (una llamada = RSI + MACD + BBands + ATR / ADX / Stoch opcionales)

Análisis de riesgo (3)

Herramienta

Descripción

  • | analysis_sharpe | Sharp + Sort + rendimiento / vuelo anualizado (el factor of anualización is deduces de automatic in f for the off of the on the period) | | analysis_drawdown | Máxima inercerencia (incluye el preiones in picco and v an its position) | | analysis_var | VaR / CVaR (nivel de confianza adjustable 0,5~0,99) |

Operación de futuros (21, requiere API Key)

Categoría

Herramientas

Cuenta

trading_balance / trading_account / trading_positions / trading_income / trading_commission

Ódenes

trading_place_order (incluye simulacón with dryRun) / trading_place_algo (stop loss / take profit / trailing stop) / trading_modify_order / trading_canc_order / trading_canc_un_algo / trading_cancel_all

Consultas

trading_get_order / trading_open_orders / trading_order_history / trading_trades / trading_force_orders / trading_alg_oders

Configuración

trading_set_everage / trading_set_margin_type / trading_position_margin / trading_position_mode

Coloca ción de ódenes automática: adjust the precision of the price/cantidad (por redondeo a la baja), valida the nominal nominal mínimo and, si pumpigo el timeout de -1007, see la state of la opera with un ID de orden idempotente and decides if reentnet.

Migration de 2.x a 3.x

MCP SDK: @modelcontecontextprotocol/sdk@1@modelcontecontextprotocol/server@2 (cambio of payetage).

2to* **Official**: el paquete de la comunidadbinance@3→ el official@binance/derivatives-redingusds-futures@384 **Node.js**:>=18>=205 **Varible de proxy**:HTTP_PROXYBINANCE_PROXY_URL6 **Conjunto de herramientas 76 → 61**: se dasio el dominio a de estadística (media/extremios/quartil etc.) y las variants redundantes of stand-alone/with signals; las herramientas con icon suffix2pas to "directo" no suffix (examplersi_directinicator_rsi); los indicadores of riesgo de nombraron (risk*analysis_*) 7 **Prefix of tool names**: all tools have domain prefixes (market_/inicator_/analysis_/trading_`), the existing AI prompts and flowos should adapt to the new names.

4. Capacidades nuevas

  • market_erview: see of market_evidee (one-time/plots with all indicators, all in a compose of queried; 6) MCP_TOL_DOMAINS filtering, BINANCE_USE_EMO / BINANCE_BASE_URL environment variable ambient)

  • ~ Levels (exchange info 5m + K 3s, dedup for flights in progress)

  • [Recuperación idempotente ante timeout -1007` and detección of "clock" at arrancada

  • Ajuste automático of precision + minimum notional prevence validation

      1. Validación fully alineada with of modern restrictions (clientOrderId char set, GTD upper, etc.)

AI Guide to use a IA (Skill)

The repo includes skills-.

Asistants with Skill support (Claude Code/Tra) can mount it directly, so I "know" to use well.

Local development

"Then: GXP3"

Comandos

Comando

Descripción

npm run do

arranque direct with tsx (development)

npm run typeck

TypeScript tipose

npm test

node:test run all 19 tests (no network)

npm run build

Compila in dist/

npm start

Ejempie the compiled

Liccia

MIT

Related MCP Servers

  • A
    license
    A
    quality
    F
    maintenance
    A Model Context Protocol server implementation that enables AI assistants to interact with the Paradex perpetual futures trading platform, allowing for retrieving market data, managing trading accounts, placing orders, and monitoring positions.
    16
    9
    MIT
  • 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.
    20
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables automated cryptocurrency trading on Binance and provides integration for monitoring Base network operations. It allows users to execute trades, fetch market data, and calculate technical indicators like RSI and MACD through the Model Context Protocol.
  • F
    license
    Not graded
    quality
    D
    maintenance
    Provides real-time investment news, technical analysis via TA-Lib, and Binance trading capabilities including order management and market data retrieval. It enables AI assistants to perform financial market research and execute trades through the Model Context Protocol.

View all related MCP servers

Related MCP Connectors

  • Binance Futures market intelligence: funding, OI, order book, klines, cross-exchange comparison.

  • A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…

  • Crypto perps data for AI agents: funding rates, open interest, liquidations, order book, CVD.

View all MCP Connectors

Latest Blog Posts

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/iuk-ink/binance-mcp-server'

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