MCP ExplorerExplorer

Hyperliquid

@mektigboyon 13 days ago
18 MIT
FreeCommunity
Finance
#Hyperliquid#Exchange
An MCP server implementation that integrates the Hyperliquid SDK for exchange data.

Overview

What is Hyperliquid

The Hyperliquid MCP Server is an implementation that integrates the Hyperliquid SDK to facilitate access to various trading data and functionalities related to cryptocurrency trading on the Hyperliquid platform.

Use cases

It can be used by developers and traders to retrieve market data such as mid prices, historical candlestick data, and Level 2 order book information for various tokens, allowing them to make informed trading decisions.

How to use

To use the server, configure it within your application by adding the specified command in the ‘claude_desktop_config.json’ file. This setup allows the server to be launched using NPX, thereby enabling access to the Hyperliquid functionalities.

Key features

Key features include retrieving all mid prices for coins, accessing historical candlestick data for specific tokens, and querying the Level 2 order book for real-time trading information. These tools enhance the trading experience and data accessibility.

Where to use

The server can be utilized in trading applications, bots, or any cryptocurrency-related software that requires real-time data and trading functionalities, specifically built around the Hyperliquid trading platform.

Content

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:

NPX

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

License

This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.

Tools

get_all_mids
Get mid prices for all coins on Hyperliquid
get_candle_snapshot
Get candlestick data for a token on Hyperliquid
get_l2_book
Get the L2 book of a token on Hyperliquid

Comments