Binance

Binance

Cryptocurrency trading and market data access through Binance API integration.

9
Stars
9
Forks
0
Releases

Overview

Binance MCP Server is an MCP server that enables Claude Code to access Binance's exchange API. It exposes market data endpoints including get_price, get_orderbook, get_klines, and get_24hr_ticker to fetch current prices, order books, candlesticks, and 24-hour statistics. It also provides account endpoints such as get_account_info, get_open_orders, and get_order_history to retrieve balances, open orders, and order history. For trading, it supports place_order, cancel_order, and cancel_all_orders across both Binance mainnet and testnet, allowing automated trading workflows via Claude Code. Configuration is done through an MCP settings JSON where the server is invoked with command 'npx' and args ['binance-mcp-server'], and environment variables BINANCE_API_KEY, BINANCE_API_SECRET, and BINANCE_TESTNET to toggle testnet vs mainnet. The README includes setup guidance and a one-click Claude Code integration example, as well as security notes stressing the safety of testnet and warnings for mainnet trading. It supports multi-language documentation and provides instructions for obtaining API keys for testnet and mainnet.

Details

Owner
ethancod1ng
Language
TypeScript
License
Updated
2025-12-07

Features

Market Data APIs

Provides access to current price, order book depth, K-lines, and 24h ticker data via get_price, get_orderbook, get_klines, and get_24hr_ticker.

Account Data Access

Fetch account information and balances with get_account_info, plus open orders and order history via get_open_orders and get_order_history.

Trading APIs (Mainnet & Testnet)

Place, cancel, and batch-cancel orders via place_order, cancel_order, and cancel_all_orders on both networks.

Multi-Network Support

Supports Binance mainnet and testnet via BINANCE_TESTNET env variable and MCP config.

Secure API Key Management

Uses environment variables BINANCE_API_KEY and BINANCE_API_SECRET for authentication; recommends testnet for safe testing.

Claude Code MCP Integration

One-click setup and integration with Claude Code to connect to the MCP server and start using Binance APIs.

Audience

AI toolsIntegrate Binance API into Claude Code via MCP for data access and trading.
DevelopersBuild trading bots and dashboards using Binance data through the MCP server.
Crypto tradersExecute automated orders on Binance using Claude Code via MCP.

Tags

BinanceMCP ServerClaude CodeMarket DataAccountTradingAPITestnetMainnetCrypto Exchange