Market Depth Lab

v0.2.2
io.github.derkcc/market-depth-lab Checked 1 day ago Published 4 months ago

Read-only Hyperliquid, funding-rate and cross-exchange perpetual spread tools.

Values you need

VariableWhat it is
MDL_POSITION_INDEX_URLoptional Optional remote read-only Market Depth Lab position index URL. Default: https://data.marketdepthlab.com/v1/positions/latest
MDL_POSITION_INDEX_PATHoptional Optional local position-index JSON path. Overrides the remote URL.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add market-depth-lab -- npx -y --package=market-depth-lab-mcp-server@0.2.2 market-depth-lab-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "market-depth-lab": {
      "args": [
        "-y",
        "--package=market-depth-lab-mcp-server@0.2.2",
        "market-depth-lab-mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "market-depth-lab": {
      "args": [
        "-y",
        "--package=market-depth-lab-mcp-server@0.2.2",
        "market-depth-lab-mcp"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "market-depth-lab": {
      "args": [
        "-y",
        "--package=market-depth-lab-mcp-server@0.2.2",
        "market-depth-lab-mcp"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.market-depth-lab]
command = "npx"
args = ["-y", "--package=market-depth-lab-mcp-server@0.2.2", "market-depth-lab-mcp"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: calculate_hyperliquid_fees, get_hype_market_snapshot, analyze_hyperliquid_wallet, hyperliquid_summarize_large_trader_positions, hyperliquid_list_top_position_holders, list_active_hyperliquid_twaps, hyperliquid_list_funding_rates, scan_cross_exchange_funding_spreads, ….
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json