Binance MCP Server
Provides seamless access to the Binance exchange API. Requires Binance API credentials to be configured.
Binance MCP Server
Multi-language Documentation
A Model Context Protocol (MCP) server that provides Claude Code with Binance exchange API functionality.
Quick Start
📹 Video Tutorial
Watch our comprehensive MCP usage tutorial to get started quickly:

Installation
npm install -g binance-mcp-server
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:
{
"mcpServers": {
"binance": {
"command": "npx",
"args": ["binance-mcp-server"],
"env": {
"BINANCE_API_KEY": "your_api_key",
"BINANCE_API_SECRET": "your_api_secret",
"BINANCE_TESTNET": "false"
}
}
}
}
Note: Set
BINANCE_TESTNETto"true"if you want to use the Binance testnet for development and testing.
One-Click Setup with Claude Code
claude mcp add binance --env BINANCE_API_KEY=YOUR_API_KEY --env BINANCE_API_SECRET=YOUR_API_SECRET --env BINANCE_TESTNET=false -- npx -y binance-mcp-server
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:
BINANCE_API_KEY=your_api_key_here
BINANCE_API_SECRET=your_api_secret_here
BINANCE_TESTNET=true # Set to false for mainnet (REAL money)
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=truefor safe testing with virtual funds - Set
BINANCE_TESTNET=falseor omit for mainnet trading with REAL money - Mainnet trading will display warnings before executing orders
Development
npm run build # Compile TypeScript
npm run dev # Development mode
npm run lint # Run linting
相關伺服器
DataWorks
A Model Context Protocol (MCP) server that provides tools for AI, allowing it to interact with the DataWorks Open API through a standardized interface. This implementation is based on the Aliyun Open API and enables AI agents to perform cloud resources operations seamlessly.
Certus
Provides real-time medical and medication information using the openFDA API.
EU Business Toolkit
All-in-one bundle: EU VAT validation, Dutch CBS statistics, and GDPR compliance tools — 19 tools for EU businesses in a single MCP server.
Stock Market MCP Server
Provides real-time US stock market data and company financial information using the Alpha Vantage API.
Remote MCP Server on Cloudflare
A remote MCP server running on Cloudflare Workers with OAuth login support.
Typecast API
An MCP server for the Typecast API, enabling AI-powered voice generation for various content.
DigitalOcean
Provides comprehensive access to all DigitalOcean API endpoints, dynamically extracted from their OpenAPI specification.
DeAI API MCP Server
Interact with the DeAI API for token analysis, holder tracking, and wallet portfolio analytics on Ethereum.
OpenDota MCP Server
Access real-time Dota 2 statistics, match data, and player information from the OpenDota API.
Singapore LTA MCP Server
Access real-time transportation data from Singapore's LTA DataMall API, including bus arrivals and traffic conditions.