Skip to main content
Glama
samklein952-hub

Hyperliquid MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HL_TESTNETNoSet to 'true' to use the Hyperliquid testnet, or 'false' for mainnet.
PAPER_TRADINGNoWhen 'true', orders are logged but never submitted to Hyperliquid. Set to 'false' to enable live trading.true
HL_PRIVATE_KEYNoThe private key for the Hyperliquid wallet. Required for live trading.
HL_WALLET_ADDRESSYesThe wallet address for the Hyperliquid account.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_account_infoA

Get wallet balance, margin summary, and withdrawable funds

list_marketsA

List all available perpetual futures markets on Hyperliquid

get_market_infoB

Get current price, funding rate, open interest, and 24h volume for a perpetual market

get_orderbookB

Get the orderbook (bids and asks) for a perpetual market

get_open_ordersB

List all open orders for the connected wallet

get_positionsA

List all open positions with unrealized PnL, leverage, and liquidation price

place_orderC

Place a limit or market order on Hyperliquid perps

cancel_orderB

Cancel an open order by order ID

set_leverageC

Set leverage for a perpetual market

close_positionB

Close an open position (market close or limit close)

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/samklein952-hub/hyperliquid-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server