Prediction Market Odds
A read-only MCP server for live Polymarket and Kalshi prediction-market odds, search, comparison, and briefings.
Search markets across Polymarket, Kalshi, or both by topic.
Get live odds and a top-5 YES order book for a specific market.
Compare venues side-by-side for matching questions, including the probability gap.
Generate briefings with headline odds, biggest 24h moves, and cross-venue checks.
List trending markets by 24h volume.
Uses public read-only endpoints, needs no API keys, and cites sources with fetch timestamps.
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., "@Prediction Market Odds Compare Polymarket and Kalshi odds on the Fed holding rates in October."
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.
Prediction Market Odds (MCP server)
Live MCP URL (Streamable HTTP, no auth): https://prediction-odds-mcp.vercel.app/mcp
Health check: https://prediction-odds-mcp.vercel.app/health
An MCP server that gives Grok Bot (or any MCP client) live, read-only odds from Polymarket and Kalshi:
Search markets
Live implied probabilities with order books 10|- Side-by-side comparison of the same question on both venues
Short markdown briefings
It uses only public read endpoints, needs no API keys and has no trading functions. Every output cites its sources and fetch timestamps.
Use in Cursor
From the Cursor Marketplace: once listed, install it from https://cursor.com/marketplace (publisher MAASAI Labs). The plugin manifest lives in https://github.com/MAASAI-Labs/cursor-plugins.
Search the Marketplace for this plugin and click Install. 20|2. Check the server is enabled under Cursor Settings, then MCP. Plugin servers show with a
plugin-prefix.
Manually: add the hosted server to ~/.cursor/mcp.json (or .cursor/mcp.json in a project):
{
"mcpServers": {
"prediction-odds": { "url": "https://prediction-odds-mcp.vercel.app/mcp" }
}
}
30|```
## Tools
| Tool | Purpose | Key inputs |
|---|---|---|
| `search_markets` | Open markets on either or both venues: implied YES %, bid/ask, 24h change, volume, close date, ID, link | `query`, `venue` (`both`/`polymarket`/`kalshi`), `limit` |
| `get_market_odds` | Live odds and top-5 YES order book for one market | `venue`, `id` (Polymarket slug or Kalshi ticker) |
| `compare_markets` | Polymarket vs Kalshi for matching questions, with the probability gap | `query`, or `polymarketSlug` + `kalshiTicker` |
40|| `market_briefing` | Headline odds, biggest 24h moves, cross-venue check | `topic` (optional; default is most active) |
| `trending_markets` | Top open markets by 24h volume | `venue`, `limit` |
## Example prompts
- "What are the odds the Fed holds in October? Compare Polymarket and Kalshi."
- "Give me a prediction-market briefing on Bitcoin."
- "What's trending on Polymarket and Kalshi today?"
- "Show the live order book for the Kalshi market on an October Fed hold."
- "Search both venues for World Cup winner odds."
50|
## How odds are calculated
- **Implied probability** = the midpoint of the best YES bid and ask when both exist and the spread is 10¢ or less. Otherwise it's the last trade, then Polymarket's indicative outcome price.
- **Polymarket**: Gamma API for search and metadata. CLOB `/midpoint` and `/book` for live prices on single-market lookups.
- **Kalshi**: Trade API v2. Prices are in dollars (legacy cent fields are also supported). Volume is in contracts. In the order book, a NO bid at p is shown as a YES ask at 1 − p.
- **24h change**: Polymarket `oneDayPriceChange`. For Kalshi, the current implied probability minus `previous_price`.
- **Matching** (`compare_markets`): two markets pair only if all of these agree:
- the same numbers (strikes, thresholds and years; `25` ≠ `>25` ≠ `50+`)
- the same months
60| - the same comparator (above, below, exact or range)
- the same action (cut, hike or hold; "no change" and "hike by 0bps" both count as hold)
- title similarity of at least 0.3
Pairs are one-to-one. The output always warns that resolution rules can differ between venues.
## Polite use of public APIs
- **Caching**: odds 30 s, searches 2 min, Kalshi event index 15 min.
- **Kalshi search**: Kalshi has no text-search endpoint, so the server pages through open events (titles only, ~5 requests/s, parlay events skipped). Each call spends at most 8 s (`KALSHI_INDEX_BUDGET_MS`) extending the index, so the first one or two calls after a cold start may say "still indexing". It completes in about 3 calls (~9k events).
70|- **Rate limits**: on HTTP 429, the server retries once (honouring `Retry-After`, capped at 3 s), then falls back to the cached copy, marked STALE, or a partial result with a clear note.
- **Identification**: requests send a descriptive User-Agent.
## Run locally
```bash
npm install
npm test # unit tests (vitest; network mocked)
npm run build
npm start # Streamable HTTP at http://localhost:3000/mcp
80|npm run start:stdio # stdio
npm run smoke # live: calls every tool against the local serverRelated MCP server: polymarket-mcp
Deploy to Vercel
Push to GitHub and import it at vercel.com/new (Framework preset: Other). No environment variables are required.
The MCP URL is
https://<project>.vercel.app/mcp(served byapi/mcp.ts, via the rewrite invercel.json).Check it with
node scripts/smoke.mjs https://<project>.vercel.app/mcp.90|Serverless instances each keep their own cache and Kalshi index. The 8 s indexing budget keeps every request well inside the 30 s function limit.
Testing instructions for marketplace reviewers
No credentials needed.
List tools. You should see 5.
trending_marketswith{"limit": 3}: a table from both venues, ending with a "Sources: … fetched " line.search_marketswith{"query": "Fed rate"}: markets from both venues. If it says Kalshi is "still indexing", repeat after a few seconds.compare_marketswith{"query": "Fed decision October 2026"}(or any current headline event): paired rows with Poly %, Kalshi % and the gap. 100|5.get_market_oddswith a slug or ticker from step 3: odds and a top-5 order book.market_briefingwith{"topic": "Bitcoin"}: a short briefing.Invalid input, such as a
queryof 1 character, returns a validation error.
Disclaimer
Information only. This is not financial advice. Prediction markets may be restricted where you live. This server is not affiliated with Polymarket or Kalshi.
Privacy and terms
110|- Privacy policy: https://maasai.tech/privacy
Terms of use: https://maasai.tech/terms
Support and data requests: colepresley000@gmail.com
License
MIT
Available Tools
5 toolscompare_marketsPolymarket vs Kalshi side-by-sideARead-only
Side-by-side odds for the same question on Polymarket and Kalshi, with the probability gap. Auto-matching requires the same strikes/numbers, dates and comparator (above/below/exact/range) plus title similarity; or pass polymarketSlug + kalshiTicker.
Inputs: limit, query, kalshiTicker, minSimilarity, +1 more.
get_market_oddsLive odds for one marketARead-only
Live odds and top-of-book for one market. Polymarket: market slug (uses Gamma + CLOB midpoint/book). Kalshi: market ticker.
Inputs: id (required), venue (required).
market_briefingPrediction market briefingARead-only
A short markdown briefing: headline odds, biggest 24h moves and a cross-venue check, for a topic or for the most active markets overall.
Inputs: limit, topic.
search_marketsSearch prediction marketsARead-only
Search open markets on Polymarket and Kalshi by topic (e.g. 'Fed rate', 'Bitcoin 150k', 'World Cup'). Returns implied YES probability, bid/ask, 24h change, volume, close date, ID and link.
Inputs: query (required), limit, venue.
trending_marketsMost active marketsBRead-only
Top open markets by 24h volume on Polymarket, Kalshi or both.
Inputs: limit, venue.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool has a fairly clear role: search_markets for discovery, get_market_odds for a single market, compare_markets for cross-venue gap, trending_markets for volume leaders, and market_briefing for a digest. The only mild overlap is between trending_markets and market_briefing (both surface active markets) and between search_markets and trending_markets, but descriptions clarify the intent.
Three tools follow a clean verb_noun pattern (search_markets, get_market_odds, compare_markets), but market_briefing and trending_markets are noun/adjective-first phrases. The mixed convention is still readable but breaks the predictable pattern.
Five tools is well-scoped for a read-only odds aggregation service, covering discovery, detail, comparison, and summarization without redundancy. Each tool earns its place.
The surface covers search, per-market odds, cross-venue comparison, trending, and briefing—solid lifecycle for a read-only data domain. Minor gaps include historical/time-series odds and order-book depth, which agents could not fully work around but aren't central to the stated purpose.
Maintenance
Related MCP Connectors
Hosted MCP for Kalshi prediction markets: search, odds, order books, settlement rules, and trading.
Read-only prediction-market data across Kalshi, Polymarket, Limitless: venues, fees, lookups, stats.
Read-only Polymarket search, market details, order books, price history, and market cards.
Polymarket & Kalshi live prediction market odds aggregator and cross-venue arbitrage scanner MCP.
Related MCP Servers
AlicenseNot gradedqualityCmaintenanceRemote MCP server for prediction markets — search and compare live odds across Polymarket, Kalshi, and Limitless from Claude, ChatGPT, or Gemini. Six read-only tools, free tier available.6MIT- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to query Polymarket prediction markets and analyze market data through the MCP interface.9-
- AlicenseAqualityDmaintenanceProvides search, trending, odds, arbitrage, and category browsing for prediction markets (Polymarket & Kalshi) via the Model Context Protocol, enabling AI agents to access live market data without API keys.51MIT
- AlicenseBqualityBmaintenanceEnables MCP-compatible AI agents to research and trade prediction markets on Polymarket and Kalshi, including market search, orderbooks, price history, positions, order routing, and on-chain builder-code attribution, plus overshoot and dispute-risk signals.42MIT