MCP Connector

Access Hyperliquid Exchange Data

Hyperliquid MCP Server: Access real-time Hyperliquid trading data like mid prices, L2 order books, and historical candles for AI applications.

Works with hyperliquid

Maintainer of this project? Claim this page to edit the listing.


72
Spark score
out of 100
Updated Mar 2025
Version 1.0.0
Models
universal

Add to Favorites

Why it matters

Integrate with the Hyperliquid cryptocurrency exchange to access real-time trading data. This asset provides programmatic access to essential financial information for analysis and trading strategies.

Outcomes

What it gets done

01

Retrieve mid prices for all available coins.

02

Fetch historical candlestick data with customizable intervals.

03

Access Level 2 order book information for any token.

Install

Add it to your toolbox

Run in your project directory:

curl -fsSL https://spark.entire.vc/get/vb-hyperliquid | bash

Capabilities

Tools your agent gets

get_all_mids

Retrieve mid prices for all coins on Hyperliquid

get_candle_snapshot

Retrieve historical candlestick data for any token with customizable time intervals and date ranges

get_l2_book

Access the L2 order book for any token

Overview

Hyperliquid MCP Server

The Hyperliquid MCP Server is an implementation of an MCP server that integrates the Hyperliquid SDK. It provides tools to retrieve market data, including mid prices for all coins, historical candlestick data for specified tokens and intervals, and L2 order book data for any token. Use this server when you need to programmatically access real-time and historical trading data from the Hyperliquid exchange for AI-driven applications. It is suitable for tasks requiring market data retrieval, such as building trading bots or performing market analysis.

What it does

As an AI developer, I want to integrate real-time and historical trading data from the Hyperliquid exchange into my applications so that I can build sophisticated trading bots and analytical tools.

This MCP server allows me to programmatically access key market data points. Specifically, I can retrieve mid prices for all coins using get_all_mids, fetch historical candlestick data for any token with get_candle_snapshot by providing the coin, interval, and start/end times, and access the L2 order book for a specific symbol using get_l2_book.

To integrate this server with Claude Desktop, you can add the following configuration to your claude_desktop_config.json:

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

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"]
    }
  }
}

FAQ

Common questions

Discussion

Questions & comments · 0

Sign In Sign in to leave a comment.