binance-mcp-chainvector

binance-mcp-chainvector

One MCP server that pairs Binance execution with ChainVector market intelligence. Connect it to any MCP client and the agent can read live signals, regime classification, probabilities and risk gauges from ChainVector, pick a strategy template, and execute the resulting decision on Binance.

Category
访问服务器

README

Binance MCP + ChainVector

One MCP server that pairs Binance execution with ChainVector market intelligence. Connect it to any MCP client (Claude Desktop, Cursor, Windsurf, ...) and the agent can read live signals, regime classification, probabilities and risk gauges from ChainVector, pick a strategy template, and execute the resulting decision on Binance — with intelligence and execution kept cleanly separated.

  • Execution (Binance): the full Binance MCP tool surface — spot trading, TWAP/VP algo orders, convert, wallet, simple earn, staking, copy trading and more.
  • Intelligence (ChainVector): 32 signal tools covering momentum, regime, risk index, probability engine, order flow, whale pressure, funding, liquidations, prediction markets and options context.
  • Strategy templates: 7 selectable advisor tools that fuse ChainVector signals into structured trade decisions (long / short / flat, EV score, vetoes, size multiplier, stop/target).

Strategy advisors never place orders. They return a decision; placing the trade is always a separate, explicit Binance tool call.

Strategy templates

Ask your agent to run chainvectorStrategyList, or call a template directly:

Template Tool Setup it trades Best regime
advise chainvectorStrategyAdvise Full ensemble: regime gate + EV weighting + veto stack any (recommends the specialist template)
momentum chainvectorStrategyMomentum Momentum continuation with breadth + book alignment trending
meanrev chainvectorStrategyMeanRevert RSI / Bollinger extreme back toward the mean choppy / quiet
squeeze chainvectorStrategySqueeze Crowded funding side unwinding squeeze_setup
cascade-fade chainvectorStrategyCascadeFade Fade an exhausting liquidation cascade cascading (exhaustion)
carry chainvectorStrategyCarry Delta-neutral funding-carry venue pairs quiet / any
probability-target chainvectorStrategyProbabilityTarget Quantified TP/SL plan: P(target before stop), expectancy in R any (position planning)

Every decision includes the underlying signals, active vetoes (risk index extreme, cascade against direction, crowded squeeze against direction, cascading regime, no-momentum quiet regime) and warnings (venue dispersion, weak breadth, counter-trend). Treat action: "flat" or any veto as a hard no-trade.

Example prompts once connected:

  • "Run the strategy list and tell me which template fits the current BTC regime."
  • "Run chainvectorStrategyAdvise on BTCUSDT with a 60 minute horizon. If it says long with no vetoes, buy $100 of BTC at market."
  • "Plan a long on ETHUSDT with take profit 2%, stop 1%: use the probability-target template and only proceed if expectancy is positive."

ChainVector signal tools

Core signals — chainvectorSignalsSnapshot (one-call decision snapshot), chainvectorMomentum (cross-venue scorecard, EV weight or veto), chainvectorLeadLag, chainvectorRegime (trending / choppy / quiet / squeeze_setup / cascading), chainvectorRiskIndex (0-100 stress circuit breaker), chainvectorSignalsHistory, chainvectorVolatility (vol battery + expected move), chainvectorIndicators (RSI/EMA/MACD/ATR/Bollinger), chainvectorProbability (six-estimator ensemble: terminal / touch / range, 30s-24h horizons, strike ladders).

Order flow & microstructure — chainvectorOrderflowCvd, chainvectorLongShort, chainvectorWhalePressure, chainvectorOrderbookImbalance, chainvectorOrderbookWalls, chainvectorPositioning.

Derivatives context — chainvectorFundingCurrent, chainvectorFundingWeighted, chainvectorFundingArbitrage, chainvectorFundingSqueeze, chainvectorBasis, chainvectorOpenInterest, chainvectorLiquidations, chainvectorCascadeRisk, chainvectorLiquidationHeatmap.

Prediction markets & options — chainvectorPredictionsMarkets / Quotes / Trades / Results / Stability (bid-price stability score) / Edge (model vs market repricing), chainvectorOptionsMaxPain, chainvectorOptionsImpliedProbability.

Requirements

  • Node.js v18 or later (native fetch is used for ChainVector)
  • A Binance API key + secret (create one — see readme/ for step-by-step screenshots)
  • A ChainVector API key (chainvector.com — keys look like cv_live_...)

Installation

git clone https://github.com/C0inFlips/binance-mcp-chainvector.git
cd binance-mcp-chainvector
npm install
npm run build

Optional interactive setup (writes .env and offers Claude Desktop configuration):

npm run init

Configuration

Create a .env file (or copy .env.example):

BINANCE_API_KEY=YOUR_BINANCE_API_KEY
BINANCE_API_SECRET=YOUR_BINANCE_API_SECRET
CHAINVECTOR_API_KEY=cv_live_YOUR_CHAINVECTOR_KEY

MCP client config (Claude Desktop / Cursor / Windsurf)

Claude Desktop config lives at:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json
{
    "mcpServers": {
        "binance-mcp-chainvector": {
            "command": "node",
            "args": [
                "/absolute/path/to/binance-mcp-chainvector/build/index.js"
            ],
            "env": {
                "BINANCE_API_KEY": "YOUR_BINANCE_API_KEY",
                "BINANCE_API_SECRET": "YOUR_BINANCE_API_SECRET",
                "CHAINVECTOR_API_KEY": "cv_live_YOUR_CHAINVECTOR_KEY"
            },
            "disabled": false,
            "autoApprove": []
        }
    }
}

Restart the client after editing. The same block works in .cursor/mcp.json for Cursor.

How the strategy loop works

  1. Choose — chainvectorStrategyList, or run chainvectorStrategyAdvise and follow its regime.recommended_strategy.
  2. Decide — run the template tool for your symbol. It fetches the ChainVector signals it needs and returns a structured decision.
  3. Gate — only act when action != "flat" and vetoes / blockers are empty. Scale position size by size_multiplier.
  4. Execute — place the order with the Binance tools (BinanceNewOrder for spot market/limit orders, or the TWAP/VP algo tools for large orders), using suggested.stop_pct / suggested.take_profit_pct for exits.
  5. Repeat — decisions are point-in-time reads, not standing orders. Re-run the template before every new entry.

Rate limits & reliability

  • ChainVector tool calls are cached for a few seconds server-side in this process, so repeated reads within one agent turn reuse the same sample.
  • On a 429 the client backs off automatically (honoring Retry-After) and reports the cooldown in the tool error.
  • Strategy advisors make several ChainVector calls per invocation — don't poll them in a tight loop.

Disclaimer

Model outputs surfaced through these tools (probability, regime, heatmap estimates) are informational only and not investment advice. Trading cryptocurrencies involves substantial risk. Never commit real API keys to a repository; use environment variables or your MCP client's env block.

License

This project is open-source under the MIT License.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选