track_whales
Analyze whale activity and holder concentration for any token. Get top holders, Gini coefficient, and whale alerts to spot large trades and distribution imbalances.
Instructions
Analyze whale activity and holder concentration for a token. Returns top holders, Gini coefficient, whale alerts (large recent buys/sells), and distribution breakdown. Costs 0.005 USDC per call (x402 micropayment on Base).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | Token contract address (0x...) or symbol (e.g. "ETH", "PEPE") | |
| chain | No | Chain to query (e.g. "ethereum", "base", "solana", "arbitrum"). Defaults to "ethereum". |
Implementation Reference
- src/index.ts:321-341 (schema)Tool schema definition for 'track_whales': defines name, description, input parameters (token required, chain optional), and required field.
{ name: 'track_whales', description: 'Analyze whale activity and holder concentration for a token. Returns top holders, ' + 'Gini coefficient, whale alerts (large recent buys/sells), and distribution breakdown. ' + 'Costs 0.005 USDC per call (x402 micropayment on Base).', inputSchema: { type: 'object', properties: { token: { type: 'string', description: 'Token contract address (0x...) or symbol (e.g. "ETH", "PEPE")', }, chain: { type: 'string', description: 'Chain to query (e.g. "ethereum", "base", "solana", "arbitrum"). Defaults to "ethereum".', }, }, required: ['token'], }, }, - src/index.ts:479-487 (handler)Handler for 'track_whales': validates that token parameter is provided, then calls the external API endpoint '/api/whale-tracker' with token and optional chain parameters.
case 'track_whales': if (!params.token) { throw new McpError(ErrorCode.InvalidParams, 'track_whales requires: token'); } result = await callApi('/api/whale-tracker', { token: params.token, chain: params.chain, }); break; - src/index.ts:321-341 (registration)Tool registration within the TOOLS array (line 246). The TOOLS array is exposed via ListToolsRequestSchema handler on line 434.
{ name: 'track_whales', description: 'Analyze whale activity and holder concentration for a token. Returns top holders, ' + 'Gini coefficient, whale alerts (large recent buys/sells), and distribution breakdown. ' + 'Costs 0.005 USDC per call (x402 micropayment on Base).', inputSchema: { type: 'object', properties: { token: { type: 'string', description: 'Token contract address (0x...) or symbol (e.g. "ETH", "PEPE")', }, chain: { type: 'string', description: 'Chain to query (e.g. "ethereum", "base", "solana", "arbitrum"). Defaults to "ethereum".', }, }, required: ['token'], }, },