{
  "markdown": "# Hyperliquid Info MCP\n\nAn [MCP](https://modelcontextprotocol.io) server that gives Claude, Cursor, and any\nMCP-compatible agent **live market and account data from [Hyperliquid](https://hyperliquid.xyz)** —\nperp and spot prices, funding rates, open interest, order books, and wallet positions.\n\nNo API key. No signup. The public Hyperliquid info API is free.\n\n> Most \"MCP for X\" repos are half-finished and break on the second request. This one ships\n> with tests and graceful error handling so an agent can actually rely on it.\n\n## What your agent can do\n\nAsk things like:\n\n- \"What are the top Hyperliquid perps by 24h volume right now?\"\n- \"Show me BTC perp: mark price, funding, and open interest.\"\n- \"Which perps have the highest funding rates?\" (carry / basis hunting)\n- \"What's the BTC order book and spread?\"\n- \"How has ETH funding moved over the last 48 hours?\"\n- \"Biggest gainers and losers on Hyperliquid spot today?\"\n- \"Show the open positions and PnL for wallet 0xabc...\"\n\n## Tools\n\n| Tool | What it does |\n|------|--------------|\n| `get_all_mids` | Current mid prices for all markets, optionally filtered to specific coins |\n| `get_perp_markets` | All perps ranked by volume / OI / funding / change / gainers / losers |\n| `get_market` | Deep snapshot of one perp: mark/oracle/mid, 24h change & vol, funding, OI, premium, leverage |\n| `get_funding_history` | Funding-rate history for a perp over an N-hour window, with the average |\n| `get_order_book` | Live L2 book (top bids/asks + spread) for a perp or spot pair |\n| `get_spot_markets` | Spot markets (HYPE, PURR, etc.) ranked by volume / change |\n| `get_user_state` | Perp account state for any wallet: value, margin, and open positions with PnL & liq price |\n\n## Install\n\nNo install needed. It runs straight from npm via `npx`.\n\n### Claude Desktop\n\nAdd to `claude_desktop_config.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"hyperliquid\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"hyperliquid-info-mcp\"]\n    }\n  }\n}\n```\n\n### Cursor\n\nAdd to `.cursor/mcp.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"hyperliquid\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"hyperliquid-info-mcp\"]\n    }\n  }\n}\n```\n\nRestart the client and the `hyperliquid` tools appear.\n\n## Notes\n\n- All data is **read-only** market/account info from the public `https://api.hyperliquid.xyz/info`\n  endpoint. This server places no orders and never needs a private key.\n- Funding is shown both per-hour (how Hyperliquid charges it) and annualized, which is what\n  traders actually compare.\n- `get_user_state` works for any public wallet address — it reads the same data the explorer shows.\n\n## Develop\n\n```bash\nnpm install\nnpm run dev     # run from TypeScript source over stdio\nnpm test        # run the unit tests\nnpm run build   # compile to dist/\n```\n\n## License\n\nMIT — see [LICENSE](./LICENSE).\n\n---\n\n## Hire me\n\nI build custom MCP servers and AI systems (multi-agent, RAG, automation). Need a connector for your own API, or a full AI integration?\n\n- Hire me on Upwork: https://www.upwork.com/freelancers/~01946645ed245c263d\n- Or open an issue on this repo.\n\nBuilt by Gleb.\n",
  "bytes": 3110,
  "sha": "395f855daead8a60bf7d157386890d632bba7b978c3649a12a22171f148a03eb",
  "repo_slug": "glebenjoy/hyperliquid-info-mcp",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_glebenjoy_hyperliquid_info_mcp_9e297246/readme"
}