Hyperliquid MCP Server
MCP server to fetch data from hyperliquid APIs
tomarsachin2271
README
Hyperliquid MCP Server
This project implements a Model Context Protocol (MCP) server in Node.js that allows you to query your Hyperliquid open positions. The server exposes a tool that can be accessed from MCP clients like the Claude Desktop app.
Overview
The MCP server provides a tool named get-hyperliquid-positions
that allows Claude to fetch unrealized PnL and position information for any Hyperliquid wallet address. This integration enables seamless interaction between Claude and your Hyperliquid trading data.
Prerequisites
- Node.js installed on your system
- Claude Desktop app
- npm (Node Package Manager)
Building the Project
- Clone this repository:
git clone https://github.com/tomarsachin2271/hyperliquid-mcp.git
cd hyperliquid-mcp
- Install dependencies:
npm install
- Build the project:
npm run build
This will generate the dist/index.js
file that will be used by the MCP server.
Configuring Claude Desktop
- Open Claude Desktop app
- Go to Claude menu → Settings → Developer → Edit Config
- This will open your config file in Finder (on macOS)
- Add the following configuration to the file:
{
"mcpServers": {
"hyperliquid": {
"command": "node",
"args": [
"/path/to/your/hyperliquid-mcp/dist/index.js"
]
}
}
}
Replace /path/to/your
with the actual path to your project directory.
- Save the config file
- Restart the Claude Desktop app
Using the Tool
After configuration:
- You'll see a hammer icon in the bottom right section of the chat input box
- The MCP tool will be listed as "get-hyperliquid-positions"
- You can ask Claude questions like:
"Can you tell me unrealised pnl for my position on hyperliquid for 0x7f3B192Ab3220940D66236792F3EBDB0e4E74138"
- Claude will identify the appropriate tool and ask for your confirmation
- Click "Allow" to execute the query
- Claude will display the results of your query
Example Usage
- Ask Claude about your positions
- Claude identifies the tool needed
- Approve the tool usage
- Get your position information directly in the chat
This seamless integration allows you to quickly access your Hyperliquid trading information through natural conversation with Claude.
Recommended Servers
Crypto Price & Market Analysis MCP Server
A Model Context Protocol (MCP) server that provides comprehensive cryptocurrency analysis using the CoinCap API. This server offers real-time price data, market analysis, and historical trends through an easy-to-use interface.
MCP PubMed Search
Server to search PubMed (PubMed is a free, online database that allows users to search for biomedical and life sciences literature). I have created on a day MCP came out but was on vacation, I saw someone post similar server in your DB, but figured to post mine.
dbt Semantic Layer MCP Server
A server that enables querying the dbt Semantic Layer through natural language conversations with Claude Desktop and other AI assistants, allowing users to discover metrics, create queries, analyze data, and visualize results.
mixpanel
Connect to your Mixpanel data. Query events, retention, and funnel data from Mixpanel analytics.

Sequential Thinking MCP Server
This server facilitates structured problem-solving by breaking down complex issues into sequential steps, supporting revisions, and enabling multiple solution paths through full MCP integration.

Nefino MCP Server
Provides large language models with access to news and information about renewable energy projects in Germany, allowing filtering by location, topic (solar, wind, hydrogen), and date range.
Vectorize
Vectorize MCP server for advanced retrieval, Private Deep Research, Anything-to-Markdown file extraction and text chunking.
Mathematica Documentation MCP server
A server that provides access to Mathematica documentation through FastMCP, enabling users to retrieve function documentation and list package symbols from Wolfram Mathematica.
kb-mcp-server
An MCP server aimed to be portable, local, easy and convenient to support semantic/graph based retrieval of txtai "all in one" embeddings database. Any txtai embeddings db in tar.gz form can be loaded
Research MCP Server
The server functions as an MCP server to interact with Notion for retrieving and creating survey data, integrating with the Claude Desktop Client for conducting and reviewing surveys.