br0ski777 avatar

Prediction Markets API

br0ski777/prediction-markets-x402

Pulls real-time prediction market data from both Polymarket and Kalshi, giving Claude three tools: list active markets by category and platform, get detailed odds by ID or search query, and surface trending bets by volume. Useful when you need crowd-sourced probabilities on elections, crypto price targets, Fed decisions, or any major event where real money is on the line. Each call costs fractions of a cent via x402 micropayments on Base L2. The cross-platform merge is handy for comparing how crypto-native Polymarket odds stack up against CFTC-regulated Kalshi markets on the same question. No API keys, just pay per request as your agent queries.

tools
3
transport
SSE
last updated
May 16, 2026

Tools

3 tools

Public tool metadata for what this MCP can expose to an agent.

prediction_list_marketsUse this when you need to browse active prediction markets or find betting odds on real-world events. Returns a list of active markets from Polymarket and Kalshi with current probabilities, trading vo4 params

Use this when you need to browse active prediction markets or find betting odds on real-world events. Returns a list of active markets from Polymarket and Kalshi with current probabilities, trading vo

Parameters* required
categorystring
Filter markets by topic category. Omit for all categories.one of politics · crypto · sports · science · culture
limitnumber
Number of markets to return (1-50). Default: 20.
sortstring
Sort order. 'volume' = highest traded, 'newest' = recently created, 'closing_soon' = ending soonest. Default: volume.one of volume · newest · closing_soon
sourcestring
Filter by platform. Omit to get markets from both Polymarket and Kalshi.one of polymarket · kalshi
prediction_get_market_oddsUse this when you need detailed odds, probabilities, and trading data for a specific prediction market. Searches both Polymarket and Kalshi to find the best match by market ID or question text. 1. qu2 params

Use this when you need detailed odds, probabilities, and trading data for a specific prediction market. Searches both Polymarket and Kalshi to find the best match by market ID or question text. 1. qu

Parameters* required
marketIdstring
Polymarket condition ID or Kalshi ticker. Use this if you already know the market ID.
querystring
Search query to find a market by question text (e.g. 'bitcoin 100k', 'trump election'). Used when marketId is not known.
prediction_trending_marketsUse this when you need to see what prediction markets are trending right now. Returns the hottest markets from both Polymarket and Kalshi ranked by recent trading volume and activity. 1. question: th2 params

Use this when you need to see what prediction markets are trending right now. Returns the hottest markets from both Polymarket and Kalshi ranked by recent trading volume and activity. 1. question: th

Parameters* required
limitnumber
Number of trending markets to return (1-30). Default: 10.
sourcestring
Filter by platform. Omit to get trending markets from both Polymarket and Kalshi.one of polymarket · kalshi

Sponsors

Readme

Prediction Markets API

MCP Server x402 License: MIT

Real-time prediction market odds from Polymarket and Kalshi. Active markets, probabilities, volume, categories. The betting intelligence layer agents need for event forecasting. Pay-per-call via x402 (USDC on Base L2) -- no API key, no signup, no rate-limit wall.

Part of the klymax402 marketplace -- 100 x402 micropayment APIs for AI agents, one wallet, USDC on Base.

Quickstart -- MCP

Add to your MCP client config (Claude Desktop, Cursor, ElizaOS, etc.):

{
  "mcpServers": {
    "prediction-markets": {
      "url": "https://prediction-markets.api.klymax402.com/mcp"
    }
  }
}

Quickstart -- HTTP (x402)

curl -X POST "https://prediction-markets.api.klymax402.com/api/markets" \
  -H "Content-Type: application/json" \
  -d '{}'
# -> 402 Payment Required, with an x402 payment challenge in the response body

View the full README on GitHub

Details

Repository
github.com/br0ski777/prediction-markets-x402
Website
github.com/Br0ski777/prediction-markets-x402
Transport
SSE
Registry
MCP registry, active

More from br0ski777