whale-data-mcp
This MCP server gives agents free discovery plus paid access to Predge’s Polymarket whale, smart-money, wallet analytics, and signed outcome-attestation data.
Discover available Predge endpoints, prices, and payment details for free with
predge_list_endpoints.Fetch Polymarket whale data: latest ≥$10k trades, per-market 7-day whale activity, biggest single bets, and largest YES-price movers.
Get 24h whale digests globally or by category, plus smart-money consensus and single-market verdicts.
Analyze wallets via win-rate leaderboard, wallet profile, trade history/PnL curve, and 2–10 wallet comparisons.
Retrieve market price/volume history.
Verify settled outcomes through signed attestations for Polymarket outcomes, sports results, Kalshi market resolutions, and wallet track records.
Paid tools use x402 USDC micropayments under the hood; free listing works without a key.
Provides Ed25519-signed settled Major League Baseball game outcomes (winner, final score, completed) from ESPN, verifiable offline against Predge's published key.
Provides Ed25519-signed settled NBA game outcomes (winner, final score, completed) from ESPN, verifiable offline against Predge's published key.
Provides Ed25519-signed settled NHL game outcomes (winner, final score, completed) from ESPN, verifiable offline against Predge's published key.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@whale-data-mcp show me the latest whale trades"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@predge/whale-data-mcp
MCP server that exposes the Predge API at https://api.predge.io
(signed delivery verdicts for AI-agent payments, Polymarket whale trades,
smart-money signals, signed attestations, and free signed UMA settlement risk)
as tools. Payment is handled under the hood:
each paid tool call signs a USDC micropayment via an x402 client — the agent
just calls the tool and gets data back. You supply a funded buyer key.
Defaults to Base mainnet (the live Predge API is mainnet-only). Paid tools spend real USDC — typically $0.005–$0.03/call, hard-capped at
MAX_PRICE_USD($0.05 by default) before any money moves. Use a dedicated, low-balance buyer wallet.
Get a free key
Free pilot key in a minute: https://predge.io/start (no card)
With the MCP server: claude mcp add predge-whale-data -e PREDGE_KEY=pdg_pilot_... -- npx -y @predge/whale-data-mcp (no wallet needed for the calls the key covers, see Optional: a Predge key below).
First call over plain HTTP: a signed delivery verdict for a paid agent call.
export PREDGE_KEY=pdg_pilot_... # from predge.io/start
curl -s https://api.predge.io/v1/verdicts \
-H 'content-type: application/json' \
-H "x-predge-key: $PREDGE_KEY" \
-d '{"job":{"endpoint":"https://api.example.com/v1/report","expected_content_type":"application/json","required_fields":["rows"]},
"delivery":{"status":200,"headers":{"content-type":"application/json"},"body":"{\"rows\":[1]}"},
"payment":{"amount_usd":0.25,"payer":"0xBuyer","payee":"0xMerchant"}}'The response carries verdict (delivered / not_delivered / inconclusive), reason_codes, an ed25519 attestation and a verify_url. Docs: predge.io/docs#verdicts.
No key? Pay per call over x402 instead: the same request without x-predge-key answers 402 with the price ($0.05), payable in USDC by any x402 client.
Related MCP server: soldefi-mcp
Install (one command)
Claude Code:
claude mcp add predge-whale-data \
-e BUYER_PRIVATE_KEY=0xYOUR_FUNDED_BASE_MAINNET_KEY \
-e X402_NETWORK=base \
-- npx -y @predge/whale-data-mcpClaude Desktop / Cursor / any MCP client — add to the client's MCP config:
{
"mcpServers": {
"predge-whale-data": {
"command": "npx",
"args": ["-y", "@predge/whale-data-mcp"],
"env": {
"BUYER_PRIVATE_KEY": "0xYOUR_FUNDED_BASE_MAINNET_KEY",
"X402_NETWORK": "base"
}
}
}
}That's it — the agent gets 25 tools (18 paid routes + 7 free tools: discovery, settlement risk, verdict re-read, verdict report, key status, Desk config, record verification). Discovery, settlement risk, verdict re-read and record verification need no key at all. No account; the buyer key pays USDC per call on Base or Solana. Fund it with a few dollars of USDC (the facilitator pays gas, so no ETH/SOL needed).
Optional: a Predge key (PREDGE_KEY)
Set PREDGE_KEY and the server sends it as the x-predge-key header on every request:
Pilot key, free, from https://predge.io/start (email, no card): the settlement estimate (
predge_settlement_estimate) and delivery verdicts (predge_verdict) are free for 30 days, andpredge_verdict_reportreturns your signed monthly report. After the window those calls answer 402 again; with a buyer key they then pay per call.Desk key, from https://predge.io/desk (14-day trial):
predge_desk_config.
claude mcp add predge-whale-data -e PREDGE_KEY=pdg_pilot_... -- npx -y @predge/whale-data-mcpThe key goes first: a call it covers never pays, even with a buyer key set. Without a key or a buyer wallet, a paid tool returns the API's 402 explanation (price, networks, how to pay, where to get a pilot key) instead of failing opaquely. The key is never logged and never copied into a tool result.
ElizaOS — add to your character file (via @fleek-platform/eliza-plugin-mcp):
{
"plugins": ["@fleek-platform/eliza-plugin-mcp"],
"settings": {
"mcp": {
"servers": {
"predge": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@predge/whale-data-mcp"],
"env": { "BUYER_PRIVATE_KEY": "0xYOUR_FUNDED_BASE_MAINNET_KEY", "MAX_PRICE_USD": "0.05" }
}
}
}
}
}Set MAX_PRICE_USD to hard-cap spend — any call above it is refused before payment. Full
integration guide (ElizaOS, Claude, raw x402 for non-MCP stacks, spend caps): https://predge.io/docs#whale-data
Tools
Tool | Price | Returns |
| free | API description + every endpoint with its price/schema (call first) |
| free | Signed live UMA settlement risk for one Polymarket market, read from Polygon: UMA state, current proposal + challenge window, every dispute, UMA-vote status, bulletin-board updates, on-chain resolution, |
| ~$0.02; free with a pilot key | Same signed settlement-risk record with |
| $0.05 / $0.50; free with a pilot key | Delivery verdict: was the paid job delivered? Send |
| free |
|
| free, needs |
|
| free, needs |
|
| free, needs a Desk key |
|
| free | Offline check of any Predge signed record ( |
| ~$0.005 | Latest whale trades ≥$10k (15-min delay). Param: |
| ~$0.01 | 7-day whale activity for one market. Param: |
| ~$0.02 | 24h digest: top markets, net flow, largest bets |
| ~$0.01 | Wallets ranked by edge over resolved markets. Params: |
| ~$0.01 | Wallet score, win rates, categories, last 20 trades. Param: |
| ~$0.005 | Largest YES-price moves. Param: |
| ~$0.03 | Edge-verified smart-money net flow + direction per market |
| ~$0.02 | Flagship. Resolved-outcome attestation — the settled truth for a market ( |
| ~$0.02 | Flagship. Ed25519-signed settled game outcome (winner, final score, |
| ~$0.005 | Top-20 largest single trades across all markets. Param: |
| ~$0.01 | 24h digest scoped to one category. Param: |
| ~$0.02 | Consensus scoped to one category. Param: |
| ~$0.01 | Single-market smart-money verdict ("trust this move?"). Param: |
| ~$0.02 | Wallet trade history + running win-rate & PnL curve. Params: |
| ~$0.02 | Compare 2-10 wallets side-by-side + market overlap. Param: |
| ~$0.01 | Price/volume history for one market. Params: |
Every paid result includes a note with the on-chain settle tx. Not exposed as tools
(raw x402/HTTP reaches them; see predge_list_endpoints): the
/v1/markets/:id/edge polling pulse, the /v1/onchain/* routes, and the signed-calls /
stakes / track-record routes. Paused routes (503 signed_wallet_outputs_paused) have no
tool: the wallet track-record attestation /v1/wallets/:address/attest (the
predge_wallet_attest tool was removed in 0.3.0), /v1/onchain/pm-activity,
/v1/onchain/pm-flows and the free /v1/signal/:address.
Verifying signed records yourself
Every Predge signed record carries an attestation envelope. The rule is published at
data.predge.io/canonicalization.md:
canonical is the payload as JSON with keys sorted at every level and no whitespace;
content_hash = sha256(canonical); signature is ed25519 over the UTF-8 bytes of
canonical; the signer must be an active key in
https://api.predge.io/.well-known/predge-keys.json (current attestation kid 3b6551a6439b9bda; 13fa3d18a369e6c7 was revoked on 21 Oct 2026).
src/verify.ts implements this with node:crypto only.
Config (env)
Paid tools need a funded key for at least one rail — Base (BUYER_PRIVATE_KEY)
and/or Solana (SOLANA_BUYER_SECRET). Every paid route's 402 offers both networks;
the client pays on whichever it holds a key for (cheapest when both). The
facilitator pays the network fee on either rail — the wallet needs USDC only.
Var | Default | Notes |
| — | Optional. Pilot key (predge.io/start) or Desk key (predge.io/desk), sent as |
| — | Funded Base-mainnet EVM key ( |
| — | Optional. Funded Solana-mainnet key (64-number JSON array or base58) for the Solana rail. |
|
| Base network: |
| matches |
|
| @x402/svm default | Optional custom Solana RPC (public mainnet-beta is rate-limited). |
|
| Override to point at another deployment. |
|
| Any call priced above this is refused before paying. |
|
| Sent on every request (lets the API attribute MCP traffic). |
predge_list_endpoints,predge_settlement_risk,predge_get_verdictandpredge_verify_recordwork without any key.
Upgrading from 0.1.10 or older: those versions default to a decommissioned API host and every call fails with 404. Upgrade to 0.2.0 (
npx -y @predge/whale-data-mcp@latest), or setPREDGE_BASE_URL=https://api.predge.io.
Testnet
To exercise the payment path without real money, point PREDGE_BASE_URL at a
Base-Sepolia deployment of the API and set X402_NETWORK=base-sepolia; fund the
buyer from faucet.circle.com. (The public prod API
is mainnet-only, so testnet needs your own deployment.)
Safety
Price cap —
MAX_PRICE_USDis enforced in the payment selector, so an over-cap call is refused before any money moves (no wasted request).Network guard — the client only pays a requirement on the configured network; it won't accidentally settle a mainnet requirement while in testnet mode (or vice-versa).
No key handling beyond env — the server reads
BUYER_PRIVATE_KEYfrom env, never logs it, and never sends it anywhere but the local signer. Use a dedicated low-balance wallet and keep the key out of version control.PREDGE_KEYis only ever placed in thex-predge-keyrequest header to the Predge API; it is never logged, and an API error that echoes it is redacted.
Run from source
git clone https://github.com/predgeAI/whale-data-mcp.git
cd whale-data-mcp && npm install && npm run build
# then point your MCP client's "command" at node with args ["/abs/path/whale-data-mcp/dist/index.js"]Verify locally
npm test # unit tests (no network, no payment)
npm run inspect # list tools (no payment)
node dist/dev-list-tools.js predge_list_endpoints # free call against prod
node dist/dev-list-tools.js predge_settlement_risk '{"market":"<condition id or slug>"}' # free, signed
# paid call (spends real USDC on mainnet):
BUYER_PRIVATE_KEY=0x… X402_NETWORK=base node dist/dev-list-tools.js predge_whales_latest '{"limit":2}'Available Tools
19 toolspredge_attestOutcome attestation — verified settled truth (flagship)A
PAID (~$0.02). Resolved-outcome ATTESTATION for one Polymarket market: the SETTLED truth straight off the market row — resolved (bool), resolution (yes|no|null), resolved_at, and outcome_verified:{resolution:true}. Pure outcome-verified data — no modeled estimate anywhere. Optional side (yes|no): adds queried_side and correct (true iff side matches the resolved outcome) — use it to VERIFY whether a past signal, call, or advertised win-rate was actually right. Unknown/unresolvable market returns null and is NOT charged. Params: condition_id, side.
Inputs: condition_id (required), side.
predge_bets_biggestBiggest single betsA
PAID (~$0.005). Top-20 largest single trades across all Polymarket markets in the window (market, side, size, price, wallet + score). Param: window (24h|7d, default 24h).
Inputs: window.
predge_kalshi_attestKalshi outcome attestation — signed settled market resolution (flagship)A
PAID (~$0.02). Ed25519-SIGNED settled resolution for one Kalshi market — resolved(bool), resolution (yes|no|null), resolved_at — sourced from Kalshi's public market API and signed with Predge's published key, so it VERIFIES OFFLINE (no trust in this API): re-check the signature against the pubkey at data.predge.io/.well-known/predge-attest.json. This attests the MARKET's own settled result, NOT trader data. Optional side (yes|no): adds queried_side and correct (true iff it matches the resolution, null while unsettled). A market that has not settled yet returns resolved:false; an unknown ticker returns null and is NOT charged. Params: ticker (Kalshi market ticker), side.
Inputs: ticker (required), side.
predge_list_endpointsList Predge endpoints & prices (free)A
Free. Returns the Predge API description, network, payTo, and every endpoint with its price and what it returns. Call this first to see what's available before paying.
Inputs: no named parameters.
predge_market_historyMarket price/volume historyA
PAID (~$0.01). Price/volume history for one Polymarket market in daily buckets (price normalized to the YES side) plus recent prints. Params: condition_id, window (7d|30d|all, default 30d).
Inputs: condition_id (required), window.
predge_markets_moversLargest price moversA
PAID (~$0.005). Largest YES-price moves across active markets (from trade prints). Param: window (1h|6h|24h, default 6h).
Inputs: window.
predge_signals_consensusSmart-money consensus (premium)A
PAID (~$0.03, premium). Per active market with whale activity in 24h: net flow of smart-money wallets (score > 70), YES/NO volume, and a direction verdict.
Inputs: no named parameters.
predge_signals_consensus_categorySmart-money consensus for one categoryA
PAID (~$0.02). Edge-verified smart-money consensus (net flow + direction) scoped to one category. Unknown category → 404 (not charged) with known_categories. Param: category.
Inputs: category (required).
predge_signals_daily24h whale digestA
PAID (~$0.02). 24h digest: top markets by whale volume, net flow, largest single bets, totals.
Inputs: no named parameters.
predge_signals_daily_category24h digest for one categoryA
PAID (~$0.01). The 24h whale digest scoped to one market category (e.g. politics, economics, sports). Unknown category → 404 (not charged) with the known_categories list. Param: category.
Inputs: category (required).
predge_signals_marketSingle-market smart-money verdictB
PAID (~$0.01). Single-market smart-money VERDICT — the "should you trust this move?" decision for one market: edge-verified smart flow, direction and confidence. Param: condition_id.
Inputs: condition_id (required).
predge_sports_attestSports outcome attestation — signed settled game result (flagship)A
PAID (~$0.02). Ed25519-SIGNED settled game outcome for one finished match — winner, final score, completed(bool), teams, scheduled time — sourced from ESPN and signed with Predge's published key, so it VERIFIES OFFLINE (no trust in this API): re-check the signature against the pubkey at data.predge.io/.well-known/predge-attest.json. Use it to settle bets, prove a track record, or ground a wager on a tamper-evident result. Optional winner (team abbreviation e.g. 'LAL'): adds queried_winner and correct (true iff it matches the settled winner). Unknown league or unfinished/unknown event returns null and is NOT charged. Leagues: nba, wnba, nfl, college-football, mlb, nhl, mls, epl, champions-league, laliga. Params: league, event_id (provider event id), winner.
Inputs: league (required), event_id (required), winner.
predge_wallet_attestWallet track-record attestation — signed win/loss record (flagship)A
PAID (~$0.02). Ed25519-SIGNED track record for one wallet over RESOLVED Polymarket markets — the wallet's outcome-verified win/loss record signed with Predge's published key, so it VERIFIES OFFLINE against the pubkey at data.predge.io/.well-known/predge-attest.json. Turns a self-reported win rate into signed, tamper-evident proof a third party can check. Param: window (7d|30d, default 30d). A wallet with no resolved trades in the window returns 404 and is NOT charged. Params: address (0x…), window.
Inputs: address (required), window.
predge_wallet_historyWallet trade history + PnL curveA
PAID (~$0.02). One wallet's trade history with a running win-rate and modeled-PnL curve. Params: address (0x…), window (30d|90d|all, default 30d).
Inputs: address (required), window.
predge_wallet_profileWallet profileA
PAID (~$0.01). One wallet's profile: Predge score, win rates (7d/30d), favorite categories, last 20 trades (15-min delay). Param: address (0x…).
Inputs: address (required).
predge_wallets_compareCompare wallets side-by-sideA
PAID (~$0.02). Side-by-side comparison of 2-10 wallets (scores, win rates, modeled PnL) plus their market overlap. Param: addresses (2-10 0x… addresses).
Inputs: addresses (required).
predge_wallets_leaderboardWallet win-rate leaderboardA
PAID (~$0.01). Top wallets by realized win rate over resolved markets. Params: window (7d|30d, default 30d), limit (1-100, default 50).
Inputs: limit, window.
predge_whale_marketWhale activity for one marketA
PAID (~$0.01). 7-day whale activity + aggregates (volume, YES/NO split, net flow, unique wallets) for one Polymarket market. Param: condition_id.
Inputs: condition_id (required).
predge_whales_latestLatest whale tradesA
PAID (~$0.005). Latest Polymarket whale trades ≥$10k notional (15-min delay): market, side, size, price, wallet address + Predge wallet score. Param: limit (1-100, default 50).
Inputs: limit.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 19 tools
The tool set has several clusters that could be confused, especially wallet_profile vs wallet_history vs wallet_attest and signals_daily vs signals_consensus vs signals_market. Descriptions do clarify the exact purpose and granularity of each endpoint, but an agent may need to read carefully to avoid selecting the wrong one.
All tools share the predge_ prefix and use snake_case, and most follow a predge_<entity>_<scope> pattern. Minor inconsistencies exist between singular and plural forms (wallet vs wallets, whale vs whales) and between noun-style names and verb-style names, but the overall convention is predictable.
19 tools is on the heavy side and feels borderline for a single server, especially with many near-variant signals endpoints. The scope is broad enough to justify most tools, but some could be consolidated, and the count sits right at the upper edge of reasonable.
The domain coverage is strong: wallet profiles, history, comparison, leaderboards, whale trades, market movers, signals at global/category/market levels, market history, and signed attestations for Polymarket, Kalshi, and sports. The list_endpoints tool also helps agents discover the full surface, leaving no obvious dead ends.
Maintenance
Related MCP Connectors
Free Polymarket MCP tools (open beta, no payment): markets, odds, whale flow, trading signals. x402 payment rails in place for later.
Real-time Base & Solana liquidity, Polymarket orderflow, and pre-trade security via x402 V2.
Polymarket & Kalshi whale trades, ranked traders, backtests and Autopilot. From $12/wk or $25/mo.
Paid market-data MCP: crypto, equities, smart-money, macro, wallet PnL. x402 per call on Base.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAI-powered Solana DEX smart money signals. Detects whale/dolphin accumulation, divergence patterns, and market phase across 170+ tokens. Pay-per-call via x402 USDC micropayments.126 npm2MIT
- AlicenseAqualityDmaintenancePaid access to Solana DeFi risk intelligence — rug/honeypot scans, liquidity-pool analysis, and wash-trade-filtered pool rankings. Automatically settles micropayments in USDC via x402.10152 npmMIT
- AlicenseAqualityCmaintenanceProvides free Polymarket discovery data alongside paid deep-market intelligence tools via live x402 HTTP handshakes on Base mainnet. It allows AI agents to securely settle real, ultra-low-cost USDC micro-payments (0.05 USDC) directly over the Model Context Protocol.4MIT

Veynor MCP Serverofficial
FlicenseNot gradedqualityDmaintenancePrediction market intelligence for AI agents, enabling real-time access to whale trades, market data, signals, and AI-synthesized analysis from Kalshi and Polymarket via a standardized protocol.-