Provides seamless access to Binance exchange API functionality, including real-time market data (prices, order books, candlestick data), account management (balances, orders), and trading operations (placing and canceling orders).
Binance MCP Server
Multi-language Documentation
A Model Context Protocol (MCP) server that provides Claude Code with Binance exchange API functionality.
Quick Start
Installation
Configuration
This MCP server can be used with various AI tools that support MCP:
MCP Configuration
Add the following configuration to your MCP settings file:
Claude Desktop: claude_desktop_config.json
Cursor: .cursor/mcp_config.json
Environment Setup
Getting API Keys
For Testnet (Recommended for Development):
- Visit Binance Testnet
- Create a testnet account (no real verification required)
- Go to API Management in your testnet account
- Create a new API key with trading permissions
- Note: Testnet uses virtual funds - completely safe for testing
For Mainnet (Production):
- Create a verified account on Binance
- Complete KYC verification
- Go to API Management in your account settings
- Create a new API key with required permissions
- ⚠️ Warning: Mainnet uses real money - be very careful!
Configuration
Create .env
file:
Available Tools
Market Data
get_price
- Get current price for trading pairget_orderbook
- Get order book depth dataget_klines
- Get K-line/candlestick dataget_24hr_ticker
- Get 24-hour price statistics
Account
get_account_info
- Get account information and balancesget_open_orders
- Get current open ordersget_order_history
- Get historical orders
Trading (Mainnet & Testnet)
place_order
- Place a new order (supports both mainnet and testnet)cancel_order
- Cancel specific order (supports both mainnet and testnet)cancel_all_orders
- Cancel all open orders (supports both mainnet and testnet)
Usage Examples
Ask Claude to:
- "Get the current price of Bitcoin"
- "Show me the order book for ETHUSDT"
- "Check my account balance"
- "Place a limit buy order for 0.001 BTC at $50,000"
Security
⚠️ Important:
- Set
BINANCE_TESTNET=true
for safe testing with virtual funds - Set
BINANCE_TESTNET=false
or omit for mainnet trading with REAL money - Mainnet trading will display warnings before executing orders
Development
License
MIT License
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
A Model Context Protocol server that provides Claude Code with seamless access to Binance exchange API functionality for market data retrieval, account management, and trading operations.
Related MCP Servers
- -securityFlicense-qualityA Model Context Protocol server that allows Claude to make API requests on your behalf, providing tools for testing various APIs including HTTP requests and OpenAI integrations without sharing your API keys in the chat.Last updated -Python
- AsecurityAlicenseAqualityAn implementation of Claude Code as a Model Context Protocol server that enables using Claude's software engineering capabilities (code generation, editing, reviewing, and file operations) through the standardized MCP interface.Last updated -8165JavaScriptMIT License
- -securityAlicense-qualityA 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.Last updated -11PythonMIT License
- -securityAlicense-qualityA Model Context Protocol server that enables large language models like Claude to perform comprehensive interactions with Firebase Firestore databases, supporting full CRUD operations, complex queries, and advanced features like transactions and TTL management.Last updated -04JavaScriptMIT License