Skip to main content

Hyperliquid WhaleAlert MCP

An MCP server that provides real-time whale alerts on Hyperliquid, flagging positions with a notional value exceeding $1 million.

GitHub License Python Version Status

Features

  • Tool: get_whale_alerts: Fetches recent whale transactions and returns them as a Markdown table using pandas for clean formatting.
  • Prompt: summarize_whale_activity: Generates a summary of whale transactions, including metrics like total position value and notable symbols.

Prerequisites

  • Python: Version 3.10 or higher.
  • CoinGlass API Key: Obtain from CoinGlass (required for API access).
  • uv: Package and dependency manager (install uv).

Installation

  1. Clone the Repository:

    git clone https://github.com/kukapay/hyperliquid-whalealert-mcp.git
    cd hyperliquid-whalealert-mcp
    
  2. Install Dependencies:

    uv sync
    

    This installs dependencies specified in pyproject.toml.

  3. Claude Desktop Integration: Install the server in Claude Desktop:

    uv run mcp install mcp.py --name "Hyperliquid Whale Alert"
    

    Or update the configuration file manually:

    {
      "mcpServers": {
        "hyperliquid-whalealert": {
          "command": "uv",
          "args": [ "--directory", "/path/to/hyperliquid-whalealert-mcp", "run", "main.py" ],
          "env": { "COINGLASS_API_KEY": "your_api_key" }
        }
      }
    }
    

    Replace /path/to/hyperliquid-whalealert-mcp with your actual installation path and COINGLASS_API_KEY with your API key.

Usage

Using the Tool

The get_whale_alerts tool fetches whale transaction data and returns it as a Markdown list. Example output:

- **ETH Transaction**:
  - User Address: 0x3fd4444154242720c0d0c61c74a240d90c127d33
  - Position Size: 12700
  - Entry Price: $1611.62
  - Liquidation Price: $527.2521
  - Position Value (USD): $21003260
  - Action: Close
  - Create Time: 2025-05-20 12:31:57
- **BTC Transaction**:
  - User Address: 0x1cadadf0e884ac5527ae596a4fc1017a4ffd4e2c
  - Position Size: 33.54032
  - Entry Price: $87486.2
  - Liquidation Price: $44836.8126
  - Position Value (USD): $2936421.4757
  - Action: Close
  - Create Time: 2025-05-20 12:31:17

To invoke the tool:

  • In the MCP Inspector, select get_whale_alerts and execute.
  • In Claude Desktop, use the registered server and call the tool via the UI or API.

Using the Prompt

The summarize_whale_activity prompt generates a summary of whale transactions. Example interaction (in a compatible client):

/summarize_whale_activity

Response:

I'll analyze the whale transaction data and provide a summary.

This can be extended by LLMs to provide detailed metrics like total position value or notable symbols.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Metadata

Release files for iflow-mcp_hyperliquid-whalealert-mcp 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for iflow-mcp_hyperliquid-whalealert-mcp 0.1.0
File Size Uploaded
iflow_mcp_hyperliquid_whalealert_mcp-0.1.0.tar.gz 4.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for iflow-mcp_hyperliquid-whalealert-mcp 0.1.0
File Interpreter ABI Platform
iflow_mcp_hyperliquid_whalealert_mcp-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 10.3 kB

Release files / iflow_mcp_hyperliquid_whalealert_mcp-0.1.0.tar.gz

Download URL iflow_mcp_hyperliquid_whalealert_mcp-0.1.0.tar.gz
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
73e810a492d18c33ab2310fab440890e0996dd9cd5ac130c738e4227eb90592f
BLAKE2b-256 checksum
How to use checksums
3494095528494eeb03f024896fb5228d30d050f71d7f311980b42f804b87f68f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.9

Release files / iflow_mcp_hyperliquid_whalealert_mcp-0.1.0-py3-none-any.whl

Download URL iflow_mcp_hyperliquid_whalealert_mcp-0.1.0-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5bf621d918f698e485775eb74c03eb7aee871f4df7ade29abdcb9cca512d58e8
BLAKE2b-256 checksum
How to use checksums
fd9e524ad7d24b146e521e4fb11532a88f805b9df1384d9d793f2412bde844dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.9

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page