hyperliquid-info-mcp

hyperliquid-info-mcp

3.4

If you are the rightful owner of hyperliquid-info-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The Hyperliquid Info MCP Server provides real-time data and insights from the Hyperliquid perpetual decentralized exchange (DEX) for use in bots, dashboards, and analytics.

The Hyperliquid Info MCP Server is a powerful tool designed to facilitate access to real-time data and insights from the Hyperliquid perpetual decentralized exchange (DEX). It is particularly useful for developers and analysts who need to integrate trading data into their applications, dashboards, or analytical tools. The server supports a wide range of user data queries, market data tools, and analysis prompts, making it a versatile solution for various trading and analytical needs. With support for ISO 8601 time strings, users can perform precise time-based queries, enhancing the accuracy and relevance of the data retrieved. The server is built to be compatible with Python 3.10 and requires a valid Hyperliquid account address for user-specific queries. It can be easily installed and run using popular package management tools like uv or pip, and it offers seamless integration with platforms like MCP Inspector and Claude Desktop.

Features

  • User Data Queries: Fetch user positions, open orders, trade history, funding history, fees, staking details, and sub-accounts.
  • Market Data Tools: Access mid prices, order book snapshots, candlestick data, funding rate history, and market metadata.
  • Analysis Prompt: A guided prompt to analyze user trading activity using relevant tools.
  • ISO 8601 Support: Time-based queries accept ISO 8601 time strings for precise data filtering.
  • Easy Installation: Compatible with Python 3.10 and can be installed using uv or pip.

Tools

  1. get_user_state

    Fetch user positions, margin, and withdrawable balance for perpetuals or spot markets.

  2. get_user_open_orders

    Retrieve all open orders for a user account.

  3. get_user_trade_history

    Get trade fill history with details like symbol, size, and price.

  4. get_all_mids

    Get mid prices for all trading pairs.

  5. get_l2_snapshot

    Fetch Level 2 order book snapshots for a specific coin.