Market Depth Lab logo

Market Depth Lab

Read-only MCP tools for Hyperliquid analysis, funding rates, fees, and cross-exchange perpetual spreads.

Install Market Depth Lab

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "market-depth-lab": {
      "command": "npx",
      "args": [
        "-y",
        "market-depth-lab-mcp-server"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Claude Code command
claude mcp add --transport stdio market-depth-lab -- npx -y market-depth-lab-mcp-server

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

The install command started, but didn't respond the way we expected when we tried to talk to it.

npx -y market-depth-lab-mcp-server

initialize succeeded but no response to tools/list.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

Market Depth Lab MCP server provides nine read-only tools for public Hyperliquid, Binance USD-M, OKX, and HypurrScan market data. It runs locally over MCP and does not require API keys, exchange logins, wallet signatures, or trading permissions. Use it to inspect public wallets and TWAPs, calculate fees, compare HYPE markets, analyze monitored positions, and screen funding or top-of-book perpetual spreads. Results include coverage details and boundaries because snapshots, venue availability, liquidity, and settlement assets can differ.

Use cases

  • Analyze a public Hyperliquid wallet’s exposure and PnL
  • Compare funding rates across Binance, OKX, and Hyperliquid
  • Screen perpetual top-of-book price spreads after fees
  • Estimate Hyperliquid perpetual trading fees
  • Review monitored large-trader positions by market

Key features

  • Read-only Hyperliquid wallet and market analysis
  • Public TWAP and HYPE market data
  • Funding-rate and trailing-24-hour funding calculations
  • Cross-exchange funding-spread scanning
  • Perpetual top-of-book spread checks with capacity estimates
  • Local fee calculation

Tools9

What Market Depth Lab lets your agent do. Expand a tool for its parameters.

Self-reported~266 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

18/18 checks healthy over the last 84d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 9d ago via OSV.dev · market-depth-lab-mcp-server (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads306Package downloads in the last 30 days.
Last commit4mo agoMost recent push to the default branch.
Install checkInconclusiveStarted but did not complete the MCP handshake in our test.
Tools exposed9Callable tools this server registers over MCP.

How Market Depth Lab works

What Market Depth Lab MCP server does

Market Depth Lab MCP server gives AI clients structured access to public market research data without enabling account actions. Its nine tools cover Hyperliquid wallet analysis, active public TWAP schedules, fee estimates, HYPE market data, funding rates, monitored large-trader positions, and cross-exchange perpetual comparisons.

The server is read-only. It does not request private keys, wallet signatures, exchange credentials, or permission to place trades. Results point to the Market Depth Lab website and include source information, timing or coverage boundaries, and structured output for client applications.

How it works

The MCP process runs locally and retrieves data from public upstream services. Hyperliquid wallet, HYPE, and funding requests use the public Hyperliquid info API. Active TWAP data comes from a public HypurrScan endpoint with Hyperliquid price references. Funding-spread scans query Binance USD-M, OKX, and Hyperliquid market-data APIs, while price-spread scans use Binance and OKX book-ticker data plus Hyperliquid order-book data.

Position summaries and holder rankings use Market Depth Lab’s rolling, read-only index of monitored public addresses. This is a cohort view rather than a complete account census. The fee calculator runs locally and does not make a network request. The process has no analytics or telemetry.

Setup and configuration

Node.js 20 or newer and internet access are required for live public data. The shortest installation path uses the published npm package:

config.json
{
  "mcpServers": {
    "market-depth-lab": {
      "command": "npx",
      "args": ["-y", "market-depth-lab-mcp-server"]
    }
  }
}

You can instead clone the repository, run npm ci and npm run build, then point the MCP client at the absolute path to dist/index.js.

All configuration variables are optional. MDL_POSITION_INDEX_URL selects the remote position index, while MDL_POSITION_INDEX_PATH loads a local JSON snapshot instead. MDL_MAX_SNAPSHOT_AGE_HOURS controls when position data is labeled stale, MDL_REJECT_STALE can turn stale data into an error, and MDL_HTTP_TIMEOUT_MS sets the request timeout.

Tools and capabilities

Market Depth Lab MCP server exposes tools that can:

  • List active Hyperliquid TWAPs and estimate their current notional.
  • Summarize a public address’s visible balances, positions, orders, leverage, and PnL.
  • Estimate fees by notional, trading role, and fee tier.
  • Compare HYPE spot and perpetual markets.
  • Summarize monitored trader positioning and rank holders within a market.
  • Report current Hyperliquid funding and exact trailing-24-hour totals for returned markets.
  • Compare normalized funding across Binance USD-M, OKX, and Hyperliquid after a supplied cost estimate.
  • Compare perpetual best bids and asks, fees, and visible top-of-book capacity across venues.

Limitations and notes

The spread scanners produce screening candidates, not proof of executable or risk-free arbitrage. Funding can change, REST requests are not simultaneous, and Binance or OKX commonly settle in USDT while Hyperliquid main perpetuals settle in USDC. Deeper-book slippage, transfers, margin, liquidation, venue access, and closing prices are outside the estimates.

Public exchange endpoints may be unavailable in some regions. Tools report whether venue coverage is available, partial, or unavailable rather than silently presenting an incomplete comparison. Position tools report snapshot age, monitored-address count, staleness, and coverage limits. A monitored address is not necessarily controlled by a known entity, and the index is not a recommendation to copy trades.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Market Depth Lab

Market Depth Lab is an MCP server that connects AI clients to public Hyperliquid, HypurrScan, Binance USD-M, and OKX market data. Its nine read-only tools analyze wallets, TWAPs, fees, HYPE, funding, monitored positions, and cross-exchange perpetual funding and price spreads without API keys or trading permissions.

Install it with the published npm package using `npx -y market-depth-lab-mcp-server` in an MCP client’s local stdio configuration. You can also clone the repository, run `npm ci` and `npm run build`, then start `dist/index.js` with Node.js.

No, Market Depth Lab does not require an API key, exchange login, wallet connection, private key, or trading permission. Live tools use public upstream endpoints, while the fee calculator runs locally.

No, Market Depth Lab is read-only and does not place orders, sign transactions, or mutate wallets. Its cross-exchange scanners provide screening candidates and estimates rather than execution.

Market Depth Lab uses public Hyperliquid APIs for wallet, HYPE, funding, and order-book data; HypurrScan for active TWAPs; Binance USD-M and OKX for cross-exchange market data; and a rolling Market Depth Lab index for monitored positions.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMarket Depth Lab AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/market-depth-lab?style=directory)](https://allmcps.com/mcp/market-depth-lab)
HTML Embed
<a href="https://allmcps.com/mcp/market-depth-lab"><img src="https://allmcps.com/api/badge/market-depth-lab?style=directory" alt="Market Depth Lab on AllMCPs" /></a>