Binance MCP Server
Binance MCP Server
!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-serverNo 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 |
| No |
| Red de pruebas (fondos virtuales) / Red principal |
| No |
| Entrado de trading demo (comparte con los dedicials de red principal) |
| No | — | Enpoint REST de customizado (más prioridad) |
| No | — | Si no se rellena, las herramientas de trading no se registran |
| No | — | Igual que la anterior |
| No | — | Dirección de proxy HTTP/HTTPS |
| No |
| Tiempo de espera de las solicitudes (ms) |
| No |
| Número de reintentos de red |
| No |
| Base de retroceso de los reintentos (ms) |
| No |
| Ventana de corrección (ms) |
| No | Too las | Filtra de dominios de herramientes, separated by comas: |
| No |
| Nombre del service MCP |
| No |
| 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 |
| Precio de la última transacción |
| Mejor bid/ask + cantidad (mucho más liger que el orderbook) |
| Profundidad de niveles del orden book (5/10/20/50/100/500/1000) |
| Datos históricos de las vela |
| Vvariable 24 h / máxima / mínima / volumen |
| Precio de markup (= precios de led de liquidecion, incluye la tasa de financiación) |
| Total abreto de posiciones (OI) |
| Tasa de financiación actual ready of its superiores/inferores |
| Historial of tasas de financiación |
| Velas of contine de peroualados / temestre actual / stellite (análisis of base) |
| Reglas de trading / precisión / tamño mínimo de orden |
| Cops dea la derivación: datos of mercado + indicating + financing + orderbook in una vállama |
| Test de conectividad / sincronización of the clock in servidor |
| Histórico of stats of OI (only main) |
| Acción entre posiciones long / short of all cuentas (only main) |
| Proportion of s entre volúmenes de compar/venta taks (only main) |
| 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 |
|
M& |
|
Volatilidad |
|
Redundants |
|
Processing |
|
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 |
|
Ódenes |
|
Consultas |
|
Configuración |
|
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_PROXY→BINANCE_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_direct→inicator_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 ofmarket_evidee(one-time/plots with all indicators, all in a compose ofqueried; 6)MCP_TOL_DOMAINSfiltering,BINANCE_USE_EMO/BINANCE_BASE_URLenvironment 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 arrancadaAjuste automático of precision + minimum notional prevence validation
Validación fully alineada with of modern restrictions (
clientOrderIdchar set,GTDupper, 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 |
| arranque direct with tsx (development) |
| TypeScript tipose |
| node:test run all 19 tests (no network) |
| Compila in |
| Ejempie the compiled |
Liccia
MIT
Maintenance
Related MCP Servers
- AlicenseAqualityFmaintenanceA 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.169MIT
- AlicenseNot gradedqualityDmaintenanceA 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.20MIT
- FlicenseNot gradedqualityDmaintenanceEnables 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.
- FlicenseNot gradedqualityDmaintenanceProvides 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.
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.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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