Hyperliquid MCP logo

Hyperliquid MCP

Read-only MCP access to Hyperliquid markets, account data, order books, candles, fills, and funding.

Install Hyperliquid MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "hyperliquid-mcp-2": {
      "command": "npx",
      "args": [
        "-y",
        "@kitsune-de/hyperliquid-mcp"
      ],
      "env": {
        "HL_INFO_URL": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Claude Code command
claude mcp add --env HL_INFO_URL=YOUR_VALUE_HERE --transport stdio hyperliquid-mcp-2 -- npx -y @kitsune-de/hyperliquid-mcp

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

We hit an unexpected error while testing this listing automatically.

npx -y @kitsune-de/hyperliquid-mcp

Rate limit exceeded, please try again later - you have reached the maximum number of concurrent E2B sandboxes (20). If you need more, please visit 'https://e2b.dev/docs/billing'

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The hyperliquid-mcp MCP server gives AI agents read-only access to Hyperliquid data through the public Info API. It exposes MCP tools for perpetual markets, prices, order books, OHLCV candles, account positions, open orders, fills, and funding history, with no API keys, wallets, or transaction signing. Run it over stdio with npx or build it from source, and use it when an agent needs to inspect market or public account data without trading.

Use cases

  • Compare perpetual-market funding rates and volumes
  • Inspect an address’s positions and liquidation prices
  • Retrieve order books and current mid prices
  • Analyze OHLCV candles for a selected coin
  • Review fills and funding paid over a time window

Key features

  • Read-only Hyperliquid market data
  • Perpetual prices, funding, volume, and open interest
  • L2 order books and OHLCV candles
  • Public account positions, orders, fills, and balances
  • Mainnet and testnet Info API endpoint support
  • Standard-input/output MCP transport

Tools8

What Hyperliquid MCP lets your agent do. Expand a tool for its parameters.

Verified live~957 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

18/18 checks healthy over the last 84d

What it can do

From the 8 tools this server returned when we ran it.

Read-only tools · 8
Network at startup3 connections
Files written at startupNone
Install scriptsprepare
npm provenanceNot published
Package age103 days
Maintainers1

Observed 2026-10-29 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 6d ago via OSV.dev · @kitsune-de/hyperliquid-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars2Stargazers on the source repository.
npm downloads228Package downloads in the last 30 days.
Last commit4mo agoMost recent push to the default branch.
Install checkInconclusiveWe hit an unexpected error running the automated check.
Tools exposed8Callable tools this server registers over MCP.

How Hyperliquid MCP works

What hyperliquid-mcp does

The hyperliquid-mcp MCP server connects an MCP-compatible agent to Hyperliquid’s public Info API. It is designed for querying perpetual-market and account information, not for placing, modifying, or canceling trades. Account-related queries accept any address, so an agent can inspect a personal account, another public address, or a vault when the relevant data is available through Hyperliquid’s public interface.

Market coverage includes current perpetual prices, 24-hour changes and volumes, open interest, funding rates, annualized funding APR, maximum leverage, order-book levels, and historical OHLCV candles. Account queries cover margin and account values, withdrawable amounts, positions, spot balances, resting orders, fills, and net funding paid or received.

How it works

The server communicates with the MCP client over standard input/output and uses Hyperliquid’s public Info API for data retrieval. No API credentials, wallet keys, or signing setup is required. Because the implementation is read-only, it cannot submit trades or other signed actions.

The market tools can return all relevant perpetual markets or accept filters such as a coin, sorting field, or result limit. Price queries can target selected coins or return all perpetual mid prices. Order-book requests identify a coin and can specify depth. Candle requests accept a coin, an interval from 1 minute through 1 week, and an optional count.

Address-based tools require a Hyperliquid address. They expose positions with side, size, entry price, liquidation price, unrealized PnL, and leverage; open orders with side, price, size, type, and trigger information; recent fills with direction, notional, closed PnL, and fees; and funding totals by coin over a requested time window.

Setup and configuration

The hyperliquid-mcp MCP server can be launched directly from npm with npx -y @kitsune-de/hyperliquid-mcp. Add that command as an MCP server entry in Claude Desktop, Cursor, or another compatible client. Claude Code can add it with its MCP command-line configuration flow.

A source installation is also available. Clone the repository, run npm install, build with npm run build, and configure the client to execute node /path/to/hyperliquid-mcp/dist/index.js.

The optional HL_INFO_URL environment variable selects the Info API endpoint. It defaults to https://api.hyperliquid.xyz/info; set it to https://api.hyperliquid-testnet.xyz/info when using the Hyperliquid testnet endpoint. The project also provides a npm run smoke command that starts the server over stdio and exercises its tools against live mainnet data.

Tools and capabilities

  • get_markets: Lists perpetual-market metrics, with optional coin, sort, and limit parameters.
  • get_price: Returns mid prices for selected coins or all perpetuals.
  • get_orderbook: Retrieves bid and ask levels, best prices, and spread percentage.
  • get_candles: Retrieves OHLCV candles across intervals from 1 minute to 1 week.
  • get_account: Reports account value, margin usage, withdrawable funds, positions, and spot balances.
  • get_open_orders: Lists resting orders and trigger details.
  • get_recent_fills: Returns recent executions, prices, sizes, PnL, and fees.
  • get_funding_paid: Summarizes net funding paid or received by coin over a time range.

Limitations and notes

The hyperliquid-mcp MCP server only reads public Hyperliquid data. It does not provide trading, wallet management, authentication, or signing operations. Its outputs are market-data and account-data responses rather than financial advice. The repository states that it has no affiliation with Hyperliquid.

The default endpoint is mainnet, while testnet use requires changing HL_INFO_URL. Data freshness, availability, and the fields returned ultimately depend on the Hyperliquid Info API.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Hyperliquid MCP

hyperliquid-mcp is an MCP server that connects AI agents to Hyperliquid’s public Info API and exposes read-only tools for markets, prices, order books, candles, accounts, open orders, fills, and funding paid. It requires no API keys or wallet signing and cannot place trades or submit other signed actions.

Install it by adding `npx -y @kitsune-de/hyperliquid-mcp` as an MCP server command in your client configuration. Alternatively, clone the repository, run `npm install` and `npm run build`, then point the client to the generated `dist/index.js` file.

Yes, hyperliquid-mcp works with Cursor through a standard MCP configuration entry. Configure Cursor to run `npx` with `-y` and `@kitsune-de/hyperliquid-mcp` as the package argument.

Yes, its account tools accept any Hyperliquid address whose public data can be retrieved. You can use them to inspect positions, open orders, fills, balances, and funding paid for your own address or another public address.

Set `HL_INFO_URL` to `https://api.hyperliquid-testnet.xyz/info` before launching the server. The default value points to the mainnet Info API endpoint.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewHyperliquid MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/hyperliquid-mcp-2?style=directory)](https://allmcps.com/mcp/hyperliquid-mcp-2)
HTML Embed
<a href="https://allmcps.com/mcp/hyperliquid-mcp-2"><img src="https://allmcps.com/api/badge/hyperliquid-mcp-2?style=directory" alt="Hyperliquid MCP on AllMCPs" /></a>