
analyticace/binance-mcp-server 是从 https://github.com/analyticace/binance-mcp-server. 导入的 MCP 服务器候选
概览
analyticace/binance-mcp-server 是从 https://github.com/analyticace/binance-mcp-server. 导入的 MCP 服务器候选
概述(AI 翻译)
强大的建模上下文协议(MCP)服务器,使AI代理能够无缝与币安加密货币交易所交互。该服务器通过标准化MCP界面提供全面的交易工具、市场数据访问和账户管理功能。
🌟 这是什么?
这个工具作为AI助手(如Claude、Cursor AI或ChatGPT)与你的Binance账号之间的桥梁。
你无需手动浏览币安网站或应用,可以让AI:
- “查看比特币当前价格”
- “给我看账户余额”
- “以当前市场价买入0.1 ETH”
AI将请求发送到该服务器,该服务器在币安上安全执行并返回结果给你的AI。
🚀 快速启动
1️# 安装
最简单的安装方法是使用 pip 或 uv:
2️¶ 配置
你需要你的Binance API密钥才能让这个工具访问你的账户。
- 登录你的币安账户,进入API管理。
- 创建一个新的 API 密钥。
- 在终端中将键设置为环境变量:
3️¶ 与你的人工智能共事
配置 Claude Desktop / VSCode / 光标
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Binance MCP Server 🚀
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.
- Log in to your Binance account and go to API Management.
- Create a new API Key.
- 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.
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
{
"mcpServers": {
"binance": {
"command": "binance-mcp-server",
"args": [
"--api-key", "your_api_key",
"--api-secret", "your_secret",
"--binance-testnet"
]
}
}
}