Labsco
ethancod1ng logo

Binance MCP Server

β˜… 33

from ethancod1ng

Provides seamless access to the Binance exchange API. Requires Binance API credentials to be configured.

πŸ”₯πŸ”₯πŸ”₯βœ“ VerifiedAccount requiredAdvanced setup

Binance MCP Server

<a href="https://www.npmjs.com/package/binance-mcp-server" target="_blank" rel="noopener noreferrer"> <img src="https://img.shields.io/npm/dt/binance-mcp-server?logo=npm" alt="npm"> </a>

Multi-language Documentation

A Model Context Protocol (MCP) server that provides Claude Code with Binance exchange API functionality.

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)

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