io.github.kitsune-de/hyperliquid-mcp

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

E-CommerceTypeScriptv0.1.0

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

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

ToolArgumentsReturns
get_marketscoin?, sortBy? (volume · funding · change · openInterest), limit?Perp markets: mark price, 24h change & volume, open interest, funding (1h + annualized APR), max leverage
get_pricecoins?Mid prices for given coins, or all perp mids
get_orderbookcoin, depth?L2 snapshot: best bid/ask, spread %, levels per side
get_candlescoin, interval?, count?OHLCV candles (1m … 1w)
get_accountaddressAccount value, margin usage, withdrawable, every perp position (side, size, entry, liq price, uPnL, leverage), spot balances
get_open_ordersaddressResting orders: side, price, size, type, trigger info
get_recent_fillsaddress, limit?Recent fills: direction, price, size, notional, closed PnL, fees
get_funding_paidaddress, 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 varDefaultPurpose
HL_INFO_URLhttps://api.hyperliquid.xyz/infoSet 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

Installation

Source-derived launch command. Check the maintainer’s required arguments and credentials before running:

bash
npx -y @kitsune-de/hyperliquid-mcp

Set up in your AI client

Merge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.

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

Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.

Claude Desktop setup reference

Package

@kitsune-de/hyperliquid-mcpnpm

Compatible MCP Clients

io.github.kitsune-de/hyperliquid-mcp works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.

  • Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.
  • Cursor~/.cursor/mcp.jsonRestart Cursor for changes to take effect.
  • VS Code.vscode/mcp.jsonReload VS Code window for changes to take effect.
  • Windsurf~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect.
  • Claude Code.mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.

Learn More