Midasflow Mcp Quickstart

io.github.midasflowai-lab由 GitHub 账号 midasflowai-lab 发布v1.0.0更新于 Oct 24, 2026

Agent-native crypto market-data over MCP+REST: order flow, whales, liquidations, calibrated scores

已验证Streamable HTTP可网页运行金融数据与分析

概览

AI 生成的概览

远程 MCP 服务器,为助手提供跨交易所加密货币行情数据:订单流、巨鲸、爆仓、衍生品背景与校准评分。

可以做什么
读取价格历史与实时订单簿,包括支撑阻力位和盘口失衡。获取订单流微观结构、巨鲸成交、爆仓成交与爆仓热力图。获取衍生品背景、市场状态与阶段判断,以及全市场涨跌榜、概览与异常看板。获取信号流与单币种校准 P(TP1) 评分及粗略交易计划。查看已实现准确率与结果,并运行研究工具:回测、完整 AI 分析师报告和本地期望值计算器。查看账户等级、配额、用量权重与计费。
适用场景
适合需要结构化加密货币行情数据与衍生分析供助手推理的场景,而非直接调用交易所原始接口。适用于希望在一个数据源中获得订单流、爆仓与衍生品背景的研究分析流程,或需要某币种校准评分与回测的场景。
运行要求
远程 Streamable-HTTP 端点,无需本地安装包。需要 MidasFlow API 密钥,通过 Authorization Bearer 请求头发送。实时数据与较重调用需要付费等级;免费等级有延迟且每日限 200 单位。需要网络访问。
安装前请注意
密钥是放在 Authorization 请求头中的凭据,勿写入共享配置。付费等级按月收费,调用会消耗加权每日单位,最重的调用消耗最多。数据为行情数据而非投资建议,免费等级有延迟。账户与用量工具会暴露计费与余额信息。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Midasflow Mcp Quickstart,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.midasflowai-lab%2Fmidasflow-mcp-quickstart/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "midasflow-quickstart": {
      "type": "http",
      "url": "https://mcp.midasflow.ai/mcp"
    }
  }
}

README

MidasFlow Flow API — MCP Quickstart

Agent-native crypto market-data feed for AI agents and LLMs. Connect Claude, ChatGPT, Cursor, or any MCP-compatible agent to cross-exchange order flow, whale prints, liquidations, derivatives context, anomaly/squeeze detection, and calibrated P(TP1) scores — over a native Model Context Protocol (MCP) server or plain REST, with one Bearer key.

⚠️ Market DATA, not financial advice. And not the Flow (FLOW) blockchain — this is MidasFlow Flow API.


What it gives an agent

A single Bearer-key feed of cross-exchange crypto market DATA, shaped for an LLM to reason over:

  • Order flow — CVD, cross-exchange flow origin (where the aggression actually comes from)
  • Whale prints + multi-exchange liquidations + liquidation heatmap
  • Derivatives context — funding, open interest, basis
  • Anomalies, squeeze proximity, regime/phase context, support/resistance, sweeps
  • Calibrated P(TP1) scores + structured trade plans (size by expectancy, not vibes)
  • Realized track-record / accuracy feeds (honest win-rate with confidence bounds)

The agent discovers the full, current tool + field set itself from the keyless schema — no hardcoded parser to break:

bash
curl -s https://mcp.midasflow.ai/v1/schema | jq '.tiers, .endpoints[].path'

Connect

Claude Code / CLI (remote MCP)

bash
claude mcp add --transport http midasflow https://mcp.midasflow.ai/mcp \  --header "Authorization: Bearer mf_live_YOUR_KEY"

Claude Desktop (config)

See examples/claude_desktop_config.json. Add the midasflow block to your mcpServers and replace the key.

Any MCP client

Point it at the remote Streamable-HTTP endpoint https://mcp.midasflow.ai/mcp with header Authorization: Bearer mf_live_YOUR_KEY.

REST (no MCP client needed)

See examples/rest_quickstart.sh:

bash
# whole-market context (cheap), then a per-symbol calibrated scorecurl -s -H "Authorization: Bearer mf_live_YOUR_KEY" https://mcp.midasflow.ai/v1/marketcurl -s -H "Authorization: Bearer mf_live_YOUR_KEY" https://mcp.midasflow.ai/v1/score/BTCUSDT

Tiers (agent / API — daily weighted units)

TierPriceUnits/dayNotes
Free$0200feed ~15 min lagged; great for poking the schema
PRO$49/mo750real-time
VIP$99/mo1,500real-time + raw PUMP + per-signal edge band
Prime$199/mo8,500model scores + MFBreakout
Apex$399/mo16,600everything + priority rate-limit / queue

Each tier also includes the human-facing Telegram bot. A "unit" is a weighted cost (context calls ~1, heavy crown calls up to ~12); see GET /v1/usage for live weights.


License

The sample code in this repo is MIT (see LICENSE). The MidasFlow Flow API service itself is proprietary / commercial.


MidasFlow Flow API — market DATA for AI agents. Founded 2022. Not financial advice; not the Flow (FLOW) blockchain.

来源:README.md,提交 6fa5976

工具

14

get_signals

Get Flow signals (live feed / elite crown)

Pull recent MidasFlow SignalEvent records (newest first). quality='normal' (default) = the bucketed signal log across source families; quality='elite' = the rare highest-conviction multi-model-consensus crown feed (premium+, lagged anti-front-run). Tier-gated + moat-scrubbed server-side. Market DATA, not advice. Routes: normal→/v1/signals/pull, elite→/v1/signals/elite.

输入参数limitcursorsourcesymbolquality

score_symbol

Score symbol (calibrated P(TP1) + plan + safety)

CROWN data product: calibrated P(first TP1 before SL) band + coarse trade plan (TP ladder %, SL %, weights) for ONE symbol, FOLDED with a pre-trade feed-safety check (is the feed live/real-volume/fresh, no phantom ticks). Coverage is present-or-null — most symbols return p_tp1_band=null (valid, NOT an error). Feed the band into calc_ev; never read it as buy/sell. Routes: /v1/score/{symbol} + folds /v1/symbol/check as `safety`.

输入参数symbol必填directioninclude_safety

get_candles

Get OHLCV candles (price history)

Recent OHLCV candle bars for a symbol at a chosen timeframe — the raw price/volume history other tools are derived from. Inspect trend, range, volatility, volume profile, or feed your own indicators. Market DATA, not advice. A symbol outside the candle store returns an empty bars list (normal, not an error). Routes: /v1/candles/{symbol}.

输入参数tflimitsymbol必填

get_orderbook

Get order-book snapshot (walls / imbalance + S/R)

Live order-book snapshot for a symbol — bid/ask walls, book imbalance, spread — FOLDED with support/resistance levels (classic TA fused with cross-exchange book walls + Fibonacci) so you see resting liquidity AND the level map in one call. Cross-exchange aggregate, derived levels only. Market DATA, not advice; thin/uncovered symbols return null fields (normal). Routes: /v1/orderbook/{symbol} + folds /v1/sr as `sr`.

输入参数symbol必填include_srsr_timeframe

get_flow

Get order-flow (cvd / sweeps / cross / vpin) [grouped]

Per-symbol order-flow microstructure, grouped by `kind`. kind='vpin'/'all' (default)=full snapshot (CVD trend+divergence, VPIN toxicity, sweep state, buy/whale aggression, /v1/flow); 'cvd'=CVD series (/v1/cvd); 'sweeps'=stop-sweep events (/v1/sweeps); 'cross'=cross-exchange flow origin (/v1/cross_flow). Realtime market CONTEXT, NOT advice / a win-rate. Empty/unknown kind → a menu of kinds. VPIN is ONE contested signal — pair with get_accuracy before treating it as edge.

输入参数kindsymbol

get_heatmap

Get liquidation heatmap (price-magnet zones)

Liquidation-heatmap matrix for a symbol — price levels where leveraged positions cluster and are likely force-liquidated (price-magnet zones / liquidity pools). Anticipate where a move may accelerate or stall. Market DATA, not advice; a symbol with no clustering returns an empty matrix (normal, not an error). Routes: /v1/heatmap/{symbol}.

输入参数symbol必填

get_context

Get context (regime / phase / derivatives / funding / squeeze / intel) [grouped]

Contextual market reads, grouped by `kind`. kind='regime'=market-regime labels (/v1/regime, market-wide, no symbol needed); 'phase'=move-lifecycle / entry-timing for a symbol (/v1/phase, premium+); 'derivatives'=normalized cross-exchange funding/OI/basis summary (/v1/derivatives); 'funding'=PER-VENUE funding+OI (/v1/funding); 'squeeze'=liquidation-cascade proximity (/v1/squeeze); 'intel'=per-symbol aggregated signal-quality roll-up (/v1/intel). Market DATA / context, NOT advice and NOT a win-rate. Empty/unknown kind → a menu of kinds.

输入参数kindsymbol

get_whales

Get whales / liquidations (large-print intel) [grouped]

Large-player / forced-flow intel, grouped by `kind`. kind='whales' (default)=recent large ('whale') prints for a symbol, banded size+side (/v1/whales); kind='liquidations'=multi-exchange liquidation prints over a rolling window, long-liq vs short-liq notional bands per venue (/v1/liquidations; empty symbol = market-wide top movers by liq notional). Raw notional is banded. Market DATA, NOT a signal/advice. Empty/unknown kind → a menu of kinds.

输入参数kindsymbolwindowexchange

get_market

Get market board (movers / overview / anomalies) [grouped]

Whole-market reads, grouped by `kind`. kind='movers' (default)=top movers ranked (/v1/movers); 'overview'=whole-market roll-up — breadth / direction / activity (/v1/market); 'anomalies'=per-symbol or cross-market anomaly board (volume_spike/abnormal_spread/phantom_tick) with severity bands (/v1/anomalies). Cheap top-level CONTEXT to find what's MOVING before drilling into one symbol. Market DATA, NOT advice. Empty/unknown kind → a menu of kinds.

输入参数kindlimitsymbol

get_accuracy

Get accuracy / outcomes (proof of edge) [grouped]

Realized track-record (proof of edge, forward-only, Wilson-bounded), grouped by `kind`. kind='accuracy' (default)=source×boost first-TP win-rate + boost lift in the canonical TP1 frame (/v1/accuracy); kind='outcomes'=realized aggregate track-record over a window from resolved signal_outcomes, model-free (/v1/outcomes). Win-rate frame = P(price hit TP1 before SL), NOT realized PnL. Model internals never exposed. Empty/unknown kind → a menu of kinds.

输入参数kindsourcewindow

account

Account (tier / quota / balance / usage / tiers) [grouped]

Your mf_ key's account view, grouped by `kind`. kind='account' (default)=tier/product, weighted daily quota, used/remaining today, billing, prepaid balance (/v1/account); kind='usage'=today's count + cap AND the endpoint_weights map (exact per-call cost units, /v1/usage); kind='tiers'=the Flow data-product tier ladder, delivered-now vs roadmap (/v1/tiers). Read account/usage to self-throttle by your remaining quota. Empty/unknown kind → a menu of kinds.

输入参数kind

backtest

[LAB] Backtest a setup (historical P(TP1 before SL) + EV)

LAB / RESEARCH tool — replay an arbitrary {symbol, entry, tp, sl} setup over MidasFlow's 1m candle history and get its historical P(TP1-before-SL) + EV, in the canonical first-touch TP1 frame (same frame as get_accuracy). Historical market DATA, NOT a prediction or advice. Low-sample setups return a directional band (normal, not an error). NOTE: live results are gated behind ff:backtest_live — until that flips, EVERY tier gets a coming-soon envelope (no live numbers). Routes: POST /v1/backtest.

输入参数sl必填tp必填entry必填symbol必填max_hold_minlookback_days

analyze

[LAB] Analyze symbol (AI-Analyst report — heaviest)

LAB / RESEARCH tool — the full MidasFlow AI-Analyst report for a symbol: a synthesized narrative fusing flow, derivatives, levels, regime and signal context into a human-readable read RIGHT NOW. This is the HEAVIEST call (composes many sub-feeds) so it costs MORE units and requires a TOP tier; call it sparingly, AFTER cheaper context tools. Market DATA / AI-generated analytics, NOT financial advice. Routes: /v1/analyze/{symbol}.

输入参数langsymbol必填

calc_ev

[LAB] Calculate expected value (local analytics, no network)

LAB tool — pure local expected-value calculator over a win-rate and average win/loss percentages. No network, no advice, 0 units. Feed a get_accuracy bucket win-rate (or a score_symbol band) to reason about expectation per trade.

输入参数stake_usdavg_win_pct必填avg_loss_pct必填win_rate_pct必填

版本历史

1
  1. v1.0.0最新Sep 16, 2026

评分

已满足适用检查项的 100%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分