Hyperliquid MCP Updated

Hyperliquid MCP Updated

A read-only Model Context Protocol server for Hyperliquid that exposes over 30 tools to query public market data and user state via the Hyperliquid Info API, without requiring a private key.

Category
Visit Server

README

Hyperliquid MCP Updated

Read-only Model Context Protocol server for Hyperliquid using the official hyperliquid-python-sdk (see pyproject.toml). Use this when third-party MCP wrappers drift from the SDK.

Features

  • No private key — only public POST /info endpoints.
  • One MCP tool per Info HTTP method (all read-only SDK methods that call /info), plus hl_info_request for any extra documented type not yet wrapped.
  • Not included: WebSocket subscribe / unsubscribe, Exchange (signing / trading), and internal helpers like set_perp_meta.

Install

cd Hyperliquid-MCP-Updated
uv venv && source .venv/bin/activate   # or: python -m venv .venv
uv pip install -e .

Run (stdio, for MCP clients):

hyperliquid-mcp-updated

Environment

Variable Meaning
HL_TESTNET true / 1https://api.hyperliquid-testnet.xyz
HL_API_URL Override base URL entirely
HL_LOG_LEVEL Default WARNING

Cursor mcp.json

Local checkout (replace path):

{
  "mcpServers": {
    "hyperliquid-updated": {
      "command": "/Users/you/path/to/Hyperliquid-MCP-Updated/.venv/bin/hyperliquid-mcp-updated",
      "args": [],
      "env": {}
    }
  }
}

Or with uv (no venv path hardcoded):

{
  "mcpServers": {
    "hyperliquid-updated": {
      "command": "/Users/you/.local/bin/uv",
      "args": [
        "--directory",
        "/Users/you/path/to/Hyperliquid-MCP-Updated",
        "run",
        "hyperliquid-mcp-updated"
      ],
      "env": {}
    }
  }
}

After editing, reload MCP in Cursor settings.

Tools ↔ hyperliquid.info.Info (SDK)

MCP tool SDK method
hl_clearinghouse_state user_state
hl_spot_clearinghouse_state spot_user_state
hl_open_orders open_orders
hl_frontend_open_orders frontend_open_orders
hl_user_fills user_fills
hl_user_fills_by_time user_fills_by_time
hl_user_funding_history user_funding_history
hl_portfolio portfolio
hl_user_vault_equities user_vault_equities
hl_user_role user_role
hl_user_non_funding_ledger_updates user_non_funding_ledger_updates
hl_historical_orders historical_orders
hl_user_twap_slice_fills user_twap_slice_fills
hl_user_fees user_fees
hl_user_staking_summary user_staking_summary
hl_user_staking_delegations user_staking_delegations
hl_user_staking_rewards user_staking_rewards
hl_delegator_history delegator_history
hl_order_status_by_oid query_order_by_oid
hl_order_status_by_cloid query_order_by_cloid
hl_referral_state query_referral_state
hl_sub_accounts query_sub_accounts
hl_user_to_multi_sig_signers query_user_to_multi_sig_signers
hl_perp_deploy_auction_status query_perp_deploy_auction_status
hl_user_dex_abstraction query_user_dex_abstraction_state
hl_user_abstraction query_user_abstraction_state
hl_user_rate_limit user_rate_limit
hl_spot_deploy_auction_status query_spot_deploy_auction_status
hl_extra_agents extra_agents
hl_meta meta
hl_meta_and_asset_ctxs meta_and_asset_ctxs
hl_perp_dexs perp_dexs
hl_spot_meta spot_meta
hl_spot_meta_and_asset_ctxs spot_meta_and_asset_ctxs
hl_all_mids all_mids
hl_l2_book l2_snapshot
hl_candles candles_snapshot
hl_funding_history funding_history
hl_predicted_fundings (no SDK method)post(..., {"type":"predictedFundings"})
hl_active_asset_data (no SDK method)post(..., {"type":"activeAssetData", ...})
hl_info_request raw post("/info", {**payload, "type": request_type})

Publish to GitHub

cd Hyperliquid-MCP-Updated
git init
git remote add origin https://github.com/lucaluca-04/Hyperliquid-MCP-Updated.git
git add .
git commit -m "Initial hyperliquid-mcp-updated server"
git branch -M main
git push -u origin main

License

MIT

Recommended Servers

playwright-mcp

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.

Official
Featured
TypeScript
Magic Component Platform (MCP)

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.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

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.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

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.

Official
Featured
TypeScript
Kagi MCP Server

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.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

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.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured