Get the FREE Ultimate OpenClaw Setup Guide →

hyperliquid

đź”— Connect Claude Code to the power of Hyperliquid DEX with the fully implemented Model Context Protocol (MCP) server for seamless interactions.

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio moner124-hyperliquid-mcp-server python -m hyperliquid_mcp_server \
  --env PYTHONUNBUFFERED="1"

How to use

The hyperliquid MCP server enables natural language trading interactions with the Hyperliquid decentralized exchange via Claude-powered prompts. It translates user requests such as “Buy 1 BTC” or “Sell ETH for USD” into executable trading actions, automating the process while presenting real-time status updates and trade history within a single interface. The server supports real-time market awareness and can be extended with additional capabilities like automatic trading options based on user-defined preferences. To get started, install and run the server, then open the application to connect your wallet and begin issuing natural language trading commands. The tooling is designed to be approachable for both beginners and experienced users, allowing you to trade through plain language rather than technical API calls.

How to install

Prerequisites:

  • Python 3.7 or higher
  • Internet access for dependencies and live market data

Install steps:

  1. Download the repository or the provided distribution package and extract it to your preferred folder.
  2. Create a Python virtual environment (recommended):
    • On Windows: python -m venv venv
    • On macOS/Linux: python3 -m venv venv
  3. Activate the virtual environment:
    • Windows: venv\Scripts\activate
    • macOS/Linux: source venv/bin/activate
  4. Install dependencies (if a requirements.txt is included in the extracted folder):
    • pip install -r requirements.txt
  5. Run the server:
    • python -m hyperliquid_mcp_server (If your package/module name differs, replace with the correct module name.)
  6. Follow any on-screen prompts to complete initial setup and connect your wallet.

Notes:

  • If a pre-packaged zip is provided, you can simply extract it, create a virtual environment, install dependencies, and start as above.
  • Ensure your environment has network access to the Hyperliquid API endpoints and any required authentication tokens.

Additional notes

Tips and common issues:

  • Ensure Python 3.7+ is installed and the virtual environment is active when launching the server.
  • If you encounter import or dependency errors, re-install dependencies from the requirements file and verify you’re using the correct module name in the -m flag.
  • When connecting your wallet, use a secure network and enable any available security features (e.g., 2FA if supported by the wallet).
  • If Claude integration requires API keys or tokens, supply them through environment variables (e.g., CLAUDE_API_KEY) or a configuration file as documented in the repository’s docs.
  • For troubleshooting, check logs printed to stdout/stderr or any log files in the config/logs directory if present.

Related MCP Servers

Sponsor this space

Reach thousands of developers ↗