CAT
/MCP
SkillsMCPMarketplacesDigestToolsAdvertise

This week in Claude

Every Monday: Claude Code, Agent SDK, MCP, and the Anthropic platform moves worth your time.

Skills by Category
Frontend DevelopmentBackend & APIsTesting & QASecurityDevOps & CI/CDGit & Pull RequestsDocumentationCode Review & QualityAI & Agent BuildingSkill Development
MCP Servers by Category
Sales & MarketingWeb & Browser AutomationDatabasesAI & LLM ToolsCloud & InfrastructureCommunication & MessagingDeveloper ToolsDesign & CreativeDocuments & KnowledgeSearch & Web Crawling
Marketplaces by Category
AI Agents & OrchestrationLLM IntegrationDevelopment ToolsFrontend & UIBackend & APIsDatabasesTesting & Code QualityDevOps & CloudSecurity & ComplianceGit & Version Control

Cross AI Tools

Discover Claude Code plugins, extensions, and tools. Automatically updated directory of Anthropic Claude AI marketplaces with development tools, productivity plugins, and integrations.

Resources

  • Browse Skills
  • Browse MCP Servers
  • Browse Marketplaces
  • Plugins Reference

Community

  • About
  • Tools
  • Feedback
  • Privacy Policy
  • Advertise

Built for the Claude Code community with Claude Code by @mertduzgun

Independent project, not affiliated with Anthropic

Prediction Markets API

br0ski777/prediction-markets-x402
3 toolsSSEregistry active
Summary

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.

CodeRabbit
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Try For Free →
Keep your Mac awake
Keep your Mac awake
Keep your Mac awake while Claude Code and 40+ AI agents run. Sleeps when they're idle.
One time payment $9 →
Context.devContext.dev
Context.dev
Integrate web data into your AI product. One API to scrape website & brand data.
Get API Key Now →
Make your agent a DeFi expert
Make your agent a DeFi expert
Agent, run crypto. Access onchain data & trade routes via 1inch.
Install now →
Make money from your Skills
Make money from your Skills
On Capafy, your Skill runs online 24/7 as an agent product, and you get paid every time someone uses it.
Start earning →
AppSignal
AppSignal
Monitor with ease. Code with confidence.
Start Free Trial →
CodeRabbit
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Try For Free →
Keep your Mac awake
Keep your Mac awake
Keep your Mac awake while Claude Code and 40+ AI agents run. Sleeps when they're idle.
One time payment $9 →
Context.devContext.dev
Context.dev
Integrate web data into your AI product. One API to scrape website & brand data.
Get API Key Now →
Make your agent a DeFi expert
Make your agent a DeFi expert
Agent, run crypto. Access onchain data & trade routes via 1inch.
Install now →
Make money from your Skills
Make money from your Skills
On Capafy, your Skill runs online 24/7 as an agent product, and you get paid every time someone uses it.
Start earning →
AppSignal
AppSignal
Monitor with ease. Code with confidence.
Start Free Trial →

Tools

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

3 tools
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
sortstring
Sort order. 'volume' = highest traded, 'newest' = recently created, 'closing_soon' = ending soonest. Default: volume.one of volume · newest · closing_soon
limitnumber
Number of markets to return (1-50). Default: 20.
sourcestring
Filter by platform. Omit to get markets from both Polymarket and Kalshi.one of polymarket · kalshi
categorystring
Filter markets by topic category. Omit for all categories.one of politics · crypto · sports · science · culture
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
querystring
Search query to find a market by question text (e.g. 'bitcoin 100k', 'trump election'). Used when marketId is not known.
marketIdstring
Polymarket condition ID or Kalshi ticker. Use this if you already know the market ID.
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

Prediction Markets API

Real-time prediction market odds and probabilities from Polymarket and Kalshi. Browse active markets, get detailed odds on specific events, and discover trending bets -- all via x402 micropayments. Merges data from both platforms so agents get the most complete view of market sentiment.

What It Does / Endpoints

EndpointPriceDescription
POST /api/markets$0.005List active prediction markets with odds, volume, categories from both Polymarket and Kalshi
POST /api/odds$0.005Detailed odds for a specific market (by ID or search query) -- searches both platforms
POST /api/trending$0.003Top trending markets ranked by volume from both sources

Example Request / Response

List Markets

curl -X POST https://prediction-markets-production.up.railway.app/api/markets \
  -H "Content-Type: application/json" \
  -d '{"category": "politics", "limit": 5, "sort": "volume"}'
{
  "markets": [
    {
      "id": "0x1234...",
      "question": "Will Trump win the 2028 presidential election?",
      "outcomes": ["Yes", "No"],
      "outcomePrices": { "Yes": 0.42, "No": 0.58 },
      "volume": 15420000,
      "volume24h": 234000,
      "liquidity": 890000,
      "endDate": "2028-11-06T00:00:00Z",
      "category": "politics",
      "active": true,
      "source": "polymarket"
    },
    {
      "id": "PRES-2028-DEM",
      "question": "Will a Democrat win the 2028 presidential election?",
      "outcomes": ["Yes", "No"],
      "outcomePrices": { "Yes": 0.55, "No": 0.45 },
      "volume": 8200000,
      "volume24h": 0,
      "liquidity": 0,
      "endDate": "2028-11-06T00:00:00Z",
      "category": "politics",
      "active": true,
      "source": "kalshi"
    }
  ],
  "count": 5,
  "sort": "volume",
  "category": "politics",
  "source": "polymarket+kalshi"
}

Filter by platform:

curl -X POST https://prediction-markets-production.up.railway.app/api/markets \
  -H "Content-Type: application/json" \
  -d '{"source": "kalshi", "limit": 5}'

Get Odds (Search by Query)

curl -X POST https://prediction-markets-production.up.railway.app/api/odds \
  -H "Content-Type: application/json" \
  -d '{"query": "bitcoin 100k"}'
{
  "id": "0xabcd...",
  "question": "Will Bitcoin reach $100k by December 2026?",
  "outcomes": ["Yes", "No"],
  "outcomePrices": { "Yes": 0.65, "No": 0.35 },
  "volume": 8900000,
  "volume24h": 120000,
  "liquidity": 450000,
  "endDate": "2026-12-31T00:00:00Z",
  "category": "crypto",
  "active": true,
  "source": "polymarket",
  "matchedFrom": 3
}

Trending Markets

curl -X POST https://prediction-markets-production.up.railway.app/api/trending \
  -H "Content-Type: application/json" \
  -d '{"limit": 5}'
{
  "trending": [
    {
      "id": "0x5678...",
      "question": "Will the Fed cut rates in July 2026?",
      "probability": 0.73,
      "outcomePrices": { "Yes": 0.73, "No": 0.27 },
      "volume24h": 890000,
      "totalVolume": 12500000,
      "category": "politics",
      "endDate": "2026-07-31T00:00:00Z",
      "active": true,
      "source": "polymarket"
    },
    {
      "id": "FED-RATE-JUL26",
      "question": "Will the Fed cut rates in July 2026?",
      "probability": 0.71,
      "outcomePrices": { "Yes": 0.71, "No": 0.29 },
      "volume24h": 0,
      "totalVolume": 5400000,
      "category": "politics",
      "endDate": "2026-07-31T00:00:00Z",
      "active": true,
      "source": "kalshi"
    }
  ],
  "count": 5,
  "source": "polymarket+kalshi"
}

Use Cases

  • Election odds: Get real-time probabilities on political outcomes backed by real money from both crypto-native (Polymarket) and CFTC-regulated (Kalshi) platforms
  • Crypto predictions: Check market consensus on price targets, ETF approvals, protocol upgrades
  • Event forecasting: Find the crowd-sourced probability of any major world event
  • Cross-platform comparison: Compare odds between Polymarket and Kalshi for the same events
  • Research & analysis: Use prediction market data as a signal for decision-making
  • News impact: See how breaking events shift market probabilities in real time

MCP Integration

Add to your Claude Desktop or Cursor MCP config:

{
  "mcpServers": {
    "prediction-markets": {
      "url": "https://prediction-markets-production.up.railway.app/sse"
    }
  }
}

Tools available via MCP:

  • prediction_list_markets -- Browse active markets by category, sort, and platform (Polymarket or Kalshi)
  • prediction_get_market_odds -- Get detailed odds by market ID or search query (searches both platforms)
  • prediction_trending_markets -- Discover trending markets by volume from both sources

Payment

All endpoints are gated by x402 micropayments (USDC on Base L2). Agents pay automatically per call -- no API keys, no subscriptions.

Related APIs

  • Trust Score API -- Verify domain/wallet trust before interacting
  • Token Price API -- Real-time crypto token prices
  • Crypto News API -- Latest crypto news and sentiment
  • DeFi Yields API -- Best DeFi yield opportunities
  • Hyperliquid API -- Perpetual futures market data
Featured
CodeRabbit
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Try For Free →
Keep your Mac awake
Keep your Mac awake
Keep your Mac awake while Claude Code and 40+ AI agents run. Sleeps when they're idle.
One time payment $9 →
Context.devContext.dev
Context.dev
Integrate web data into your AI product. One API to scrape website & brand data.
Get API Key Now →
Make your agent a DeFi expert
Make your agent a DeFi expert
Agent, run crypto. Access onchain data & trade routes via 1inch.
Install now →
Make money from your Skills
Make money from your Skills
On Capafy, your Skill runs online 24/7 as an agent product, and you get paid every time someone uses it.
Start earning →
AppSignal
AppSignal
Monitor with ease. Code with confidence.
Start Free Trial →
Registryactive
TransportSSE
UpdatedMay 16, 2026
View on GitHub