hyperliquid_mids

Pack: hyperliquid · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/hyperliquid_mids for the schema, then POST the same URL with its arguments for the data.

Every current mid price on Hyperliquid (perps + spot) in one call, from Hyperliquid’s own API.

Tool description as the model sees it

Live mid prices (midpoint of best bid/ask) for every asset Hyperliquid tracks — perps by symbol (“BTC”, “ETH”, …) and spot pairs by numeric id (“@0”, “@1”, …) — in one call, from Hyperliquid’s public info API ({“type”:“allMids”}). This is the cheapest way to get a current price: one request returns 1,000+ symbols. Pass coin to get just one symbol’s mid price instead of the full map.

Parameters

NameTypeRequiredDescription
coinstringnoOptional — return only this symbol’s mid price, e.g. “BTC” or “ETH”. Omit to get the full map.

Example call

Arguments

{
  "coin": "ETH"
}

curl

curl -X POST https://gateway.pipeworx.io/hyperliquid/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"hyperliquid_mids","arguments":{"coin":"ETH"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('hyperliquid_mids', {
  "coin": "ETH"
});

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the hyperliquid pack
{
  "mcpServers": {
    "hyperliquid": {
      "url": "https://gateway.pipeworx.io/hyperliquid/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 2, 2026