Sponsored by Deepsite.site

Hyperliquid MCP Server v5

Created By
TradingBalthazar8 months ago
A standalone Model Context Protocol server for Hyperliquid with integrated dashboard
Content

Hyperliquid MCP Server v5

A standalone Model Context Protocol (MCP) server for interacting with the Hyperliquid exchange API. This server provides tools for authentication, trading, and account management on the Hyperliquid exchange.

Features

  • Authentication: Connect to Hyperliquid using a private key or wallet address
  • Market Data: Fetch real-time market data for various assets
  • Trading: Place and cancel orders on the Hyperliquid exchange
  • Strategy Management: Create and manage trading strategies
  • Account Information: View account balances, positions, and performance
  • Dashboard: A user-friendly web interface for interacting with Hyperliquid

Quick Setup

Use this one-line command to set up the Hyperliquid MCP Server in your Next.js project:

git clone https://github.com/TradingBalthazar/hyperliquid-mcp-server-v5.git && cd hyperliquid-mcp-server-v5 && ./setup.sh && cd ..

This will:

  1. Clone the repository
  2. Install dependencies
  3. Build the MCP server
  4. Set up the dashboard in your Next.js project
  5. Configure the MCP server to work with your project

Manual Setup

If you prefer to set up the server manually, follow these steps:

  1. Clone the repository:

    git clone https://github.com/TradingBalthazar/hyperliquid-mcp-server-v5.git
    
  2. Navigate to the repository directory:

    cd hyperliquid-mcp-server-v5
    
  3. Install dependencies:

    npm install
    
  4. Build the MCP server:

    npm run build
    
  5. Run the setup script to configure your Next.js project:

    ./setup.sh
    

Starting the MCP Server

After setup, you can start the MCP server with:

node build/index.js

Using the Dashboard

The dashboard is accessible at http://localhost:3000 after starting your Next.js development server.

The dashboard allows you to:

  • Connect to Hyperliquid using your credentials
  • View your account information
  • Monitor your perpetuals and spot positions
  • Track your account value and performance

Available MCP Tools

The MCP server provides the following tools:

  • authenticate: Connect to Hyperliquid using a private key or wallet address
  • get_market_data: Fetch current market data for a specific asset
  • place_order: Place an order on Hyperliquid
  • cancel_order: Cancel an existing order
  • create_strategy: Create a new trading strategy
  • activate_strategy: Activate or deactivate a strategy

Available MCP Resources

The MCP server provides the following resources:

  • hyperliquid://account: Current account information from Hyperliquid
  • hyperliquid://strategy/{id}: Information about a specific trading strategy

Security Considerations

  • This server stores credentials in memory for the duration of the session
  • For production use, implement proper security measures for credential management
  • Consider using a vault or secure key management system for private keys

License

MIT

Acknowledgements

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Playwright McpPlaywright MCP server
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Tavily Mcp
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
Serper MCP ServerA Serper MCP Server
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
ChatWiseThe second fastest AI chatbot™
DeepChatYour AI Partner on Desktop
WindsurfThe new purpose-built IDE to harness magic
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
CursorThe AI Code Editor
Amap Maps高德地图官方 MCP Server
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs