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 分