A Model Context Protocol (MCP) server for tracking cryptocurrency whale transactions using the Whale Alert API - Prerequisites - Installation - Running in Development Mode - Integrating with Claude Desktop - Direct Execution - API Key Configuration - Acknowledgements The whale-tracker-mcp server is a Python-based implementation of the Model Context Protocol (MCP) that integrates with the Whale Ale
Add this skill
npx mdskills install kukapay/whale-tracker-mcpWell-documented MCP server for tracking crypto whale transactions with clear setup and examples
1# Whale Tracker MCP Server234**A Model Context Protocol (MCP) server for tracking cryptocurrency whale transactions using the Whale Alert API**56[](https://opensource.org/license/mit/)7[](https://www.python.org/downloads/)8[](https://smithery.ai/server/@kukapay/whale-tracker-mcp)910<!-- omit in toc -->11## Table of Contents1213- [Overview](#overview)14- [Features](#features)15- [Prerequisites](#prerequisites)16- [Installation](#installation)17- [Usage](#usage)18 - [Running in Development Mode](#running-in-development-mode)19 - [Integrating with Claude Desktop](#integrating-with-claude-desktop)20 - [Direct Execution](#direct-execution)21- [Examples](#examples)22- [API Key Configuration](#api-key-configuration)23- [License](#license)24- [Acknowledgements](#acknowledgements)252627## Overview2829The `whale-tracker-mcp` server is a Python-based implementation of the [Model Context Protocol (MCP)](https://modelcontextprotocol.io) that integrates with the [Whale Alert API](https://docs.whale-alert.io/#endpoints). It enables real-time tracking and analysis of large cryptocurrency transactions ("whale" movements) by exposing tools, resources, and prompts to MCP-compatible clients like Claude Desktop.3031This server is designed for cryptocurrency enthusiasts, developers, and analysts who want to monitor whale activity directly within their LLM-powered workflows.3233## Features3435- **Tools**:36 - `get_recent_transactions`: Fetch recent whale transactions with optional filters for blockchain, minimum value, and limit.37 - `get_transaction_details`: Retrieve detailed information about a specific transaction by its ID.38- **Resources**:39 - `whale://transactions/{blockchain}`: Expose recent transactions for a specified blockchain as contextual data.40- **Prompts**:41 - `query_whale_activity`: A reusable template for analyzing whale transaction patterns, optionally filtered by blockchain.42- **Asynchronous API Calls**: Uses `httpx` for efficient, non-blocking requests to the Whale Alert API.43- **Environment Variable Support**: Securely manage your API key via a `.env` file.4445## Prerequisites4647- **Python**: Version 3.10 or higher.48- **Whale Alert API Key**: Sign up at [whale-alert.io](https://whale-alert.io/) to obtain an API key.49- **MCP Client**: Compatible with MCP clients like Claude Desktop or the MCP Inspector.5051## Installation5253### Installing via Smithery5455To install Whale Tracker for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@kukapay/whale-tracker-mcp):5657```bash58npx -y @smithery/cli install @kukapay/whale-tracker-mcp --client claude59```60611. **Clone the repository**:62```bash63git clone https://github.com/kukapay/whale-tracker-mcp.git64cd whale-tracker-mcp65```662. Install dependencies: We recommend using uv for dependency management:67```bash68uv add "mcp[cli]" httpx python-dotenv69```70Alternatively, use pip:71```bash72pip install mcp httpx python-dotenv73```743. Set up your API key: Create a .env file in the project root and add your Whale Alert API key:75```76WHALE_ALERT_API_KEY=your_api_key_here77```7879## Usage80### Running in Development Mode8182Test the server locally with the MCP Inspector:8384```bash85mcp dev whale_tracker.py --with-editable .86```8788This opens a web interface where you can explore the server's tools, resources, and prompts.8990### Integrating with Claude Desktop9192Install the server into Claude Desktop for seamless integration:9394```bash95mcp install whale_tracker.py --name "WhaleTracker" -f .env96```9798- `--name "WhaleTracker"`: Sets a custom name for the server in Claude Desktop.99- `-f .env`: Loads the API key from the .env file.100101Restart Claude Desktop after installation. Look for the hammer icon in the input box to confirm the server is loaded, then try commands like:102103- "Show me recent whale transactions on Bitcoin."104- "Get details for transaction ID 123456789."105- "Analyze whale activity on Ethereum."106107### Direct Execution108109Run the server standalone for custom deployments:110111```bash112python whale_tracker.py113```114115Or use the MCP CLI:116117```bash118mcp run whale_tracker.py119```120121## Examples122123Here’s how you might interact with the server in Claude Desktop:124125### Fetch Recent Transactions:126127```text128What are the latest whale transactions on Ethereum with a minimum value of $1,000,000?129```130The server calls `get_recent_transactions` with `blockchain="ethereum"` and `min_value=1000000`.131132### Get Transaction Details:133134```text135Tell me about transaction ID 123456789.136```137138The server uses `get_transaction_details` to fetch and display the transaction data.139140### Analyze Whale Activity:141142```text143Analyze recent whale transactions on Bitcoin.144```145146The `query_whale_activity` prompt triggers an analysis based on the `whale://transactions/bitcoin` resource.147148## API Key Configuration149150The server requires a Whale Alert API key, which is loaded from the `WHALE_ALERT_API_KEY` environment variable. To configure it:151152- Create a .env file:153```text154WHALE_ALERT_API_KEY=your_api_key_here155```156- Ensure `python-dotenv` is installed (included in the dependencies).157- The server will automatically load the key at startup.158159Alternatively, pass the key directly when running the server:160161```bash162mcp install whale_tracker.py -v WHALE_ALERT_API_KEY=your_api_key_here163```164165## License166167This project is licensed under the MIT License. See the LICENSE file for details.168169## Acknowledgements170171- Whale Alert for providing the API to track cryptocurrency whale transactions.172- Model Context Protocol team for the MCP specification and Python SDK.173- httpx for a robust HTTP client library.174175Happy whale tracking! 🐳176
Full transparency — inspect the skill content before installing.