Odds Data
v0.2.0MCP server providing public Polymarket prediction market data for AI models.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search_markets Search prediction markets
Search public Polymarket prediction markets by text. Returns matching markets (flattened from events) with outcomes, implied probabilities, volume, liquidity and status. Paginate with `nextCursor`: no markets are skipped between pages. Read-only.
| Parameter | Type | Description |
|---|---|---|
query * | string | Free-text search query, e.g. "us election" or "bitcoin". |
cursor | string | Pagination cursor from a previous result (`nextCursor`). Use it only with the same query. |
includeClosed | boolean | Include closed/resolved markets. Default: open markets only. |
limit | integer | Maximum number of markets to return (1-50). |
get_market Get a prediction market
Fetch one Polymarket market by ID or slug (exactly one). Returns the question, description, outcomes with token IDs and prices, volume, liquidity, dates and status. Read-only.
| Parameter | Type | Description |
|---|---|---|
id | string | Polymarket market ID (numeric string). Provide this or `slug`, not both. |
slug | string | Polymarket market slug. Provide this or `id`, not both. |
get_market_history Get market price history
Historical price (implied probability, 0-1) for the yes or no outcome of a Polymarket market, by ID or slug. Points are oldest first and may be unevenly spaced: read `resolutionSeconds` on each point. Read-only.
| Parameter | Type | Description |
|---|---|---|
bucketSeconds | integer | Optional bucket width in seconds (60-86400). Omit to let Polymarket choose. Minimum is 300 for "1w" and 600 for "1m"/"max". Fine buckets may be empty for old data. |
id | string | Polymarket market ID (numeric string). Provide this or `slug`, not both. |
interval | string | Lookback window. Note: "1m" is one MONTH. "max" is the full life of the market. |
maxPoints | integer | Maximum points returned. Longer series are evenly downsampled (first and last point are kept). |
outcome | string | Which outcome to chart. |
slug | string | Polymarket market slug. Provide this or `id`, not both. |
get_trending_markets Get trending prediction markets
Currently open Polymarket markets ranked by 24-hour trading volume (highest first), optionally filtered by category/tag. Read-only.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Number of markets to return (1-50). |
tag | string | Optional category/tag filter: a Polymarket tag slug (e.g. "politics", "crypto", "sports") or numeric tag ID. |
compare_markets Compare prediction markets
Fetch 2-10 Polymarket markets in parallel and return their facts side by side: question, outcomes, implied probabilities, 24h price change, volume, liquidity and status. Lookups that fail are listed under `failed` without failing the others. A market given more than once (for example by slug and by ID) is included once. Returns data only, no analysis. Read-only.
| Parameter | Type | Description |
|---|---|---|
markets * | array | 2-10 market identifiers. Each is a market ID, a market slug, or a polymarket.com URL. |
get_order_book Get a market order book
Current public order book for the yes or no outcome of a Polymarket market, by ID or slug. Bids (highest first) and asks (lowest first) with price, size in shares and cumulative size, plus best bid, best ask, midpoint and spread. Prices are 0-1. Read-only.
| Parameter | Type | Description |
|---|---|---|
depth | integer | Price levels returned per side (1-100). Totals always cover the whole book. |
id | string | Polymarket market ID (numeric string). Provide this or `slug`, not both. |
outcome | string | Which outcome token to read the order book for. |
slug | string | Polymarket market slug. Provide this or `id`, not both. |
get_market_prices Get live market prices
Live prices for 1-10 Polymarket markets: for the yes and no outcome of each, the midpoint, best bid and best ask (all 0-1), read from the order book rather than the cached market record. The yes midpoint is the implied probability. Lookups that fail are listed under `failed` without failing the others. Read-only.
| Parameter | Type | Description |
|---|---|---|
markets * | array | 1-10 market identifiers. Each is a numeric market ID, a market slug, or a polymarket.com URL. |
get_market_spread Get market bid-ask spread
Current bid-ask spread (best ask minus best bid, in price units 0-1) for the yes and no outcome of 1-10 Polymarket markets. A wide spread means a thin or uncertain market. Lookups that fail are listed under `failed` without failing the others. Read-only.
| Parameter | Type | Description |
|---|---|---|
markets * | array | 1-10 market identifiers. Each is a numeric market ID, a market slug, or a polymarket.com URL. |
get_last_trade_prices Get last trade prices
Price and side (BUY or SELL) of the most recent trade in the yes and no outcome of 1-10 Polymarket markets. The price is null for an outcome that has never traded. Lookups that fail are listed under `failed` without failing the others. Read-only.
| Parameter | Type | Description |
|---|---|---|
markets * | array | 1-10 market identifiers. Each is a numeric market ID, a market slug, or a polymarket.com URL. |
get_open_interest Get open interest
Open interest in USDC: the total value of positions currently held. Pass 1-10 markets (ID, slug or polymarket.com URL) for per-market figures, or omit `markets` for the global total across Polymarket. Lookups that fail are listed under `failed` without failing the others. Read-only.
| Parameter | Type | Description |
|---|---|---|
markets | array | Optional. Omit to get the global open interest across all of Polymarket instead. |
get_market_holders Get top market holders
Top holders of the yes and no outcome of a Polymarket market, by ID or slug, ordered by shares held (largest first). Each holder has a public wallet address, display name and share count; optionally entry price and profit and loss. Paginate with `nextCursor`. Public data only. Read-only.
| Parameter | Type | Description |
|---|---|---|
cursor | string | Pagination cursor from a previous result (`nextCursor`). Use it only with the same market and filters. |
id | string | Polymarket market ID (numeric string). Provide this or `slug`, not both. |
includePnl | boolean | Include average entry price, current value and profit and loss per holder. |
limit | integer | Top holders returned per outcome (1-50). |
minShares | number | Only holders with at least this many shares. |
slug | string | Polymarket market slug. Provide this or `id`, not both. |
get_public_trades Get recent public trades
Recent public trades, newest first: for one market (by ID or slug), or across all of Polymarket when no market is given. Each trade has time, side, outcome, price, shares, value in USDC and a public trader wallet and display name. Filter by side or minimum size. Paginate with `nextCursor`. Read-only.
| Parameter | Type | Description |
|---|---|---|
cursor | string | Pagination cursor from a previous result (`nextCursor`). Use it only with the same filters. |
id | string | Optional. Polymarket market ID. Omit both `id` and `slug` for the global recent-trades feed. |
limit | integer | Number of trades to return (1-100). |
minTradeUsdc | number | Only trades worth at least this many USDC (price x shares). |
side | string | Only trades on this side. |
slug | string | Optional. Polymarket market slug. Omit both `id` and `slug` for the global recent-trades feed. |
search_events Search prediction events
Search public Polymarket events by text. An event groups related markets (for example every candidate in one election). Returns each event with its volume, liquidity, open interest, dates, tags and its busiest markets with implied probabilities. Use search_markets instead to get individual markets. Paginate with `nextCursor`. Read-only.
| Parameter | Type | Description |
|---|---|---|
query * | string | Free-text search query, e.g. "world cup" or "fed rate". |
cursor | string | Pagination cursor from a previous result (`nextCursor`). Use it only with the same query and filters. |
includeClosed | boolean | Include closed/resolved events. Default: open events only. |
limit | integer | Maximum number of events to return (1-25). |
maxMarketsPerEvent | integer | Markets listed under each event, busiest first (0-20). 0 leaves the list out and returns the event summary only. |