Skip to main content

What this page covers

  • What MCP is and why it matters for prediction market research
  • Installing and configuring rekko-mcp for Claude Code and Cursor
  • Workflow examples: screening, analysis, arbitrage, portfolio
  • Available MCP tools (25+)
  • When to use MCP vs the REST API

What is MCP?

The Model Context Protocol (MCP) lets AI coding assistants call external tools during a conversation. Instead of copy-pasting API calls, you describe what you want in natural language and the assistant uses the right API endpoints automatically. Rekko’s MCP server (rekko-mcp) exposes 25+ tools covering market data, deep analysis, trading signals, arbitrage detection, and portfolio management. Your AI assistant calls these tools behind the scenes while you focus on the research question.

Installation

Requirements

Claude Code

Cursor

Create or edit .cursor/mcp.json in your project root:

Verify installation

Ask your assistant: “List the top 5 prediction markets by volume.” If rekko-mcp is configured correctly, it will call the list_markets tool and return formatted results.

Workflow examples

1. Market screening

You say: “Find Kalshi markets with high volume that might have mispriced odds.” What happens behind the scenes:
  1. Assistant calls list_markets(source="kalshi", limit=20) to fetch active markets
  2. Calls screen_markets(...) to score them by volume, movement, and category
  3. Presents the top candidates with scores and recommended actions
Example output:

2. Deep analysis

You say: “Analyze the Fed rate decision market on Kalshi. I want to understand the key factors driving the price.” What happens:
  1. Calls analyze_market(bet_text="Fed rate decision April 2026", platform="kalshi")
  2. Returns an analysis_id — the research pipeline takes 30-90 seconds
  3. Polls check_analysis_status(analysis_id) until complete
  4. Retrieves the full analysis with probability, confidence, edge, key factors, and risks
Example output:

3. Arbitrage hunting

You say: “Are there any arbitrage opportunities between Kalshi and Polymarket right now?” What happens:
  1. Calls get_arbitrage(min_spread=0.02) for cached results (instant)
  2. If you ask for fresh data, calls get_arbitrage_live(min_spread=0.02) (10-30 seconds)
  3. Returns matched events with spreads, scores, and which platform is cheaper

4. Portfolio management

You say: “Show my shadow portfolio and suggest what to do next.” What happens:
  1. Calls get_portfolio(mode="shadow") to list open positions
  2. Calls get_performance(mode="shadow") for aggregate stats
  3. May call check_resolutions() to settle any resolved markets
  4. Presents positions, P&L, win rate, and suggestions

5. Trading signals

You say: “Should I buy the Bitcoin 150Kmarket?Ihavea150K market? I have a 10K bankroll and already hold positions in the Fed rate market.” What happens:
  1. Calls get_portfolio_strategy(...) with your current positions and bankroll
  2. Returns a portfolio-aware signal accounting for correlation between positions
  3. Includes Kelly-optimal size, hedge recommendations, and concentration warnings

6. Market data refresh

You say: “Refresh the Kalshi market data.” What happens:
  1. Calls run_scraper(platform="kalshi") to pull the latest markets
  2. Fresh data is available for subsequent queries

Available tools

Market intelligence

Screening and discovery

Deep research

Strategy and portfolio

Arbitrage

Correlation

Trading

Data refresh

Webhooks

MCP vs REST API

MCP is ideal for exploratory research and ad-hoc queries. The REST API is better for automated systems that run without human interaction.

Tips for effective MCP usage

Be specific about platforms. “Show me Kalshi markets” is faster than “show me markets” because the tool skips Polymarket data. Request expansions explicitly. “Analyze this market and show me the causal factors” triggers the ?expand=causal parameter automatically. Chain analyses. “Analyze the top 3 markets from that screening” works — the assistant remembers prior results and makes sequential tool calls. Use shadow trading. “Place a shadow trade on the Fed market, $500 on YES” lets you track performance without risking real money.

What’s next

MCP tools reference

Full parameter documentation for all 25+ tools.

Build a trading bot

When you are ready to automate, use the REST API.

REST API quickstart

Get an API key and make your first call in 5 minutes.