server-hyperliquid

This repository provides an MCP server implementation that leverages the Hyperliquid SDK to retrieve real-time and historical market data, including mid prices, candlestick data, and L2 order books for Hyperliquid's coins.

24
1

Hyperliquid MCP Server

This repository contains an implementation of an MCP (Meta-Cognitive Protocol) server designed to integrate with the Hyperliquid SDK. It provides tools for accessing and retrieving data from the Hyperliquid decentralized exchange.

Tools

  • get_all_mids: Retrieves mid-prices for all available coins on the Hyperliquid platform. This tool requires no input parameters.
  • get_candle_snapshot: Fetches historical candlestick data for a specified token. It requires the coin symbol (string), interval (string, e.g., '15m', '1h'), and startTime (number, milliseconds since epoch). An optional endTime (number, milliseconds since epoch) can be provided.
  • get_l2_book: Provides access to the Level 2 order book for a given token, requiring the symbol (string) as input.

Usage with Claude Desktop

To integrate this server with Claude Desktop, add the following configuration 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, allowing free use, modification, and distribution under the terms and conditions outlined in the LICENSE file.

Repository

ME
mektigboy

mektigboy/server-hyperliquid

Created

March 6, 2025

Updated

March 28, 2025

Language

TypeScript

Category

Developer Tools