whale-data-mcp
Exposes Polymarket whale trades and smart-money signals as paid tools, with USDC micropayments handled under the hood via x402.
README
@predge/whale-data-mcp
MCP server that exposes the Predge Whale Data x402 API (Polymarket whale trades + smart-money signals) 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.
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-mcp
Claude 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 8 tools (7 paid routes + 1 free discovery tool). No API keys, no account; the buyer key pays USDC per call on Base. Fund it with a few dollars of USDC (the facilitator pays gas, so no ETH needed).
Tools
| Tool | Price | Returns |
|---|---|---|
predge_list_endpoints |
free | API description + every endpoint with its price/schema (call first) |
predge_whales_latest |
~$0.005 | Latest whale trades ≥$10k (15-min delay). Param: limit (1-100) |
predge_whale_market |
~$0.01 | 7-day whale activity for one market. Param: condition_id |
predge_signals_daily |
~$0.02 | 24h digest: top markets, net flow, largest bets |
predge_wallets_leaderboard |
~$0.01 | Wallets by realized win rate. Params: window (7d|30d), limit |
predge_wallet_profile |
~$0.01 | Wallet score, win rates, categories, last 20 trades. Param: address |
predge_markets_movers |
~$0.005 | Largest YES-price moves. Param: window (1h|6h|24h) |
predge_signals_consensus |
~$0.03 | Smart-money (score>70) net flow + direction per market |
Every paid result includes a note with the on-chain settle tx.
Config (env)
| Var | Default | Notes |
|---|---|---|
BUYER_PRIVATE_KEY |
— | Required for paid tools. Funded buyer key. The free predge_list_endpoints tool works without it. |
X402_NETWORK |
base |
base = mainnet (real USDC). base-sepolia only works against a testnet deployment (see PREDGE_BASE_URL). |
PREDGE_BASE_URL |
prod API | https://x402-api-production-266e.up.railway.app. Override to point at another deployment (e.g. a testnet instance). |
MAX_PRICE_USD |
0.05 |
Any call priced above this is refused before paying. |
PREDGE_MCP_USER_AGENT |
predge-whale-data-mcp/0.1.1 |
Sent on every request (lets the API attribute MCP traffic). |
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.
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 run inspect # list tools (no payment)
node dist/dev-list-tools.js predge_list_endpoints # free call against prod
# 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}'
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。