by kukapay
Tracks large cryptocurrency transactions in real time using the Whale Alert API and exposes tools, resources, and prompts via the Model Context Protocol.
Whale Tracker provides real‑time monitoring of significant cryptocurrency transfers ("whale" movements) by interfacing with the Whale Alert API. It packages the data as MCP tools, resources, and reusable prompts for LLM‑powered clients.
npx -y @smithery/cli install @kukapay/whale-tracker-mcp --client claude
..env
file: WHALE_ALERT_API_KEY=your_api_key
or pass it as an environment variable.mcp dev whale_tracker.py --with-editable .
python whale_tracker.py
or mcp run whale_tracker.py
.get_recent_transactions
(filter by blockchain, min value, limit) and get_transaction_details
(lookup by transaction ID).whale://transactions/{blockchain}
exposing recent transactions per chain.query_whale_activity
template for pattern analysis.httpx
for non‑blocking API calls.python-dotenv
for secure API key handling.Q: Which programming language is required? A: Python 3.10+ (the server runs on Python, but installation uses the npm‑based Smithery CLI).
Q: Do I need a Whale Alert account?
A: Yes, obtain an API key from whale-alert.io and set WHALE_ALERT_API_KEY
.
Q: Can I use the server with other MCP clients? A: Absolutely; any MCP‑compatible client can load the server and call its tools/resources.
Q: How many transactions can I fetch at once?
A: The limit
parameter controls the number of recent transactions returned (default and maximum are defined by the API).
Q: Is the project open source? A: Yes, it is released under the MIT license.
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.
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.whale://transactions/{blockchain}
: Expose recent transactions for a specified blockchain as contextual data.query_whale_activity
: A reusable template for analyzing whale transaction patterns, optionally filtered by blockchain.httpx
for efficient, non-blocking requests to the Whale Alert API..env
file.To install Whale Tracker for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @kukapay/whale-tracker-mcp --client claude
git clone https://github.com/kukapay/whale-tracker-mcp.git
cd whale-tracker-mcp
uv add "mcp[cli]" httpx python-dotenv
Alternatively, use pip:
pip install mcp httpx python-dotenv
WHALE_ALERT_API_KEY=your_api_key_here
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.
Install the server into Claude Desktop for seamless integration:
mcp install whale_tracker.py --name "WhaleTracker" -f .env
--name "WhaleTracker"
: Sets a custom name for the server in Claude Desktop.-f .env
: Loads the API key from the .env file.Restart Claude Desktop after installation. Look for the hammer icon in the input box to confirm the server is loaded, then try commands like:
Run the server standalone for custom deployments:
python whale_tracker.py
Or use the MCP CLI:
mcp run whale_tracker.py
Here’s how you might interact with the server in Claude Desktop:
What are the latest whale transactions on Ethereum with a minimum value of $1,000,000?
The server calls get_recent_transactions
with blockchain="ethereum"
and min_value=1000000
.
Tell me about transaction ID 123456789.
The server uses get_transaction_details
to fetch and display the transaction data.
Analyze recent whale transactions on Bitcoin.
The query_whale_activity
prompt triggers an analysis based on the whale://transactions/bitcoin
resource.
The server requires a Whale Alert API key, which is loaded from the WHALE_ALERT_API_KEY
environment variable. To configure it:
WHALE_ALERT_API_KEY=your_api_key_here
python-dotenv
is installed (included in the dependencies).Alternatively, pass the key directly when running the server:
mcp install whale_tracker.py -v WHALE_ALERT_API_KEY=your_api_key_here
This project is licensed under the MIT License. See the LICENSE file for details.
Happy whale tracking! 🐳
Please log in to share your review and rating for this MCP.
{ "mcpServers": { "whale-tracker": { "command": "npx", "args": [ "-y", "@smithery/cli", "install", "@kukapay/whale-tracker-mcp", "--client", "claude" ], "env": { "WHALE_ALERT_API_KEY": "<YOUR_API_KEY>" } } } }
Explore related MCPs that share similar capabilities and solve comparable challenges
by goat-sdk
Enables AI agents to send and receive payments, purchase goods and services, execute investment strategies, tokenize assets, and obtain financial insights by leveraging blockchains, stablecoins, and wallets.
by financial-datasets
Provides access to income statements, balance sheets, cash flow statements, stock prices, market news, and cryptocurrency data through MCP tools for AI assistants.
by alpacahq
Enables large language models to trade stocks and options, retrieve real‑time and historical market data, and manage portfolios using plain English commands through a local or remote MCP server.
by XeroAPI
Provides a bridge between the Model Context Protocol and Xero's API, enabling standardized access to Xero accounting and business features.
by stefanoamorelli
Provides an MCP server that connects AI models to SEC EDGAR filings, enabling real‑time retrieval of company filings, financial statements, and insider‑trading data with exact XBRL precision and verifiable filing references.
by ariadng
Enables AI LLMs to execute trades on the MetaTrader 5 platform through the Model Context Protocol.
by calvernaz
Provides access to Alpha Vantage stock market data via an MCP server, supporting stdio and HTTP streaming modes with optional OAuth 2.1 authentication.
by kukapay
Integrates the Freqtrade cryptocurrency trading bot with MCP, exposing its REST API as tools for AI agents to perform automated trading operations.
by kukapay
Provides a comprehensive set of cryptocurrency technical analysis indicators and ready‑to‑use trading strategies through an MCP interface, enabling AI agents and applications to generate buy, hold, or sell signals.