hyperliquid-info-mcp

v1.0.0
io.github.Glebenjoy/hyperliquid-info-mcp Checked 2 days ago Published 6 months ago

Hyperliquid perp & spot data: prices, funding, open interest, order book, positions.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_all_mids

Current mid prices for every Hyperliquid market. Optionally filter to specific coins (comma-separated, e.g. 'BTC,ETH,SOL'). Fast way to check live prices.

ParameterTypeDescription
coinsstringComma-separated symbols to filter, e.g. 'BTC,ETH'. Empty = all markets.

get_perp_markets

Overview of all Hyperliquid perpetual markets: mark price, 24h change, 24h volume, open interest, funding rate, and max leverage. Sort by 'volume', 'oi', 'funding', 'change', 'gainers', or 'losers'.

ParameterTypeDescription
limitintegerHow many to return (default 20)
sortstringRanking metric (default 'volume')

get_market

Detailed snapshot of a single Hyperliquid perpetual market by coin symbol (e.g. 'BTC'): mark/oracle/mid price, 24h change & volume, funding (hourly + annualized), open interest, premium, and max leverage.

ParameterTypeDescription
coin *stringPerp symbol, e.g. BTC, ETH, SOL, HYPE

get_funding_history

Recent funding-rate history for a Hyperliquid perp (e.g. 'BTC'), with the average over the window. Useful for carry / basis and funding-trend analysis.

ParameterTypeDescription
coin *stringPerp symbol, e.g. BTC
hoursintegerLookback window in hours (default 24, max 720)

get_order_book

Live L2 order book for a Hyperliquid market (e.g. 'BTC'): top bids and asks with sizes, plus the spread. Works for perps (BTC) and spot pairs (e.g. 'HYPE/USDC').

ParameterTypeDescription
coin *stringMarket symbol, e.g. BTC or HYPE/USDC
depthintegerLevels per side (default 10)

get_spot_markets

Overview of Hyperliquid spot markets (HYPE, PURR, and other HIP-1 tokens): price, 24h change, 24h volume, and market cap. Sort by 'volume', 'change', 'gainers', or 'losers'.

ParameterTypeDescription
limitintegerHow many to return (default 20)
sortstringRanking metric (default 'volume')

get_user_state

Perp account state for any Hyperliquid wallet address (0x...): account value, total notional, margin used, withdrawable balance, and every open position with side, size, entry, unrealized PnL, liquidation price, and leverage.

ParameterTypeDescription
address *stringWallet address, 0x...