Binance MCP Server
The Binance MCP Server provides 76+ tools for interacting with Binance USD-margined futures, covering market data, technical indicators, risk analysis, statistical utilities, and futures trading.
Market Data
Real-time prices, order book depth, best bid/ask quotes
K-line (candlestick) historical data with various intervals
24h ticker statistics (price change, high/low, volume)
Mark prices, funding rates (current and historical), open interest
Aggregated/recent trades, exchange info, and API connectivity tests
Technical Indicators
Trend: SMA, EMA, DEMA, RMA, WMA, WSMA, DMA, ADX, Linear Regression, PSAR, VWAP, Zigzag
Momentum: RSI, Stochastic RSI, Stochastic Oscillator, MACD, AO, MOM, ROC, CCI, Williams %R
Volatility: Bollinger Bands, ATR, Acceleration Bands, OBV
Signals: EMA cross, MACD+RSI combo, Bollinger Bands+RSI, MA cross (golden/death cross); multi-indicator batch tool
Risk & Statistical Analysis
Sharpe, Sortino, and Calmar ratios; max drawdown; VaR and CVaR
Statistical utilities: mean, min/max, median, quartile, standard deviation
Win rate, profit/loss ratio, streak analysis, grid level calculation (arithmetic/geometric)
Futures Trading (requires API key)
Account: Balance, positions, income history, commission rates
Order Placement: Limit, market, stop, take-profit, and trailing stop orders; batch orders (up to 5)
Order Management: Modify, cancel single/batch/all orders; query order status and history
Quick Orders: One-click stop-loss or take-profit with percentage-based offset
Configuration: Leverage (1–125x), margin type (isolated/cross), position margin, position mode
History: Trade history, force liquidation orders, margin change history
Provides tools for interacting with Binance's futures API, enabling AI agents to access real-time market data, trade orders, and technical indicators.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Binance MCP ServerWhat is the current price of BTCUSDT?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Binance MCP Server
A Binance USDT-M futures MCP server based on Model Context Protocol, providing AI assistants with 61 MCP tools covering market data, technical indicators, risk analysis, and futures trading.
Built on the MCP server v2 SDK and Binance's official SDK (@binance/derivatives-trading-usds-futures), all values are automatically normalized according to exchange precision rules, with two-level market data caching, -1007 timeout idempotent recovery, and clock skew detection.
Quick Start
Zero-Configuration Experience (Analysis Only, No Trading)
npx @iuk-ink/binance-mcp-serverNo API key is required. Connect to the testnet by default and use the market data, indicator, and risk analysis tools.
Configuring an MCP Client
{
"mcpServers": {
"binance": {
"command": "npx",
"args": ["-y", "@iuk-ink/binance-mcp-server"],
"env": {
"BINANCE_TESTNET": "true"
}
}
}
}If you need trading features, add BINANCE_API_KEY and BINANCE_API_SECRET.
Environment Variables
Variable | Required | Default | Description |
| No |
| Testnet (virtual funds) / Mainnet |
| No |
| Demo trading environment (shares credentials with mainnet) |
| No | — | Custom REST endpoint (highest priority) |
| No | — | Trading tools are not registered if not set |
| No | — | Same as above |
| No | — | HTTP/HTTPS proxy address |
| No |
| Request timeout (ms) |
| No |
| Network retry count |
| No |
| Retry backoff base (ms) |
| No |
| Signature time window (ms) |
| No | All | Tool domain filter, comma-separated: |
| No |
| MCP server name |
| No |
| debug / info / warn / error |
Related MCP server: Binance MCP Server
Tool List (61, Mainnet)
On testnet, there are 57 tools (the 4 sentiment endpoints are only available on mainnet and are not registered).
Market Data (18)
Tool | Description |
| Latest trade price |
| Best bid/ask price + quantity (much lighter than orderbook) |
| Multi-level order book depth (5/10/20/50/100/500/1000) |
| Historical K-line data |
| 24h change / high / low / volume |
| Mark price (= liquidation reference price, includes funding rate) |
| Open interest (OI) |
| Current funding rate and bounds |
| Historical funding rates |
| Perpetual / quarterly / next quarter continuous contract K-lines (basis analysis) |
| Trading rules / precision / minimum order size |
| One-stop snapshot: market data + indicators + funding rate + order book, in a single call |
| Connectivity test / server clock calibration |
| OI historical statistics (mainnet only) |
| All-account long/short ratio (mainnet only) |
| Aggressive buy/sell volume ratio (mainnet only) |
| Large trader position long/short ratio (mainnet only) |
Technical Indicators (19)
Direct-connection design: complete "fetch K-lines → calculate indicator" in one step, without needing to call market_klines.
Category | Tools |
Trend |
|
Momentum |
|
Volatility |
|
Composite signals |
|
Batch |
|
Risk Analysis (3)
Tool | Description |
| Sharpe + Sortino + annualized return / volatility (annualization factor automatically inferred from the K-line timeframe) |
| Maximum drawdown (including peak/trough prices and positions) |
| VaR / CVaR (confidence level 0.5~0.99 adjustable) |
Futures Trading (21, API Key Required)
Category | Tools |
Account |
|
Order |
|
Query |
|
Configuration |
|
Orders are automatically handled: price / quantity precision rounded down (tickSize / stepSize), minimum notional value validation, and after a -1007 match timeout, it verifies whether the order was filled using an idempotent order ID before deciding whether to retry.
Migrating from 2.x to 3.x
Breaking Changes
MCP SDK:
@modelcontextprotocol/sdk@1→@modelcontextprotocol/server@2(official package rename)Binance integration: community package
binance@3→ official@binance/derivatives-trading-usds-futures@38Node.js:
>=18→>=20Proxy environment variable:
HTTP_PROXY→BINANCE_PROXY_URLToolset 76 → 61: removed the statistics helper domain (10 tools for mean / extremes / quartiles, etc.) and redundant standalone / signal variants of indicators; the legacy
_directtools are now direct-connect tools without the suffix (for example,rsi_direct→indicator_rsi); risk tools renamed (analysis_*fromrisk_*)Tool name prefixes: all tools have a domain prefix (
market_/indicator_/analysis_/trading_); existing AI client prompts and workflows must adapt to the new names
New Capabilities
market_overviewone-stop snapshot (aggregates market data / indicator / funding rate / order book in a single call)MCP_TOOL_DOMAINStool domain filtering,BINANCE_USE_DEMO/BINANCE_BASE_URLenvironment configurationTwo-level cache (exchangeInfo 5min + klines 3s, in-flight deduplication)
-1007match timeout idempotent recovery, clock skew detection at startupAutomatic order precision rounding + upfront-order minimum notional validation
Parameter validation fully aligned with official constraints (
clientOrderIdcharacter set, GTD upper bound, trailing drawdown rate 0.1~10, etc.)
AI Usage Guide (Skill)
The repository includes skills/binance-trader/SKILL.md — a usage manual written for AI assistant, covering tool selection decisions, cross-tool workflows, trading safety discipline, and error recovery scripts. Clients that support the Skill mechanism (Claude Code / Trae, etc.) can mount it directly, allowing the AI to upgrade from "can use tools" to "use tools well".
Local Development
git clone https://github.com/iuk-ink/binance-mcp-server
cd binance-mcp-server
npm installCommands
Command | Description |
| Direct startup with tsx for development |
| TypeScript type checking |
| Run all 196 tests with |
| Compile to |
| Run the compiled output |
License
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