Skip to main content
Glama
hyperliquid-mcp

hyperliquid-mcp

by kitsune-de

hyperliquid-mcp

Give your AI agent eyes on Hyperliquid. A tiny, read-only MCP server that lets Claude (or any MCP-compatible agent) query Hyperliquid perp markets, funding rates, order books, candles — and the positions, fills and funding of any address.

  • 🔑 No API keys, no wallets, no signing — only the public Info API. It cannot trade, ever.

  • 📦 Zero config — one entry in your MCP config and you're done.

  • 🪶 Tiny — two source files, two dependencies (MCP SDK + zod).

Quick start

Claude Code

claude mcp add hyperliquid -- npx -y @kitsune-de/hyperliquid-mcp

Claude Desktop / Cursor / any MCP client

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

From source

git clone https://github.com/kitsune-de/hyperliquid-mcp
cd hyperliquid-mcp && npm install && npm run build
# then point your MCP client at: node /path/to/hyperliquid-mcp/dist/index.js

Related MCP server: 0xarchive-mcp

What you can ask

"What are the most extreme funding rates on Hyperliquid right now?"

"Show the open positions and liquidation prices of 0xabc… — how close is it to liquidation?"

"How much funding did my account pay over the last week, per coin?"

"Pull 4h candles for HYPE and describe the trend."

Tools

Tool

Arguments

Returns

get_markets

coin?, sortBy? (volume · funding · change · openInterest), limit?

Perp markets: mark price, 24h change & volume, open interest, funding (1h + annualized APR), max leverage

get_price

coins?

Mid prices for given coins, or all perp mids

get_orderbook

coin, depth?

L2 snapshot: best bid/ask, spread %, levels per side

get_candles

coin, interval?, count?

OHLCV candles (1m … 1w)

get_account

address

Account value, margin usage, withdrawable, every perp position (side, size, entry, liq price, uPnL, leverage), spot balances

get_open_orders

address

Resting orders: side, price, size, type, trigger info

get_recent_fills

address, limit?

Recent fills: direction, price, size, notional, closed PnL, fees

get_funding_paid

address, hours?

Net funding paid/received per coin over a window

All account tools work on any address — your own, a whale's, a vault's. It's all public on-chain data.

Configuration

Env var

Default

Purpose

HL_INFO_URL

https://api.hyperliquid.xyz/info

Set to https://api.hyperliquid-testnet.xyz/info for testnet

Development

npm install
npm run build
npm run smoke   # spawns the server over stdio and exercises every tool against live mainnet

Disclaimer

Read-only market data tooling. Not financial advice; no affiliation with Hyperliquid.

License

MIT

Available Tools

2 tools
get_funding_paidFunding paid/receivedA

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

Inputs: address (required), hours.

get_open_ordersOpen ordersA

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

Inputs: address (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 2 tools

    Disambiguation5/5

    The two tools address completely different aspects: one provides open orders, the other provides funding history. There is no overlap or ambiguity.

    Naming Consistency5/5

    Both tools follow a consistent 'get_<noun>' pattern, making the naming predictable and clear.

    Tool Count2/5

    With only 2 tools, the server feels very thin for a trading platform. Typically one would expect many more operations like placing/canceling orders, getting positions, etc.

    Completeness1/5

    The server lacks essential operations such as placing, canceling, or modifying orders, as well as getting account balances or positions. The limited surface cannot support meaningful trading workflows.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      B
      maintenance
      MCP server for querying historical and real-time crypto market data across Hyperliquid, Hyperliquid HIP-3, and Lighter.xyz - orderbooks, trades, candles, funding, open interest, liquidations, and data quality metrics.
      100
      13
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      A read-only MCP server for Hyperliquid that provides public market data (prices, order books, funding) and any wallet's positions, orders, and fills via MCP tools, without requiring a private key.
      MIT