Search the live catalogue by token, type, free text, or a raw social post — ranked, closing-soonest first.
“Find open Hunch markets about $BNKR.”
list_markets · discover_markets
One line wires Hunch into Claude, Cursor, or Codex as 14 native tools. Your agent can discover a market, research it, simulate the bet for $0, then settle it with a single signed USDC payment on Base — keyless, no cap, winners auto-paid.
Add it to Claude Code
claude mcp add --transport http hunch https://www.playhunch.xyz/api/mcp
What you can do
Talk to your agent in plain language — it picks the right Hunch tools, fills the arguments, and shows its work.
Search the live catalogue by token, type, free text, or a raw social post — ranked, closing-soonest first.
“Find open Hunch markets about $BNKR.”
list_markets · discover_markets
Decision-grade data: resolution rules, live odds, the realized odds trajectory, on-chain observations, the price-impact ladder, and sibling markets.
“What are the rules and current odds?”
research_market · get_market
place_bet defaults to a $0 dry-run that runs the FULL validation pipeline — prove the exact request shape before a cent moves.
“Simulate a $5 YES bet on it.”
quote_bet · place_bet (simulate)
$1 floor, no maximum. One signed x402 USDC payment on Base; the wallet only needs USDC — gas is sponsored.
“Place it for real.”
place_bet
Live PnL, resolutions, payout-per-share, and the durable on-chain proof for every fill. Winners are paid automatically — no claim step.
“How are my Hunch bets doing?”
list_positions · get_result · get_proof
Subscribe to resolution and payout events over HMAC-signed webhooks, an SSE stream, or simple polling.
“Tell me the moment it resolves.”
watch_wallet_events · poll_events · register_webhook
Install
Hunch is a remote streamable-HTTP MCP server at https://www.playhunch.xyz/api/mcp. Same 14 tools in every client.
One command. Restart and the 14 Hunch tools appear.
claude mcp add --transport http hunch https://www.playhunch.xyz/api/mcp
Settings → Connectors → Add custom connector (transport HTTP / streamable), this URL:
https://www.playhunch.xyz/api/mcp
Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global), then Settings → MCP.
{
"mcpServers": {
"hunch": { "url": "https://www.playhunch.xyz/api/mcp" }
}
}Codex speaks stdio MCP — bridge with mcp-remote in ~/.codex/config.toml:
[mcp_servers.hunch] command = "npx" args = ["-y", "mcp-remote", "https://www.playhunch.xyz/api/mcp"]
The toolbox
Every tool is a thin adapter over the audited REST route shown beside it — so the MCP surface and the HTTP API can never disagree. Only one tool moves money, and it defaults to a $0 simulation.
List open Hunch prediction markets with live odds; filter by status, type, or token.
GET /api/agent/v1/markets
Search markets by free text, or rank the best matches for a raw social post.
GET /api/agent/v1/discover
Fetch one market's full reference: question, odds, outcomes, deadline, fee, links.
GET /api/agent/v1/markets/{id}
Pull decision-grade research for one market: resolution rules, odds history, observations, price impact, related markets.
GET /api/agent/v1/markets/{id}/research
Read the Hunch crowd-conviction signal for a token: a pool-weighted sentiment score (0-100) over every live market about it, the single bet it points to, and how concentrated the conviction is.
GET /api/agent/v1/sentiment
Price a bet before placing it: tier, price, estimated shares, fee breakdown, and a 60-second quoteId.
GET /api/agent/v1/quote
MONEY-MOVING TOOL. Places a real USDC bet on Base via x402 — defaults to simulate mode (a $0 dry-run of the full validation pipeline) unless explicitly told otherwise. $1 floor, no maximum.
POST /api/agent/v1/trade
List a wallet's open and resolved positions with live PnL.
GET /api/agent/v1/positions
Read a market's resolution status, winning outcome, and payout-per-share.
GET /api/agent/v1/result
Fetch the durable on-chain settlement proof for a trade (Base tx hash + explorer link).
GET /api/agent/v1/proof/{tradeId}
Check a wallet's readiness to bet: Base USDC balance, minimum-bet coverage, funding guidance.
GET /api/agent/v1/wallet/{address}/readiness
Register a wallet-signed webhook URL for resolution and payout events (HMAC-signed deliveries).
POST /api/agent/v1/webhooks
Stream a wallet's events over SSE (bounded windows; reconnect with Last-Event-ID).
GET /api/agent/v1/events
Poll resolved and payout events for a wallet since a timestamp or sequence number — no webhook needed.
GET /api/agent/v1/resolved
End to end
One sentence to your agent unfolds into this sequence of tool calls — the same discover → research → simulate → settle → watch loop the SDK and the REST API run.
discover_markets({ q: "$BNKR $60M" })
→ bnkr-60m-mcap-2026-06-30 · “Will $BNKR reach a $60M market cap?”
research_market({ id })
→ YES 42¢ / NO 58¢ · target $60M · mcap $50.1M (+19.8% to go) · DexScreener-resolved
place_bet({ id, side: "yes", sizeUsd: 5, simulate: true })
→ 11.9 shares @ 42¢ · simulated, $0 moved, request shape proven
place_bet({ id, side: "yes", sizeUsd: 5 })
→ x402 challenge → wallet signs EIP-3009 → ✅ settled on Base · txHash + proofUrl
watch_wallet_events({ wallet })
→ on resolution: market.resolved → payout.paid → USDC pushed to the wallet
Safety