hyperliquid-mcp

v0.1.0
io.github.kitsune-de/hyperliquid-mcp Checked 2 days ago Published 4 months ago

Read-only Hyperliquid data: markets, funding rates, order books, candles, positions and fills

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

get_markets Hyperliquid perp markets

List Hyperliquid perpetual markets with mark price, 24h change, 24h volume, open interest, funding rate (1h and annualized APR) and max leverage. Pass `coin` for a single market, or sort/limit the full list.

ParameterTypeDescription
coinstringSingle market to fetch, e.g. BTC, ETH, HYPE
limitintegerMax markets to return (default 20)
sortBystringSort key for the list (default: volume). funding/change sort by absolute value

get_price Mid prices

Current mid prices. Pass `coins` for specific perp markets (e.g. ["BTC", "ETH"]) or omit to get all perp mids at once.

ParameterTypeDescription
coinsarrayCoins to fetch; omit for all perp markets

get_orderbook Order book snapshot

L2 order book snapshot for a perp market: best bid/ask, spread, and aggregated levels per side.

ParameterTypeDescription
coin *stringPerp market, e.g. BTC
depthintegerLevels per side (default 10)

get_candles OHLCV candles

Historical OHLCV candles for a perp market. Intervals: 1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 8h, 12h, 1d, 3d, 1w.

ParameterTypeDescription
coin *stringPerp market, e.g. ETH
countintegerNumber of candles (default 100)
intervalstringCandle interval (default 1h)

get_account Account state

Full account state for any Hyperliquid address: account value, margin usage, withdrawable, every open perp position (side, size, entry, liquidation price, unrealized PnL, leverage) and spot balances. Read-only public data.

ParameterTypeDescription
address *stringEVM address of the Hyperliquid account, e.g. 0xdfc24b077bc1425ad1dea75bcb6f8158e10df303

get_open_orders Open orders

Resting open orders for an address: side, price, size, order type, trigger info.

ParameterTypeDescription
address *stringEVM address of the Hyperliquid account, e.g. 0xdfc24b077bc1425ad1dea75bcb6f8158e10df303

get_recent_fills Recent fills

Most recent trade fills for an address: direction (Open Long / Close Short / ...), price, size, notional, closed PnL and fees.

ParameterTypeDescription
address *stringEVM address of the Hyperliquid account, e.g. 0xdfc24b077bc1425ad1dea75bcb6f8158e10df303
limitintegerMax fills to return (default 20)

get_funding_paid Funding paid/received

Net funding paid or received by an address over the last N hours, broken down by coin. Positive = received, negative = paid.

ParameterTypeDescription
address *stringEVM address of the Hyperliquid account, e.g. 0xdfc24b077bc1425ad1dea75bcb6f8158e10df303
hoursintegerLookback window in hours (default 24)