
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 分