MCP HubMCP Hub
mektigboy

server-hyperliquid

by: mektigboy

MCP Hyperliquid (https://app.hyperliquid.xyz) server

10created 06/03/2025
Visit
Hyperliquid
DeFi

📌Overview

Purpose: To provide an MCP server implementation that integrates the Hyperliquid SDK for enhanced trading functionalities.

Overview: The Hyperliquid MCP Server facilitates seamless access to market data related to cryptocurrency trading, enabling users to retrieve prices, historical data, and order book information efficiently.

Key Features:

  • get_all_mids: Enables users to retrieve mid prices for all coins listed on Hyperliquid without any required inputs, making it simple to assess market trends.

  • get_candle_snapshot: Facilitates the retrieval of historical candlestick data for specified tokens, allowing users to analyze price movements over defined time intervals with customizable start and end times.

  • get_l2_book: Provides access to the L2 order book for any token, enabling traders to view detailed order information and market depth, essential for informed trading decisions.


Hyperliquid MCP Server

An MCP server implementation that integrates the Hyperliquid SDK.

Tools

get_all_mids

  • Retrieve mid prices for all coins on Hyperliquid.
  • No required inputs.

get_candle_snapshot

  • Get historical candlestick data for any token.
  • Inputs:
    • coin (string): Token symbol.
    • interval (string): Time interval (e.g., '15m', '1h').
    • startTime (number): Start time in milliseconds since epoch.
    • endTime (number, optional): End time in milliseconds since epoch.

get_l2_book

  • Access the L2 order book for any token.
  • Inputs:
    • symbol (string): Token symbol.

Usage with Claude Desktop

Add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "brave-search": {
      "command": "npx",
      "args": ["-y", "@mektigboy/server-hyperliquid"]
    }
  }
}

License

This MCP server is licensed under the MIT License. You are free to use, modify, and distribute the software under the terms of the MIT License.