
Market Depth Lab
io.github.derkcc由 GitHub 帳號 derkcc 發布v0.2.2更新於 Oct 24, 2026
Read-only Hyperliquid, funding-rate and cross-exchange perpetual spread tools.
概覽
唯讀 MCP 伺服器,讓助理取得 Hyperliquid 與跨交易所永續合約的公開行情:資金費率、價差、錢包、TWAP 與手續費。
- 可以做什麼
- 查詢 HYPE 現貨與永續快照、Hyperliquid 資金費率及近 24 小時合計,以及目前活躍的公開 TWAP 排程
- 分析公開 Hyperliquid 位址的持倉、餘額、委託、槓桿與損益,並依名目金額與費率級距估算手續費
- 依市場列出受監控大戶族群的持倉與持倉量最大的位址,並附上快照時間與涵蓋範圍說明
- 掃描 Binance USD-M、OKX 與 Hyperliquid 之間的資金費率差與永續盤口價差,並提供費用與可成交容量估算
- 適用情境
- 適合讓助理研究 Hyperliquid 及跨交易所永續合約的資金費率或價差、檢視公開位址的曝險,或估算交易手續費,且不需要交易所登入或交易權限。
- 執行需求
- 以 stdio 在本機執行,可透過 npx 或原始碼安裝;需要 Node.js 20 以上版本,並能連線 Hyperliquid、HypurrScan、Binance USD-M 與 OKX 的公開端點。不需要 API 金鑰或錢包連線。可選變數 MDL_POSITION_INDEX_URL、MDL_POSITION_INDEX_PATH、MDL_MAX_SNAPSHOT_AGE_HOURS、MDL_REJECT_STALE 與 MDL_HTTP_TIMEOUT_MS 可調整持倉索引與逾時設定。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Market Depth Lab,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Market Depth Lab MCP
Read-only Hyperliquid and cross-exchange market research for AI agents.
🌐 Project website and live dashboards: marketdepthlab.com
Every MCP result points back to Market Depth Lab, where the public dashboards, methodology and related research live.
Market Depth Lab MCP gives Claude, Codex, Cursor and other MCP clients nine structured tools for public Hyperliquid and cross-exchange market data. It does not request a private key, wallet signature, exchange login or permission to trade.
Independent open-source software. Not affiliated with or endorsed by Hyperliquid. Research information only; not financial advice.
Why this server
- Useful on the first call: live HYPE, funding, wallet, TWAP and cross-exchange spread queries.
- Read-only by design: no order placement, signing or wallet mutation.
- Honest coverage: monitored-address rankings are labeled as a cohort, not a protocol-wide holder census.
- Agent-friendly output: each tool returns concise text and stable
structuredContent. - Traceable: results include source, time/coverage boundaries and one stateful link to the corresponding Market Depth Lab tool.
Tools
Funding rate and spread engines
The three concepts are deliberately separate:
hyperliquid_list_funding_ratesdescribes the current Hyperliquid main and HIP-3 funding universe, including exact trailing-24h sums for the returned page.scan_cross_exchange_funding_spreadsnormalizes one-hour and eight-hour settlement intervals, then compares a lower-funding long leg with a higher-funding short leg. Its annualized number is a comparison, not a forecast.scan_cross_exchange_perp_price_spreadscompares public top-of-book quotes. It reports both entry-fee and round-trip-fee views, plus the smaller visible notional on the selected bid/ask levels. OKX contract counts are converted with the public instrumentctValbefore notional is calculated.
The scanners are original TypeScript implementations informed by the read-only monitoring workflow used in Market Depth Lab's local research. They do not vendor or modify the reference Python projects.
Neither scanner places orders. A row is a screening candidate, not proof of executable or risk-free arbitrage. Funding can change; REST snapshots are not simultaneous; Binance/OKX normally settle in USDT while Hyperliquid main perps settle in USDC; and deeper-book slippage, transfers, margin, liquidation, venue access and close-out prices remain outside the estimate.
Requirements
- Node.js 20 or newer
- Internet access for public Hyperliquid/HypurrScan data
- No API key
Install with npm
The public package is
market-depth-lab-mcp-server.
Use this configuration in an MCP client that supports local stdio servers:
npx downloads the published package and starts the local read-only MCP
process. No exchange login, wallet connection or API key is required.
Install from source
Use the absolute path to dist/index.js in your MCP client:
Use the source checkout when you want to review or modify the implementation; use the npm configuration above for the shortest installation path.
Example prompts
Data and privacy
The server has no analytics or telemetry. A wallet address submitted to
analyze_hyperliquid_wallet is sent directly from your machine to the public
Hyperliquid API. Position-index calls use
https://data.marketdepthlab.com/v1/positions/latest.
Public exchange endpoints can be unavailable in some regions. Both
cross-exchange tools expose per-venue available, partial or unavailable
coverage and their error messages. They never silently claim that a
two-venue or three-venue comparison was complete.
Position-index boundary
Market Depth Lab rotates through a monitored pool of public addresses. The index is useful for cohort-level market structure, but it is:
- not a list of every Hyperliquid account;
- not a simultaneous snapshot of all monitored addresses;
- not proof of who controls an address;
- not a recommendation to copy any address.
Every position tool reports the snapshot time, age, monitored-address count, staleness state and coverage boundary.
Configuration
All variables are optional.
When MDL_POSITION_INDEX_PATH is set, the two position tools do not make a
network request. Other live-data tools still use public upstream APIs.
Development
The test suite performs an in-memory MCP handshake, verifies the nine tool definitions and calls the local fee tool through the protocol. Live upstream smoke tests should be run before each release, but are intentionally excluded from deterministic CI.
Public project links
- Website: https://marketdepthlab.com
- Live tools: https://marketdepthlab.com
- Issues: GitHub Issues
- Security: SECURITY.md
- Contributing: CONTRIBUTING.md
License
來源:README.md,提交 ad78fbc
工具
0版本歷史
1- v0.2.2最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分