If you have tried building a trading scanner, research dashboard, or AI agent around Polymarket and Kalshi, you have probably hit the same three friction points:

  1. Polymarket Gamma returns outcomePrices and outcomes as stringified JSON inside JSON, and different markets normalize liquidity/volume differently.
  2. Kalshi v2 mixes integer cents (yes_bid / yes_ask) with dollar strings and separate ticker conventions.
  3. LLMs frequently hallucinate legacy V1 endpoints when you try to wire them directly into Claude Desktop or Cursor.

We shipped a zero-dependency REST API + stdio MCP Server that normalizes live odds, bid/ask spreads (in bps), 24h volume, liquidity, and cross-platform probability divergences across Polymarket, Kalshi, and Manifold Markets in one clean schema.

1. Fetch Normalized Live Odds Across All 3 Exchanges

curl -s "https://prediction-markets-polymarket-kalshi-api.p.rapidapi.com/api/markets/trending?limit=10&source=all" -H "x-rapidapi-key: YOUR_RAPIDAPI_KEY" -H "x-rapidapi-host: prediction-markets-polymarket-kalshi-api.p.rapidapi.com" 

Every market from Polymarket, Kalshi, and Manifold comes back in the exact same structure:

{ "source": "polymarket", "id": "7166321", "title": "Chiefs vs. Rams", "yesProb": 0.495, "noProb": 0.505, "yesPct": 49.5, "spreadBps": 100, "volume24hUsd": 1754503.34, "liquidityUsd": 5035555.74, "closeTime": "2026-12-04T01:15:00Z", "url": "https://polymarket.com/event/nfl-kc-la-2026-12-04" } 

2. Scan Cross-Market Probability Spreads (Polymarket vs. Kalshi vs. Manifold)

import requests resp = requests.get( "https://prediction-markets-polymarket-kalshi-api.p.rapidapi.com/api/arbitrage/scan", params={"minSpreadPct": 3, "limit": 15}, headers={ "x-rapidapi-key": "YOUR_RAPIDAPI_KEY", "x-rapidapi-host": "prediction-markets-polymarket-kalshi-api.p.rapidapi.com", }, timeout=15, ) for opp in resp.json().get("opportunities", []): print(f"[{opp['spreadPct']}% spread] {opp['strategyHint']} — {opp['marketA']['title']}") 

Note: pairs are matched lexically; always verify exact resolution rules and settlement dates before placing live trades.

3. Wire Live Prediction Market Odds Into Claude Desktop or Cursor via MCP

Clone the open-source repo and add mcp-server.js (0 external dependencies, Node.js 18+) to your MCP config:

{ "mcpServers": { "prediction-markets": { "command": "node", "args": ["/path/to/prediction-markets-intelligence-api/mcp-server.js"] } } } 

Your AI agent immediately gets 3 structured tools (get_trending_prediction_markets, search_prediction_markets, and scan_prediction_arbitrage) without hallucinating stale endpoints.

Test the live REST endpoints on RapidAPI or inspect the full source on GitHub.