Skip to main content

MCP server for querying Prediction Hunt — live prices, cross-platform matches, arbitrage, and +EV signals across Kalshi, Polymarket, PredictIt, ProphetX, and Opinion

Project description

Prediction Hunt MCP Server

Query prediction market data from Prediction Hunt directly in AI assistants like Claude, Cursor, and Claude Code.

Get prices, events, cross-platform matching, orderbooks, arbitrage, and +EV opportunities across Kalshi, Polymarket, PredictIt, ProphetX, and Opinion.

Setup

1. Get an API key

Sign up at predictionhunt.com/api/docs and generate a free API key.

2. Configure your MCP client

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "prediction-hunt": {
      "command": "uvx",
      "args": ["prediction-hunt-mcp"],
      "env": {
        "PREDICTION_HUNT_API_KEY": "your-api-key-here"
      }
    }
  }
}

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "prediction-hunt": {
      "command": "uvx",
      "args": ["prediction-hunt-mcp"],
      "env": {
        "PREDICTION_HUNT_API_KEY": "your-api-key-here"
      }
    }
  }
}

Claude Code

Add to .claude/settings.json:

{
  "mcpServers": {
    "prediction-hunt": {
      "command": "uvx",
      "args": ["prediction-hunt-mcp"],
      "env": {
        "PREDICTION_HUNT_API_KEY": "your-api-key-here"
      }
    }
  }
}

Local development (from source)

{
  "mcpServers": {
    "prediction-hunt": {
      "command": "uvx",
      "args": ["--from", "/path/to/mcp-server", "prediction-hunt-mcp"],
      "env": {
        "PREDICTION_HUNT_API_KEY": "your-api-key-here"
      }
    }
  }
}

Available Tools

Tool Description
search_events Search events and markets by text query
list_events Browse events with filters (type, tags, date)
list_markets Browse individual markets with current prices
match_markets Find the same market across platforms by query/slug/ticker
match_markets_by_url Find cross-platform matches by pasting a market URL
match_sports_markets Get matched sports markets for a given date
get_price_history Historical OHLC candles for a market
get_bulk_prices Current prices for up to 100 markets at once
get_orderbook Live orderbook for a single market
get_unified_orderbook Cross-platform combined orderbook
get_arbitrage_opportunities Cross-platform arbitrage signals
get_positive_ev Positive expected value opportunities
get_sector_analytics Cross-platform volume / open interest / unique users — Polymarket vs Kalshi over time
get_smart_money_alerts Smart-money alert feed — large/sharp/unusual trades
get_fade_finder_alerts Fade-finder alert feed — trades worth fading
get_polymarket_market_price Current or historical price for a Polymarket outcome token
get_polymarket_candlesticks_by_token OHLCV candlesticks for a Polymarket outcome token
get_polymarket_candlesticks Market-level OHLCV candlesticks, normalized to YES
get_polymarket_token_volume Cumulative volume time series for a Polymarket token
get_polymarket_volume_chart Per-period volume with YES/NO breakdown for a market
get_polymarket_open_interest Current open interest by outcome for a market
get_polymarket_activity A Polymarket wallet's trades, splits, merges, redeems
get_polymarket_leaderboard Polymarket trader leaderboard by PnL or volume
get_trades Unified per-trade feed across Polymarket and Kalshi
get_wallet_positions A Polymarket wallet's open positions with normalized PnL
get_wallet_identity A Polymarket wallet's handle, lifetime volume, and PnL
get_api_status API health check (no key required)

Example Prompts

  • "What NBA games have prediction markets today?"
  • "Find arbitrage opportunities above 2% ROI"
  • "Compare Bitcoin 100k prices across Kalshi and Polymarket"
  • "Show me the orderbook for this Kalshi market: KXBTC-25APR04"
  • "What are the best +EV bets right now?"

Environment Variables

Variable Required Default Description
PREDICTION_HUNT_API_KEY Yes (for most tools) Your API key
PREDICTION_HUNT_API_URL No https://www.predictionhunt.com/api/v2 Custom API base URL

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

prediction_hunt_mcp-0.2.0.tar.gz (11.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

prediction_hunt_mcp-0.2.0-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

Details for the file prediction_hunt_mcp-0.2.0.tar.gz.

File metadata

  • Download URL: prediction_hunt_mcp-0.2.0.tar.gz
  • Upload date:
  • Size: 11.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for prediction_hunt_mcp-0.2.0.tar.gz
Algorithm Hash digest
SHA256 80541e38c6e12b806ea48128d0fac3bb7e91c6ce1477164d297c2b33219075b1
MD5 f6cb976a4767a748ff5452c4d8270b01
BLAKE2b-256 633e2abcd36c7e62d87b5067b85a6847b64c32781fa30410bcfc82d3640bd114

See more details on using hashes here.

Provenance

The following attestation bundles were made for prediction_hunt_mcp-0.2.0.tar.gz:

Publisher: publish-mcp.yml on PredictionHunt/prediction_market_aggregator

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file prediction_hunt_mcp-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for prediction_hunt_mcp-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6cc0883ac1355da311a8929706d0e348a12994a378b07746e94741ef0a2b3a85
MD5 289aca222a7383ba82dd8de4c94247a6
BLAKE2b-256 cdff489746c98a13380cdd804302fa01882f6a41e0b4952c0ec5a23e385547c8

See more details on using hashes here.

Provenance

The following attestation bundles were made for prediction_hunt_mcp-0.2.0-py3-none-any.whl:

Publisher: publish-mcp.yml on PredictionHunt/prediction_market_aggregator

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page