npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

hyperliquid-ai-mcp-server

v1.1.0

Published

Hyperliquid MCP Server - AI Trading Agent for Claude Desktop

Readme

@hyperliquid-ai/mcp-server

Transform Claude Desktop into an AI Trading Powerhouse

Professional trading signals, technical analysis, and order management directly in Claude Desktop.

🚀 Quick Start

Installation

npm install -g @hyperliquid-ai/mcp-server

Claude Desktop Setup

npx @hyperliquid-ai/mcp-server install-claude

Test Your Installation

Open Claude Desktop and ask:

"Get BTC trading signal"

That's it! 🎉

🎯 What You Get

  • 📈 Real-time Trading Signals - AI-powered BUY/SELL/HOLD recommendations
  • 📊 Technical Analysis - RSI, MACD, Moving Averages, VWAP, Bollinger Bands
  • 💼 Account Management - Balance, positions, and order tracking
  • 🎯 Order Placement - Execute trades directly from Claude (Premium+)
  • 📚 Market Data - Live prices, orderbooks, and market analysis

🔧 Configuration

Environment Setup

Create .env file in your home directory:

# Required: Your Hyperliquid private key
HYPERLIQUID_PRIVATE_KEY=your_private_key_here

# Optional: Main wallet for queries (defaults to trading wallet)
HYPERLIQUID_MAIN_WALLET_ADDRESS=your_main_wallet_address

# Optional: Environment (defaults to testnet)
HL_ENV=mainnet  # or testnet

# Optional: Premium API key for advanced features
HYPERLIQUID_API_KEY=your_premium_api_key

Get Premium API Key

Visit hyperliquid-ai.xyz to:

  • 🆓 Start Free: 10 requests/hour, basic signals
  • 💎 Premium ($49/month): 1,000 requests/hour, all features
  • 🏢 Enterprise ($199/month): Unlimited requests, priority support

📖 Usage Examples

Basic Trading Signal

Ask Claude: "Get a trading signal for BTC"

Technical Analysis

Ask Claude: "Analyze ETH with RSI and MACD on 1h timeframe"

Account Information

Ask Claude: "Show my Hyperliquid account balance and positions"

Place Orders (Premium+)

Ask Claude: "Place a buy order for 0.1 BTC at market price"

🛠️ Advanced Configuration

Manual Claude Desktop Setup

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS):

{
  "mcpServers": {
    "hyperliquid-ai": {
      "command": "node",
      "args": ["/path/to/@hyperliquid-ai/mcp-server/dist/server.js"]
    }
  }
}

Custom Installation Path

# Install to specific location
npm install @hyperliquid-ai/mcp-server --prefix /your/custom/path

# Configure Claude Desktop manually
npx @hyperliquid-ai/mcp-server install-claude --path /your/custom/path

🔍 Available Commands

CLI Commands

# Install Claude Desktop configuration
npx @hyperliquid-ai/mcp-server install-claude

# Remove Claude Desktop configuration  
npx @hyperliquid-ai/mcp-server uninstall-claude

# Test MCP server connection
npx @hyperliquid-ai/mcp-server test

# Start server manually (for debugging)
npx @hyperliquid-ai/mcp-server start

MCP Tools Available in Claude

  • get_trading_signal - Generate AI trading recommendations
  • get_technical_analysis - Advanced technical indicator analysis
  • get_account_info - View balance and positions
  • get_market_data - Real-time prices and market info
  • place_order - Execute trades (Premium+)
  • cancel_order - Cancel existing orders (Premium+)
  • get_order_status - Check order status (Premium+)

🚨 Security Best Practices

  • ⚠️ Never share your private key
  • 🔒 Use environment variables for sensitive data
  • 🧪 Start with testnet to learn the system
  • 💡 Use separate wallet for trading vs main holdings
  • 📱 Enable 2FA on your Hyperliquid account

🐛 Troubleshooting

Common Issues

"HYPERLIQUID_PRIVATE_KEY is required"

  • Set your private key in .env file or environment variables

"Claude Desktop not detecting MCP server"

  • Run npx @hyperliquid-ai/mcp-server install-claude again
  • Restart Claude Desktop completely
  • Check Claude Desktop logs for errors

"API rate limit exceeded"

Debug Mode

# Enable detailed logging
DEBUG=hyperliquid-mcp npx @hyperliquid-ai/mcp-server start

📚 Documentation

📄 License

MIT License - see LICENSE file for details.

🤝 Contributing

Contributions welcome! Please see our contributing guidelines.


Transform your trading with Claude Desktop + Hyperliquid MCP Server 🎯