hyperliquid-mcp
A read-only MCP server for querying Hyperliquid perp markets, funding rates, order books, candles, and account positions/fills/funding for any address, without needing API keys or wallets.
README
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
| 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
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Neon Database
MCP server for interacting with Neon Management API and databases
E2B
Using MCP to run code via e2b.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.