Skip to main content
The Predexon MCP server lets AI assistants like Claude, Cursor, Windsurf, Codex, and others directly query prediction market data from Polymarket, Kalshi, and Dflow.

What is MCP?

Model Context Protocol (MCP) is an open standard that allows AI assistants to interact with external tools and data sources. With the Predexon MCP server, you can ask your AI assistant questions like:
  • “What are the top prediction markets by volume?”
  • “Show me the price history for this market”
  • “Find matching markets across Polymarket and Kalshi”
  • “What positions does this wallet hold?”

Installation

Install the Predexon MCP server from npm:
npm install -g predexon-mcp
Or run directly with npx (no installation required):
npx predexon-mcp

Configuration

Edit your Claude Desktop configuration file:macOS: ~/Library/Application Support/Claude/claude_desktop_config.jsonWindows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "predexon": {
      "command": "npx",
      "args": ["-y", "predexon-mcp"]
    }
  }
}
Restart Claude Desktop after saving.

Available Tools

The MCP server exposes all Predexon Data API endpoints as tools. Your API key is passed per-request, allowing multi-user setups.

Cross-Platform Matching

ToolDescription
find_matching_marketsFind equivalent markets across Polymarket and Kalshi (LLM-powered)
get_matched_pairsGet all active matched market pairs (LLM-powered)
Market matching is LLM-powered. While highly accurate, a small number of matches may be incorrect—verify critical matches independently.

Polymarket

ToolDescription
list_polymarket_marketsList markets with filtering and sorting
get_polymarket_priceGet current or historical price for a token
get_polymarket_candlesticksGet OHLCV candlestick data
get_polymarket_volumeGet historical volume time series
get_polymarket_open_interestGet historical open interest
get_polymarket_orderbooksGet historical orderbook snapshots
get_polymarket_tradesQuery historical trade data
get_polymarket_activityGet trading activity for a wallet
get_polymarket_positionsGet positions for a wallet
get_polymarket_pnlGet realized P&L history for a wallet

Kalshi

ToolDescription
list_kalshi_marketsList markets with filtering and sorting
get_kalshi_tradesFetch historical trade data
get_kalshi_orderbooksFetch historical orderbook snapshots

Dflow

ToolDescription
get_dflow_tradesFetch trade history for a wallet
get_dflow_positionsGet current positions for a wallet
get_dflow_pnlGet cumulative P&L history

Example Usage

Once configured, you can ask your AI assistant questions naturally:
"What are the top 5 Polymarket markets by volume right now?"

Authentication

Each tool call requires an api_key parameter. When using the MCP server, include your API key when making requests:
"Using API key abc123, show me the top markets on Polymarket"
Get your free API key at dashboard.predexon.com

Source Code

The MCP server is open source:

Next Steps