ethancod1ng/binance-mcp-server
If you are the rightful owner of binance-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The Binance MCP Server is a comprehensive Model Context Protocol server that provides seamless access to Binance exchange API functionality.
The Binance MCP Server is designed to facilitate interaction with the Binance exchange by providing a robust and secure interface for accessing market data, managing accounts, and executing trades. It is built with a focus on security, input validation, and error handling, ensuring that users can interact with the Binance API safely and efficiently. The server supports full TypeScript, offering complete type definitions and validation to enhance development experience and reliability. It is configured through environment variables, allowing for flexible deployment in different environments. The server is particularly useful for developers looking to integrate Binance functionalities into their applications, providing tools for real-time market data retrieval, account management, and trading operations. With a strong emphasis on security, the server ensures that sensitive information is protected and that operations are conducted in a testnet environment to prevent unintended real-world transactions.
Features
- Market Data Tools: Access real-time prices, order book depth, and K-line data.
- Account Management: View account information, balances, and order history.
- Trading Operations: Place and cancel orders in a testnet environment.
- Full TypeScript Support: Provides complete type definitions and validation.
- Security First: Environment-based configuration with input validation.
Usages
usage with Claude Code
{ "mcpServers": { "binance": { "command": "binance-mcp-server", "env": { "BINANCE_API_KEY": "your_api_key", "BINANCE_API_SECRET": "your_api_secret", "BINANCE_TESTNET": "true" } } } }
Tools
get_price
Get current price for a trading pair.
get_orderbook
Get order book depth data.
get_klines
Get K-line/candlestick data.
get_24hr_ticker
Get 24-hour price change statistics.
get_account_info
Get account information and balances.
get_open_orders
Get current open orders.
get_order_history
Get historical orders.
place_order
Place a new order.
cancel_order
Cancel a specific order.
cancel_all_orders
Cancel all open orders for a symbol.