
Prediction Markets API
io.github.Br0ski777Published by GitHub account Br0ski777v1.1.0Updated Oct 24, 2026
Prediction market odds from Polymarket. Active markets, probabilities, volume. x402.
Overview
Remote MCP server that gives an assistant live Polymarket and Kalshi prediction-market odds, probabilities and volume, paid per call in USDC via x402.
- What you can do
- List active prediction markets with odds, volume, liquidity and categories, filtered by topic or platform and sorted by volume, newest or closing soon
- Look up detailed odds and trading data for one market by ID or question text, including 24h volume and resolution criteria
- See trending markets ranked by recent volume and activity, with 24h probability change
- When to use it
- Useful when an assistant needs current implied probabilities on real-world events — elections, crypto milestones, macro outcomes — for forecasting, research or commentary, rather than raw asset prices.
- Requirements
- Remote SSE endpoint at prediction-markets.api.klymax402.com; no API key or signup. Each call is paid per request in USDC on Base L2 through the x402 protocol, so the client needs an x402-aware wallet or payment handler that can answer a 402 challenge and retry.
Installation
In SourceWeft
- Open Prediction Markets API in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Web executable via SSE. Remote servers run from the web runtime once configured in a workspace.
Use with an agent
Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.
Read https://sourceweft.com/mcp/io.github.Br0ski777%2Fprediction-markets/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.Other MCP clients
Add this to your client's mcpServers config.
{
"mcpServers": {
"prediction-markets-api": {
"type": "sse",
"url": "https://prediction-markets.api.klymax402.com/mcp"
}
}
}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.):
Quickstart -- HTTP (x402)
Any x402-aware client (@x402/fetch, x402-agent-tools, ATXP) handles the 402 -> sign -> retry cycle automatically.
Tools
prediction_list_markets
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 volume, and metadata.
Parameters
Returns
question-- the prediction market question (e.g. "Will Bitcoin reach $100k by December 2026?")outcomePrices-- probability for each outcome as decimal (0.65 = 65% chance YES)volume-- total trading volume in USDliquidity-- current available liquidity in USDendDate-- when the market resolvescategory-- topic category (politics, crypto, sports, science, culture)active-- whether the market is currently tradingsource-- data source -- "polymarket" or "kalshi"
Example response:
Not for: crypto price data (use token_get_price), crypto news (use crypto_get_news), stock prices (use stock_get_quote), DeFi yields (use defi_find_best_yields), Hyperliquid perp data (use hyperliquid_get_market_data).
prediction_get_market_odds
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.
Parameters
Returns
question-- the full prediction market question textoutcomes-- array of possible outcomes with their current probabilitiesoutcomePrices-- decimal probabilities per outcome (0.72 = 72% implied probability)volume-- total all-time trading volume in USDvolume24h-- trading volume in the last 24 hoursliquidity-- current depth of the order book in USDendDate-- resolution date of the marketdescription-- detailed market description and resolution criteriaactive-- whether the market is currently open for tradingsource-- which platform the market is from -- "polymarket" or "kalshi"
Example response:
Not for: crypto price data (use token_get_price), crypto news (use crypto_get_news), stock prices (use stock_get_quote), DeFi yields (use defi_find_best_yields), Hyperliquid perp data (use hyperliquid_get_market_data).
prediction_trending_markets
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.
Parameters
Returns
question-- the market questionprobability-- current implied probability for the leading outcome (decimal)volume24h-- trading volume in the last 24 hours in USDtotalVolume-- all-time trading volume in USDpriceChange24h-- change in probability over the last 24 hours (e.g. +0.05 = probability rose 5%)category-- topic categoryendDate-- when the market resolvessource-- data source -- "polymarket" or "kalshi"
Example response:
Not for: crypto price data (use token_get_price), crypto news (use crypto_get_news), stock prices (use stock_get_quote), DeFi yields (use defi_find_best_yields), Hyperliquid perp data (use hyperliquid_get_market_data).
Example agent prompts
- "Browse active prediction markets or find betting odds on real-world events"
- "Detailed odds, probabilities, and trading data for a specific prediction market"
- "See what prediction markets are trending right now"
Payment
- Protocol: x402 -- HTTP-native pay-per-call, no signup, no API key
- Network: Base L2 (
eip155:8453) - Asset: USDC
- Facilitator: Coinbase CDP (primary), PayAI (fallback)
- Also reachable via ATXP (OAuth-wrapped x402, RFC 9728 protected-resource metadata)
Part of klymax402
100 x402 micropayment APIs for AI agents -- one wallet, USDC on Base, zero signup.
- Catalog: https://klymax402.com/llms.txt
- Full API reference: https://klymax402.com/llms-full.txt
- Live stats: https://klymax402.com/stats
License
MIT
Source: README.md at commit c8aa4d5
Tools
0Version history
1- v1.1.0LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 daysRequired25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declaredRequired10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts