You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Model Context Protocol (MCP) server for integrating AI assistants with Binance cryptocurrency exchange APIs, enabling automated trading, market data access, and account management.
⚠️Warning: Mainnet uses real money - be very careful!
Configuration
Create .env file:
BINANCE_API_KEY=your_api_key_hereBINANCE_API_SECRET=your_api_secret_hereBINANCE_TESTNET=true# Set to false for mainnet (REAL money)
Available Tools
Market Data
get_price - Get current price for trading pair
get_orderbook - Get order book depth data
get_klines - Get K-line/candlestick data
get_24hr_ticker - Get 24-hour price statistics
Account
get_account_info - Get account information and balances
get_open_orders - Get current open orders
get_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
npm run build # Compile TypeScript
npm run dev # Development mode
npm run lint # Run linting
License
MIT License
About
A Model Context Protocol (MCP) server for integrating AI assistants with Binance cryptocurrency exchange APIs, enabling automated trading, market data access, and account management.