development
location
documentation
public
cryptocurrency
What is A Model Context Protocol (MCP) server for tracking cryptocurrency whale transactions using the Whale Alert API.?
The `whale-tracker-mcp` server is a Python-based implementation of the Model Context Protocol (MCP) that integrates with the Whale Alert API. 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. This server is designed for cryptocurrency enthusiasts, developers, and analysts who want to monitor whale activity directly within their LLM-powered workflows.
Documentation
Whale Tracker MCP Server
A Model Context Protocol (MCP) server for tracking cryptocurrency whale transactions using the Whale Alert API
The whale-tracker-mcp server is a Python-based implementation of the Model Context Protocol (MCP) that integrates with the Whale Alert API. 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.
This server is designed for cryptocurrency enthusiasts, developers, and analysts who want to monitor whale activity directly within their LLM-powered workflows.
Features
Tools:
get_recent_transactions: Fetch recent whale transactions with optional filters for blockchain, minimum value, and limit.
get_transaction_details: Retrieve detailed information about a specific transaction by its ID.
Resources:
whale://transactions/{blockchain}: Expose recent transactions for a specified blockchain as contextual data.
Prompts:
query_whale_activity: A reusable template for analyzing whale transaction patterns, optionally filtered by blockchain.
Asynchronous API Calls: Uses httpx for efficient, non-blocking requests to the Whale Alert API.
Environment Variable Support: Securely manage your API key via a .env file.
Prerequisites
Python: Version 3.10 or higher.
Whale Alert API Key: Sign up at whale-alert.io to obtain an API key.
MCP Client: Compatible with MCP clients like Claude Desktop or the MCP Inspector.
Installation# Installing via Smithery
To install Whale Tracker for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @kukapay/whale-tracker-mcp --client claude
Clone the repository:
git clone https://github.com/kukapay/whale-tracker-mcp.git
cd whale-tracker-mcp
Install dependencies: We recommend using uv for dependency management:
uv add "mcp[cli]" httpx python-dotenv
Alternatively, use pip:
pip install mcp httpx python-dotenv
Set up your API key: Create a .env file in the project root and add your Whale Alert API key:
WHALE_ALERT_API_KEY=your_api_key_here
Usage# Running in Development Mode
Test the server locally with the MCP Inspector:
mcp dev whale_tracker.py --with-editable .
This opens a web interface where you can explore the server's tools, resources, and prompts.
Integrating with Claude Desktop
Install the server into Claude Desktop for seamless integration: