Hyperliquid MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HL_TESTNET | No | Set to 'true' to use the Hyperliquid testnet, or 'false' for mainnet. | |
| PAPER_TRADING | No | When 'true', orders are logged but never submitted to Hyperliquid. Set to 'false' to enable live trading. | true |
| HL_PRIVATE_KEY | No | The private key for the Hyperliquid wallet. Required for live trading. | |
| HL_WALLET_ADDRESS | Yes | The wallet address for the Hyperliquid account. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
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