@pipeworx/hyperliquid

MCP serverDev tools

Hyperliquid MCP, read-only market data from Hyperliquid's public info API.

Available today. Use it from your connected AI after setup.

Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

Then ask your AI: use the ask pipeworx tool from @pipeworx/hyperliquid

Install @pipeworx/hyperliquid

The server’s own address, for the clients that take one directly. Or connect ahel once and every client you use reads it from one address, with the account kept on ahel rather than in each client’s config.

  • Claude Code

    claude mcp add --transport http --scope user pipeworx-hyperliquid 'https://gateway.pipeworx.io/hyperliquid/mcp'

    Run it once in your project, then open /mcp to approve any sign-in the server asks for.

  • Claude Desktop

    https://gateway.pipeworx.io/hyperliquid/mcp

    Add a custom connector in Settings, paste this address, and approve the sign-in.

  • Cursor

    cursor://anysphere.cursor-deeplink/mcp/install?name=pipeworx-hyperliquid&config=eyJ1cmwiOiJodHRwczovL2dhdGV3YXkucGlwZXdvcnguaW8vaHlwZXJsaXF1aWQvbWNwIn0=

    Open the link and Cursor adds the server at that address.

  • ChatGPT

    https://gateway.pipeworx.io/hyperliquid/mcp

    In Settings, enable Developer mode, create an MCP app, and paste this address. Your plan and workspace must allow custom apps.

  • Codex

    codex mcp add pipeworx-hyperliquid --url 'https://gateway.pipeworx.io/hyperliquid/mcp'

    Run it once, then sign in with codex mcp login pipeworx-hyperliquid if the server asks for an account.

From the project's README

As published by pipeworx-io/mcp-hyperliquid in README.md.

Read-only market data for Hyperliquid, the largest onchain perpetuals exchange (it also runs a spot market) — mid prices, order books, candles, funding rates/history and live open interest — proxied live, per request, from Hyperliquid's own public info API. No wallet, no signing, no trading: the exchange/signed-order endpoints are out of scope on purpose.

Part of Pipeworx — an MCP gateway connecting AI agents to 1688+ live data sources. This is an independent, unofficial integration — not affiliated with, endorsed by, or published by the upstream provider.

Tools

  • hyperliquid_perp_meta(coin?) — the perps universe (symbol, size decimals, max leverage, delisted flag). Pass coin for one symbol, omit for the whole list.
  • hyperliquid_spot_meta() — every spot trading pair Hyperliquid lists, each with its pair name, pair index, and the token ids it is composed of.
  • hyperliquid_mids(coin?) — current mid price for every perp/spot symbol in one call, or just one symbol's mid price.
  • hyperliquid_asset_context(coin) — a perp's live funding rate, open interest, mark/oracle/mid price, premium, and 24h volume.
  • hyperliquid_l2_book(coin, depth?) — the live bid/ask order book (price, aggregate size, order count per level).
  • hyperliquid_candles(coin, interval?, lookback_hours?, start_time?, end_time?) — OHLCV candles for any window Hyperliquid retains.
  • hyperliquid_funding_history(coin, lookback_hours?, start_time?, end_time?) — the realized funding-rate series (Hyperliquid pays funding hourly).

Auth

Keyless. Hyperliquid's info endpoint (POST api.hyperliquid.xyz/info) takes no API key, account, or signature for any read in this pack.

Data sources

  • https://api.hyperliquid.xyz/info — Hyperliquid's public info endpoint. Every tool above sends a different type in the POST body (meta, spotMeta, allMids, metaAndAssetCtxs, l2Book, candleSnapshot, fundingHistory) — there is one URL, not one per resource.

Things the next caller would otherwise rediscover the hard way:

  • No per-request rate-limit error observed in testing — Hyperliquid's public docs describe IP-based weight limits on the info endpoint, but this pack does not special-case a 429; a caller hitting one gets Hyperliquid's own error body verbatim (via httpError), not a Pipeworx-specific message.
  • Perp vs spot coin IDs are DIFFERENT NAMESPACES, same coin argument shape. A perp is addressed by its bare symbol ("BTC", "ETH"). A spot pair is addressed by "@<index>" (e.g. "@0") EXCEPT the one canonical pair per token, which also has a human name ("PURR/USDC"). Get the right id from hyperliquid_spot_meta's index field — guessing a spot pair's @N id from its position elsewhere will be wrong, since indices are not contiguous by listing date.
  • allMids keys are a flat mix of perp symbols and spot @N ids — there is no type field distinguishing them in the response; you have to already know which namespace a symbol belongs to (perp list from hyperliquid_perp_meta, spot list from hyperliquid_spot_meta).
  • candleSnapshot returns [] (not an error) for a startTime/endTime window that contains no interval boundary — e.g. a 100ms window at 1h granularity. This is a legitimate empty answer, not a broken call; widen the window or use a coarser interval.
  • Open interest is reported in BASE ASSET UNITS, not USD (e.g. a BTC figure like "37751.7" means 37,751.7 BTC of open interest, not dollars) — multiply by markPx for a USD figure if that's what's needed.
  • metaAndAssetCtxs returns a two-element array, [meta, assetCtxs], where assetCtxs[i] corresponds to meta.universe[i] — there is no per-asset key; you must look up the coin's index in universe first and use that same index into assetCtxs. This pack does that lookup for you in hyperliquid_asset_context.
  • Historical open-interest is not published separately — only the CURRENT open interest is available (via metaAndAssetCtxs/ hyperliquid_asset_context); there is no openInterestHistory endpoint analogous to fundingHistory.

Quick Start

Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):

{
  "mcpServers": {
    "hyperliquid": {
      "url": "https://gateway.pipeworx.io/hyperliquid/mcp"
    }
  }
}

What this endpoint actually serves

tools/list at https://gateway.pipeworx.io/hyperliquid/mcp returns the tools in the table above plus the shared Pipeworx meta-tools — ask_pipeworx, discover_tools, search_within, remember/recall and the rest of the gateway-wide set. So the tool count you see is larger than this table: a single-pack endpoint currently lists roughly 30 shared tools alongside the pack's own. The connection's initialize response states its exact scope, and is the authoritative answer for a given day.

This is deliberate, not multiplexing by accident. The meta-tools are what let a scoped connection answer a question this pack does not cover — via ask_pipeworx, which routes across the whole catalog — without you adding a second MCP server. There is currently no way to mount a pack endpoint without them; if the extra schemas cost you more context than the routing is worth, connect to the full gateway once rather than to several pack endpoints.

Or connect to the full Pipeworx gateway to get every pack's tools listed directly, instead of just this one's:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://gateway.pipeworx.io/mcp"
    }
  }
}

Both URLs reach the same gateway and the same 1688+ data sources. The only difference is which pack's tools are listed directly; ask_pipeworx reaches all of them from either one.

No MCP client? Call it over HTTP

curl -X POST https://gateway.pipeworx.io/v1/tools/hyperliquid_perp_meta \
  -H 'Content-Type: application/json' \
  -d '{"coin":"BTC"}'

No account needed for the first calls. Inspect any tool: GET https://gateway.pipeworx.io/v1/tools/hyperliquid_perp_meta. Find one: POST https://gateway.pipeworx.io/v1/tools/search_packs with {"query":"..."}.

Standalone (no gateway account)

This package also runs as a local stdio MCP server — no Pipeworx account, no gateway round-trip:

{
  "mcpServers": {
    "hyperliquid": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-hyperliquid"]
    }
  }
}

Or run it directly to confirm it starts:

npx -y @pipeworx/mcp-hyperliquid

It speaks MCP over stdin/stdout and answers initialize/tools/list/tools/call for only this pack's tools — none of the shared meta-tools the gateway connection above adds. Same source, same tools, no ask_pipeworx routing.

Using with ask_pipeworx

Instead of calling tools directly, you can ask questions in plain English — this works on the pack endpoint above as well as on the full gateway:

ask_pipeworx({ question: "your question about Hyperliquid data" })

The gateway picks the right tool and fills the arguments automatically.

More

License

MIT

Tools it offers (43)

What this server listed when ahel dialed its public endpoint in Oct 2026, with no key and no account of yours. The names are the server’s own.

  • ask_pipeworx
  • ask_pipeworx_beta
  • ask_pipeworx_grounded
  • search_within
  • deep_research
  • discover_tools
  • resolve_entity
  • compare_entities
  • subscribe
  • unsubscribe
  • list_subscriptions
  • recent_alerts
  • entity_profile
  • recent_changes
  • validate_claim
  • company_facts
  • scan_dependency
  • bet_research
  • polymarket_arbitrage
  • polymarket_edges
  • polymarket_kalshi_spread
  • polymarket_fill_risk
  • polymarket_edge_tracker
  • kalshi_weather_edge
  • resolution_audit
  • resolution_diff
  • release_calendar_markets
  • pipeworx_trending
  • suggest_questions
  • generate_llms_txt

Signals

Last commit
Oct 2026
Advanced
Delivery
hyperliquid MCP server → your ahel connector (mcp.ahel.ai) → your AI.
Item type
mcp-server
Key
io-github-pipeworx-io-hyperliquid
Source
github.com/pipeworx-io/mcp-hyperliquid
Hosted endpoint
https://gateway.pipeworx.io/hyperliquid/mcp