Binance MCP Server 🚀
@AnalyticAce
Unofficial tools and server implementation for Binance's Model Context Protocol (MCP). Designed to support developers building crypto trading AI Agents.
概览
What is Binance MCP Server?
Binance MCP Server is a Model Context Protocol server that acts as a bridge between AI assistants (like Claude, Cursor AI, or ChatGPT) and a Binance cryptocurrency exchange account. It provides a standardized interface for market data, account management, and trading operations.
How to use Binance MCP Server?
Install the package via pip install binance-mcp-server or uv add binance-mcp-server. Set BINANCE_API_KEY and BINANCE_API_SECRET environment variables (optionally BINANCE_TESTNET=true for testnet). Then configure your AI client (e.g., Claude Desktop) to run the binance-mcp-server command with your credentials.
Key features of Binance MCP Server
- Real-time market data: live prices, order books, ticker stats
- Account management: check balances and account status
- Trading operations: place market and limit orders
- Portfolio tracking: monitor open positions and PnL
- Supports futures and spot trading tools
- Testnet environment for safe development
Use cases of Binance MCP Server
- Ask your AI for the current price of Bitcoin
- Retrieve your account balance for all assets
- Place a market buy order for ETH automatically
- Check your profit/loss on futures positions
- Get deposit address and history for a specific coin
FAQ from Binance MCP Server
What authentication does Binance MCP Server require?
You must provide your Binance API key and API secret via environment variables or command-line arguments. These are required for any account or trading operations.
Does Binance MCP Server support a test environment?
Yes. Set BINANCE_TESTNET="true" or pass --binance-testnet to use the Binance testnet. This is recommended for development and safe testing.
What are the runtime dependencies?
Python 3.10 or higher is required. The server uses the MCP protocol over stdio transport and communicates directly with Binance’s API.
Where does my account data live?
All data is fetched in real time from Binance’s servers. The server itself does not store or cache any user data locally.
Can I use Binance MCP Server with any AI client?
Yes, any client that supports the Model Context Protocol (Claude Desktop, Cursor, VSCode, etc.) can connect to this server by adding it to the MCP configuration file.