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
基于 Model Context Protocol 的 Binance U 本位期货 MCP 服务器,为 AI 助手提供 76 个 MCP 工具,覆盖行情数据、技术指标、风险分析、统计辅助和期货交易。
快速开始
零配置体验(仅分析,不交易)
npx @iuk-ink/binance-mcp-server无需 API Key,默认连接测试网,即可使用市场数据和指标工具。
配置 MCP Client
{
"mcpServers": {
"binance": {
"command": "npx",
"args": ["@iuk-ink/binance-mcp-server"],
"env": {
"BINANCE_TESTNET": "true"
}
}
}
}如需交易功能,补充 BINANCE_API_KEY 和 BINANCE_API_SECRET。
环境变量
变量 | 必填 | 默认值 | 说明 |
| 否 |
| 测试网(虚拟金) / 主网 |
| 否 | — | 不填仅公开工具可用 |
| 否 | — | 同上 |
| 否 |
| debug / info / warn / error |
| 否 | — | 企业内网代理 |
Related MCP server: Binance MCP Server
工具清单(76 个)
市场数据(17)
工具 | 说明 |
| 最新成交价 |
| 最优买卖报价+量(比 orderbook 轻 10 倍) |
| 订单簿多档深度 |
| K 线历史数据 |
| 24h 涨跌幅/最高/最低/成交量 |
| 标记价(= 清算参考价) |
| 未平仓合约量(OI) |
| 当前资金费率上限 |
| 历史资金费率 |
| 永续/当季/次季 K 线(基差分析) |
| 交易规则/精度/最小下单量:warning: 返回数十万行,按需调用 |
| 连通性测试 / 服务器时钟校准 |
4 个主网专属 | OI 历史 / 多空比 / 主动买卖量 / 大户持仓比(测试网不注册) |
技术指标(25)
8 独立版 + 5 信号版 + 11 直连版 + 1 批量版
直连版(_direct 后缀):一步完成"获取 K 线 → 计算",推荐首选
批量版:indicator_multi_direct 一次调用 = RSI + MACD + BBands
独立版:仅在用户已持有原始 K 线数据时使用类别 | 包含工具 |
趋势 | SMA / EMA / MACD / ADX / MA_Cross |
动量 | RSI / Stochastic |
波动 | BBands / ATR / Volatility_Regime |
组合 | MACD_RSI / BB_RSI / Divergence |
批量 | Multi(RSI+MACD+BB+可选 ATR/ADX/Stoch) |
风险指标(3)
risk_sharpe(Sharpe + Sortino)/ risk_drawdown(最大回撤)/ risk_var(VaR + CVaR)
统计辅助(10)
均值 / 极值 / 中位数 / 四分位 / 标准差 / 网格层级 / 连涨跌 / 星期 / K 线字段提取
期货交易(21,需 API Key)
分类 | 工具 |
账户 |
|
订单 |
|
查询 |
|
配置 |
|
本地开发
git clone https://github.com/iuk-ink/binance-mcp-server
cd binance-mcp-server
npm install
cp .env.example .env # 编辑填入 API Key(可选)命令
命令 | 用途 |
| tsx 热启动,开发时使用 |
| 文件变化自动重启 |
| TypeScript 类型检查 |
| ESLint 检查 |
| vitest 运行全部 148+ 测试 |
| 运行单个测试文件 |
| 编译到 |
| 运行编译产物 |
验证流水线
typecheck → lint → test → buildLicense
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- 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