📊 K线数据查询 - 现货市场技术分析利器 🔍 功能说明: 获取现货市场的K线(蜡烛图)历史数据,包含开盘价、最高价、最低价、收盘价和成交量等完整技术指标。每根K线代表特定时间段内的价格走势,是技术分析的基础数据。 ⚠️ 重要提醒: • 时间间隔支持:1分钟到1个月,建议短期分析用1m/5m,长期分析用1d/1w • 数据限制:单次最多返回1500根K线,如需更多数据请分批获取 • 时间格式:使用毫秒级时间戳,建议使用最近30天内的数据以确保准确性 • 交易时间:现货市场24小时交易,但在系统维护时段可能数据延迟 🎯 适用场景: • 技术分析师绘制价格图表,识别支撑位和阻力位 • ...
AI agents call binance_spot_klines to retrieve information from Binance without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
This is a data retrieval tool with no side effects. It queries historical market price data to support technical analysis and backtesting. The description explicitly states it retrieves data for analysis purposes without any capability to modify accounts, execute trades, or affect market state.
From the tool's definition Tool retrieves K-line (candlestick) historical data for spot market: 'obtain historical K-line (candlestick) data from spot market', includes OHLCV data (open, high, low, close, volume). No modification, deletion, or execution capabilities.
Documented attack patterns abuse exactly the kind of access binance_spot_klines gives an agent:
PolicyLayer is an MCP gateway — it sits between your AI agents and Binance, and nothing reaches the server without passing your rules. This is the rule we recommend for binance_spot_klines:
{
"version": "1",
"default": "deny",
"tools": {
"binance_spot_klines": {}
}
} binance_spot_klines is read-only, so it stays allowed — but everything else on the server is denied unless you say otherwise.
Free to start. No card required.
📊 K线数据查询 - 现货市场技术分析利器 🔍 功能说明: 获取现货市场的K线(蜡烛图)历史数据,包含开盘价、最高价、最低价、收盘价和成交量等完整技术指标。每根K线代表特定时间段内的价格走势,是技术分析的基础数据。 ⚠️ 重要提醒: • 时间间隔支持:1分钟到1个月,建议短期分析用1m/5m,长期分析用1d/1w • 数据限制:单次最多返回1500根K线,如需更多数据请分批获取 • 时间格式:使用毫秒级时间戳,建议使用最近30天内的数据以确保准确性 • 交易时间:现货市场24小时交易,但在系统维护时段可能数据延迟 🎯 适用场景: • 技术分析师绘制价格图表,识别支撑位和阻力位 • 量化策略师获取历史数据进行回测和策略验证 • 交易员查看不同时间周期的价格走势制定交易计划 • 风险管理人员分析价格波动性和历史极值 📈 输出示例: 查询成功后将返回: \. It is categorised as a Read tool in the Binance MCP Server, which means it retrieves data without modifying state.
Register the Binance MCP server in PolicyLayer and add a rule for binance_spot_klines: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Binance. Nothing to install.
binance_spot_klines is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the binance_spot_klines rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for binance_spot_klines. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
binance_spot_klines is provided by the Binance MCP server (kydlikebtc/binance-mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Start from Binance, add the rest of your stack, and see everything your agents can call. Then put policy on all of it.
Free to start. No card required.
35 Binance tools catalogued and risk-classified — across an index of 43,000+ MCP servers.