Overview
Hyperliquid MCP Server is an MCP server implementation that integrates the Hyperliquid SDK to provide exchange data. It exposes three core tools: get_all_mids, get_candle_snapshot, and get_l2_book. The get_all_mids tool retrieves mid prices for all coins available on Hyperliquid and requires no inputs. The get_candle_snapshot tool fetches historical candlestick data for any token, with inputs including coin (token symbol), interval (such as '15m' or '1h'), startTime (epoch milliseconds), and an optional endTime. The get_l2_book tool provides access to the L2 order book for any token, requiring the symbol input. The README also demonstrates how to configure and use the server with NPX, via a claude_desktop_config.json entry and the command npx -y @mektigboy/server-hyperliquid. The project is licensed under the MIT License; users may run, modify, and distribute it in accordance with the MIT terms. This MCP server is designed for developers integrating Hyperliquid market data into downstream systems or assistants that rely on up-to-date price, candle, and order-book data.
Features
get_all_mids
Retrieve mid prices for all coins on Hyperliquid. No required inputs.
get_candle_snapshot
Fetch historical candlestick data for any token. Inputs include coin (string), interval (string), startTime (number, ms since epoch), and an optional endTime.
get_l2_book
Access the L2 order book for any token. Input: symbol (string).




