binance-mcp
The binance-mcp server is a Model Context Protocol (MCP) server that provides programmatic access to Binance Spot exchange data and trading functionality through standardized tools.
Market Data (Public)
Retrieve real-time ticker prices for any trading symbol
Fetch historical klines/candlestick data with customizable intervals and limits (1-1000 candles) for technical analysis
Access comprehensive exchange metadata including trading rules, symbol filters, and specifications
Account Management (Requires API Key)
View account balances across all assets
List open orders for specific trading symbols
Trading Operations (Requires API Key + BINANCE_TRADE_ENABLED)
Place MARKET or LIMIT spot orders (BUY/SELL) with configurable parameters like quantity, price, quote amount, and time-in-force settings
Cancel existing orders by symbol and order ID
Safety & Security Features
Protected by
BINANCE_TRADE_ENABLEDenvironment variable toggle for read-only modeConfigurable recvWindow parameter to prevent replay attacks
Support for both mainnet and testnet Binance environments for risk-free testing
Deployment & Integration
Supports stdio (default) and HTTP transports for local agent integration or web inspection
Compatible with Docker containerization and tools like Glama
JSON-formatted responses optimized for LLM and AI agent consumption
Provides tools for accessing Binance Spot REST API, including market data (ticker prices, klines, exchange info), account management (balances, open orders), and trading operations (place and cancel orders) with configurable safety controls.
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-mcpget 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
Binance Spot REST MCP server providing market data, account state, and guarded trading tools. Built with FastMCP so it can run over stdio (local agents) or HTTP (Glama inspection / Docker deployments).
Features
Latest ticker price, klines, and
exchangeInfofor any symbol.Account tools (balances, open orders) with recvWindow helper.
Trading helpers (place/cancel) protected by
BINANCE_TRADE_ENABLEDtoggle.Works with Glama thanks to HTTP transport +
glama.yaml/Dockerfilemetadata.
Related MCP server: binance-futures-mcp
Getting started
Install dependencies (Node 20+ recommended):
npm installCopy the example env file and fill in your Binance key/secret (testnet keys work too):
cp .env.example .env # BINANCE_TRADE_ENABLED=false keeps the server in read-only modeBuild + run (stdio transport by default):
npm run build npm startDevelopment / watch mode:
npm run dev
HTTP transport
Set MCP_TRANSPORT=http and optionally PORT to expose the tools over HTTP (required for Glama inspection):
MCP_TRANSPORT=http PORT=8080 npm run devThe provided Dockerfile bakes this configuration automatically.
Tools
name | description |
| Latest ticker price for a symbol. |
| Candles (symbol + interval, configurable limit). |
| Full exchange metadata + filters. |
| Account snapshot (requires API key/secret). |
| Open orders for a symbol. |
| Places MARKET/LIMIT orders with guardrails. |
| Cancels an order by symbol + orderId. |
All tools return JSON payloads stringified for LLM consumption.
Environment variables
key | description |
| Required for account/trade tools (public tools work without). |
| Required for account/trade tools. |
| Defaults to |
| RecvWindow in ms (default |
| Set to |
|
|
| HTTP port when using |
Glama & Docker
glama.yaml/glama.jsondefine build/start commands and required env vars.Dockerfilebuilds a production image, exposes port8080, and defaults to HTTP transport for inspection support.
License
Released under the MIT License (see LICENSE).
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceThis server provides a robust interface for Binance spot trading operations, including secure management of API credentials, execution and management of spot orders, and monitoring of account balances and open orders.714MIT
- Alicense-qualityCmaintenanceComprehensive Binance Futures trading MCP server with 41 professional trading tools across account management, order execution, market data, and risk management. Features smart ticker caching, secure authentication, and Docker support for seamless integration with MCP clients.4PythonMIT
- MIT
- Flicense-qualityCmaintenanceMCP server providing access to Binance public market data, including klines, order book depth, and 24hr ticker.
Related MCP Connectors
Cloudflare Workers MCP server: crypto-signal
MCP server for Blockscout
MCP server for Gainium — manage trading bots, deals, and balances via AI assistants
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/Valerio357/binance_mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server