Polymarket MCP Server — Live Implied Odds, Events & CLOB L2 Depth
Stream real-time macro, election, Fed rate, tech, and crypto event probabilities plus live Central Limit Order Book (CLOB) top-of-book bid/ask liquidity directly into Claude Code, Cursor, or autonomous research agents at $0.001/call.
claude mcp add --transport http agentapigate-polymarket-odds "https://mcp.agentapigate.ai/mcp/custom?tools=market.polymarket.events,market.polymarket.odds,prediction.polymarket.markets" \ --header "Authorization: Bearer aag_live_YOUR_KEY"
# 1. Inspect deterministic 402 quote (Base USDC + Solana USDC + Tempo MPP): curl -i "https://api.agentapigate.ai/v1/market/polymarket/odds?query=Fed&depth=5&format=compact" # 2. Or execute immediately with an aag_live_* / scoped aag_agent_* key: curl -s "https://api.agentapigate.ai/v1/market/polymarket/odds?query=Fed&depth=5&format=compact" \ -H "Authorization: Bearer $AAG_API_KEY" \ -H "X-AAG-Max-Cost: 0.0100"
{
"ok": true,
"meta": {
"endpoint": "market.polymarket.odds",
"format": "compact",
"cost_usd": 0.001,
"tokens_est": 178,
"raw_tokens_est": 2244,
"tokens_saved_pct": 92,
"latency_ms": 350,
"content_trust": "external_untrusted"
},
"data": {
"question": "Will there be no change in Fed interest rates after the December 2026 meeting?",
"implied_probabilities": {
"Yes": 0.0425,
"No": 0.9575
},
"best_bid": 0.042,
"best_ask": 0.043,
"midpoint": 0.0425,
"spread_bps": 10,
"volume_24h_usd": 1377827,
"top_bids": [
{
"price": 0.042,
"size": 10
},
{
"price": 0.041,
"size": 507.83
},
{
"price": 0.04,
"size": 1299.5
},
{
"price": 0.038,
"size": 385.32
},
{
"price": 0.037,
"size": 1971.55
}
],
"top_asks": [
{
"price": 0.043,
"size": 110
},
{
"price": 0.044,
"size": 6977.27
},
{
"price": 0.045,
"size": 2000
},
{
"price": 0.046,
"size": 1600
},
{
"price": 0.047,
"size": 5155.64
}
]
}
}Why Engineers Mount This Connector via AgentAPIGate
- 01 · GUARANTEE
100% Read-Only Market Intelligence (readOnly: true): queries public Gamma event metadata and live CLOB L2 orderbook depth — zero order placement, zero wallet signing, zero trading execution risk.
- 02 · GUARANTEE
Pre-sorted L2 orderbook levels (top_bids descending, top_asks ascending) with computed midpoint, spread_bps, implied_probabilities, and 24h volume.
- 03 · GUARANTEE
Pair with sec.company.filings, macro.fx.rates, and x.tweet.search inside a single MCP session for macro & earnings catalyst analysis.
Included MCP Tools & Deterministic Per-Call Pricing
Browse all 74 endpoints →| MCP Tool / Endpoint ID | Summary | API Key Price | x402 / MPP | p50 Latency | Bonus Credit |
|---|---|---|---|---|---|
| polymarket_events market.polymarket.events | Search or rank active multi-outcome Polymarket event groups with 24h volume, total liquidity, and nested market contracts. | $0.0010 | $0.0010 | 283 ms | Eligible |
| polymarket_live_odds market.polymarket.odds | Read-only live Polymarket market probabilities, 1h/24h price delta, spread (bps), and CLOB L2 top bid/ask liquidity depth. | $0.0010 | $0.0010 | 350 ms | Eligible |
| polymarket_live_markets prediction.polymarket.markets | Query active Polymarket prediction markets with live Yes/No implied probabilities, 24h volume, and liquidity. | $0.0010 | $0.0010 | 23 ms | Eligible |
| crypto_defillama_tvl crypto.defillama.protocols_tvl | Query Total Value Locked (TVL), 1d/7d TVL change, chains, and categories across 4,000+ DeFi protocols. | $0.0005 | $0.0010 | 306 ms | Eligible |
Frequently Asked Questions
Can an AI agent accidentally place bets or execute trades through this Polymarket MCP server?
Never. Every Polymarket endpoint on AgentAPIGate (market.polymarket.events, market.polymarket.odds, prediction.polymarket.markets) is strictly read-only public market data and orderbook telemetry. No trading or order-submission endpoints exist.
Why did my custom Python script get HTTP 403 from clob.polymarket.com?
Polymarket Gamma and CLOB edge filters block default scripting User-Agents and return unsorted raw orderbook arrays. AgentAPIGate normalizes headers, sorts L2 bids/asks accurately, caches hot books for 30s, and compresses output by ~82%.