mcpField
B
Binance MCP Server πŸš€

Binance MCP Server πŸš€

Local
analyticace.github.ioFinance50Updated 6w ago

About Binance MCP Server πŸš€

Binance MCP Server is an unofficial MCP server that lets AI assistants access Binance market data, account information and trading functions. It is intended for developers building crypto trading AI agents, and the README recommends testing on the Binance testnet first.

Key features

  1. 01Real-time prices, order books and 24-hour ticker stats
  2. 02Account balance and account snapshot queries
  3. 03Order creation and order history lookup
  4. 04Futures position details and PnL calculation
  5. 05Binance testnet environment option

Use cases

  1. 01Asking an AI assistant for crypto prices and balances
  2. 02Testing trading agent logic on the testnet
  3. 03Reviewing futures positions and liquidation history

MCP support

This project is an MCP server that exposes tools such as get_balance, get_ticker, create_order and get_pnl to MCP clients. The README describes configuration for clients including Claude Desktop, VSCode and Cursor.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

Binance MCP Server πŸš€

PyPI version Cursor Store Documentation Status PyPI Deployement Status Python 3.10+ License: MIT

A powerful Model Context Protocol (MCP) server that enables AI agents to interact seamlessly with the Binance cryptocurrency exchange. This server provides a comprehensive suite of trading tools, market data access, and account management capabilities through the standardized MCP interface.

🌟 What is this?

This tool acts as a bridge between AI Assistants (like Claude, Cursor AI, or ChatGPT) and your Binance Account.

Instead of manually navigating the Binance website or app, you can ask your AI to:

  • "Check the current price of Bitcoin"
  • "Show me my account balance"
  • "Buy 0.1 ETH at the current market price"

The AI sends the request to this server, which securely executes it on Binance and returns the result to your AI.

πŸš€ Quick Start

1️⃣ Installation

The easiest way to install is using pip or uv:

# using pip
pip install binance-mcp-server
# using uv
uv add binance-mcp-server
2️⃣ Configuration

You need your Binance API Keys to allow this tool to access your account.

  1. Log in to your Binance account and go to API Management.
  2. Create a new API Key.
  3. Set the keys as environment variables in your terminal:
# Required: Your Binance API credentials
export BINANCE_API_KEY="your_api_key_here"
export BINANCE_API_SECRET="your_api_secret_here"

# Recommended: Use testnet for development and safe testing
export BINANCE_TESTNET="true"
3️⃣ Running with your AI
Configure for Claude Desktop / VSCode / Cursor

Add the following to your MCP settings configuration file (e.g., claude_desktop_config.json or mcp_config.json):

{
  "mcpServers": {
    "binance": {
      "command": "binance-mcp-server",
      "args": [
        "--api-key", "your_api_key",
        "--api-secret", "your_secret",
        "--binance-testnet"
      ]
    }
  }
}

🎯 Key Capabilities

  • Real-time Market Data: Get live prices, order books, and ticker stats.
  • Account Management: specific Check balances and account status.
  • Trading Operations: Place buy/sell orders (Market, Limit, etc.).
  • Portfolio Tracking: Monitor open positions and Profit/Loss (PnL).

πŸ“š Technical Reference

Available Tools
Click to expand full list of tools
🏦 Account & Portfolio Management
ToolPurpose
get_balanceRetrieve account balances for all assets
get_account_snapshotPoint-in-time account state snapshot
get_fee_infoTrading fee rates (maker/taker commissions)
get_available_assetsList all tradable cryptocurrencies
πŸ“Š Market Data & Analysis
ToolPurpose
get_ticker_priceCurrent price for a trading symbol
get_ticker24-hour ticker price change statistics
get_order_bookCurrent order book (bids/asks)
πŸ’± Trading Operations
ToolPurpose
create_orderCreate buy/sell orders (market, limit, etc.)
get_ordersList order history for a specific symbol
πŸ“ˆ Performance & Analytics
ToolPurpose
get_pnlCalculate profit and loss for futures trading
get_position_infoOpen futures positions details
πŸͺ Wallet & Transfers
ToolPurpose
get_deposit_addressGet deposit address for a specific coin
get_deposit_historyDeposit history for a specific coin
get_withdraw_historyWithdrawal history for a specific coin
πŸ›‘οΈ Risk Management
ToolPurpose
get_liquidation_historyPast liquidation events for futures
Configuration Variables
VariableDescriptionRequiredDefault
BINANCE_API_KEYYour Binance API keyβœ…-
BINANCE_API_SECRETYour Binance API secretβœ…-
BINANCE_TESTNETUse testnet environment❌false

πŸ› οΈ Development & Contributing

We welcome contributions! If you are a developer looking to improve this project:

  1. Clone the repo: git clone https://github.com/AnalyticAce/binance-mcp-server.git
  2. Install dev dependencies: uv install --dev or pip install -e .[dev]
  3. Run tests: pytest

See CONTRIBUTING.md for detailed guidelines.

πŸ“„ License & Disclaimer

License: MIT

Disclaimer: This software is for educational purposes. Cryptocurrency trading involves financial risk. Always use the Binance Testnet for testing and development. The developers are not responsible for any financial losses.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.