INDIVIDUAL MCP TOOL
get_market_orderbook
Fetch live normalized bid/ask orderbook levels, best_bid, best_ask, mid_price implied probability, spread_bps, and total USD notional depth from Polymarket CLOB (by token_id) or Kalshi Exchange (by ticker) or unified market_id.
LIVE ENDPOINT
https://api.predictionmarketapi.dev/mcp
Connect to this endpoint to inspect the live schema for get_market_orderbook and invoke it with your own arguments.
Indexed input schema
{}Risk classification
Inferred read-only · medium confidence · heuristic, not a guarantee.
- A tool name or description suggests retrieving external content.
Parent server
CONNECT WITH APPROVAL
Client installation
Review this server and its permissions before adding it. Secret placeholders must be set locally.
Codex
~/.codex/config.toml
[mcp_servers.predictionmarketapi-mcp-server]
url = "https://api.predictionmarketapi.dev/mcp"
enabled = true
Claude Code
.mcp.json
{
"mcpServers": {
"predictionmarketapi-mcp-server": {
"type": "http",
"url": "https://api.predictionmarketapi.dev/mcp"
}
}
}
Claude Desktop
Settings → Connectors → Add custom connector
Name: predictionmarketapi-mcp-server
Remote MCP URL: https://api.predictionmarketapi.dev/mcp
Add this remote URL as a custom connector in Claude Desktop. Availability depends on the user plan and workspace policy.
Cursor
.cursor/mcp.json
{
"mcpServers": {
"predictionmarketapi-mcp-server": {
"url": "https://api.predictionmarketapi.dev/mcp"
}
}
}
Visual Studio Code
.vscode/mcp.json
Add to Visual Studio Code{
"servers": {
"predictionmarketapi-mcp-server": {
"type": "http",
"url": "https://api.predictionmarketapi.dev/mcp"
}
}
}
Generic MCP
Client-specific MCP configuration
{
"name": "predictionmarketapi-mcp-server",
"transport": "streamable-http",
"url": "https://api.predictionmarketapi.dev/mcp"
}
MCP Inspector
Run the official MCP Inspector locally and enter the indexed Streamable HTTP endpoint.
Related tools
search_prediction_markets— Search live open event contracts across Polymarket and Kalshi (CFTC-regulated exchange) with normalized yes_probability, no_probability, spread_bps, 24h volume, liquidity, close_time, resolution_source, and CLOB token IDs.get_market_detail— Retrieve complete contract metadata, official resolution rules, outcome implied probabilities, 24h delta, liquidity, CLOB token IDs, and PostgreSQL hourly probability history snapshots for a Polymarket market_id/slug or Kalshi ticker.get_market_movers— Track the sharpest 24-hour implied-probability shifts and highest-liquidity macroeconomic, tech, policy, and digital-asset event contracts across Polymarket and Kalshi.compare_cross_venue_probabilities— Search both Polymarket and Kalshi simultaneously for a macro, geopolitical, or technology topic to inspect cross-venue implied-probability consensus, spreads, and liquidity depth in one call.