Binance Cryptocurrency MCP
币安加密货币 MCP
用于访问币安加密货币市场数据的模型上下文协议服务。
概述
该 MCP 服务允许 AI 代理(例如 Claude、Cursor、Windsurf 等)执行币安 API 调用并获取加密货币市场的实时数据,包括价格、烛台图、订单簿等。
目的您可以直接向AI询问最新的加密货币价格、交易量、价格趋势等信息,而无需查看币安网站或使用其他工具。
可用信息
通过本MCP服务,您可以获得以下信息:
当前价格信息 - 获取指定加密货币的实时价格
订单簿数据 - 查看买卖订单深度
烛台图数据 - 获取不同时间段的烛台数据
24小时价格变动 - 查看24小时内的价格变动
交易历史-查看近期交易记录
价格统计 - 获取各个时间窗口的价格统计数据
Related MCP server: Binance Cryptocurrency MCP
可用工具
工具 | 描述 |
| 获取指定加密货币的当前价格 |
| 获取订单簿数据 |
| 获取最近交易列表 |
| 获取历史交易数据 |
| 获取聚合交易列表 |
| 获取K线/K线数据 |
| 获取UI优化的K线数据 |
| 获取当前平均价格 |
| 获取24小时价格变化统计数据 |
| 获取交易日市场信息 |
| 获取订单簿代码 |
| 获取滚动窗口价格变化统计数据 |
在游标中使用
全局安装
使用 npx 运行 MCP 服务:
npx -y @snjyor/binance-mcp@latest在 Cursor IDE 中:
前往
Cursor Settings>MCP点击
+ Add New MCP Service填写表格:
名称:
binance类型:
command命令:
npx -y @snjyor/binance-mcp@latest
项目安装
将.cursor/mcp.json文件添加到您的项目:
{
"mcpServers": {
"binance": {
"command": "npx",
"args": [
"-y",
"@snjyor/binance-mcp@latest"
]
}
}
}用法
配置完成后,币安市场数据工具将自动提供给 Cursor AI 代理:
该工具将在 MCP 设置中的
Available Tools下列出代理将在相关时自动使用它
您可以明确要求代理使用这些工具
在其他 MCP 兼容环境中使用
{
"mcpServers": {
"binance": {
"command": "npx",
"args": [
"-y",
"@snjyor/binance-mcp@latest"
]
}
}
}使用示例
以下是一些使用示例:
查询比特币价格
Please tell me the current price of Bitcoin查看以太坊 24 小时价格走势
How has Ethereum's price changed in the past 24 hours?获取BNB的K线数据
Show me the daily K-line data for BNB over the last 5 days发展
# Install dependencies
npm install
# Build
npm run build
# Local testing
npm run start调试服务器
要调试您的服务器,您可以使用MCP Inspector 。
首先搭建服务器
npm run build在终端中运行以下命令:
# Start MCP Inspector and server
npx @modelcontextprotocol/inspector node dist/index.js执照
Available Tools
12 toolsget_24hr_tickerD
Inputs: symbol, symbols.
get_aggregate_tradesD
Inputs: symbol (required), fromId, startTime, endTime, +1 more.
get_avg_priceD
Inputs: symbol (required).
get_book_tickerD
Inputs: symbol, symbols.
get_historical_tradesD
Inputs: symbol (required), limit, fromId.
get_klinesD
Inputs: symbol (required), interval (required), startTime, endTime, +2 more.
get_order_bookD
Inputs: symbol (required), limit.
get_priceD
Inputs: symbol, symbols.
get_recent_tradesD
Inputs: symbol (required), limit.
get_rolling_window_tickerD
Inputs: symbol, symbols, windowSize, type.
get_trading_day_tickerD
Inputs: symbol, symbols, timeZone, type.
get_ui_klinesD
Inputs: symbol (required), interval (required), startTime, endTime, +2 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 12 tools
Most tools have clearly distinct purposes focused on different market data aspects (e.g., ticker data, trades, order book, price, klines). However, some potential overlap exists between get_24hr_ticker, get_rolling_window_ticker, and get_trading_day_ticker, which could cause confusion about which specific ticker data is needed.
All tools follow a consistent verb_noun pattern with 'get_' prefix followed by descriptive snake_case nouns. The naming is highly predictable and uniform throughout the entire tool set.
12 tools is reasonable for a cryptocurrency exchange data server, providing comprehensive market data coverage. It's slightly on the higher side but well-justified for the domain, though some consolidation might be possible (e.g., multiple ticker tools).
The tool set covers extensive market data retrieval (tickers, trades, order book, price, klines) but lacks trading operations (create/cancel orders, account management) and other exchange functionalities. This creates a significant gap for agents needing to perform actual trading actions beyond data observation.
Maintenance
Related MCP Connectors
Crypto market & research MCP for AI agents: prices, derivatives, options, on-chain, sentiment, news.
Unlock the power of real-time cryptocurrency data with our Crypto Price Insights MCP server.
Crypto market data for AI agents: live prices, OHLCV, sentiment, indicators and exchanges.
Your agent needs crypto prices it can rely on — spot, ranked market tables, history, OHLC, per-venue tickers, and what is trending right now. **What you can ask for** • "What is the price of these 20 tokens in USD and EUR right now?" • "Give me the top 100 by market cap with 24h and 7d change." • "Chart this coin's price over the last year, hourly." • "Where does this token trade, and at what spread per venue?" • "What is trending on CoinGecko today?" **How to use it** Point any MCP client at https://mcp.aisa.one/crypto-market-data/mcp and sign in with OAuth — there is no key to create or paste. 21 CoinGecko tools: simple price and token price by contract, supported currencies, coin list and detail, ranked markets, history, market charts and ranges, OHLC, per-coin tickers, categories, exchanges and their tickers, token data and charts, and trending. **It is also a door to the rest** The same login reaches 26 sources and 580+ operations. Price the token here, then ask the same agent what X is posting about it — without adding a second server. **What it costs** Finding and inspecting an operation is free. Running one is billed per call at API prices, with no seat and no monthly minimum, and every call takes max_price_usd so an agent cannot overspend by accident. **Where else it reaches** https://mcp.aisa.one/finance/mcp for equities, crypto and prediction markets in one place.
Related MCP Servers
- AlicenseCqualityDmaintenanceProvides an MCP server that allows large language models to access real-time and historical Bitcoin market data from Binance, including current prices, order book data, recent trades, and price history through a standardized interface.13MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to access real-time Binance cryptocurrency market data including prices, order books, candlestick charts, trading history, and 24-hour statistics through natural language queries.Apache 2.0
- AlicenseNot gradedqualityDmaintenanceProvides real-time cryptocurrency market data from Binance API, including price queries, 24h statistics, K-line data, market trend analysis, and order book depth information for trading analysis.1MIT
- AlicenseDqualityDmaintenanceEnables AI agents to access real-time Binance cryptocurrency market data including prices, order books, candlestick charts, trading history, and 24-hour statistics through natural language queries.12Apache 2.0