Three sports, three flagship tools: Monte Carlo bracket simulation for the 48-team World Cup 2026 format using Poisson xG, F1 pit strategy prediction with tyre degradation models over OpenF1 telemetry, and a PuLP constraint solver that builds valid Dream11 cricket lineups under salary and role caps. Beyond the headliners you get 44 raw and intelligence tools pulling from API-Football, Jolpica, CricAPI, and live bookmaker odds. The server includes value bet finders that compare model probabilities against market lines. A hosted instance runs on Cloud Run if you want to skip local setup. Useful when you need structured sports intelligence beyond static lookups.
MCP server exposing AI-callable tools across FIFA World Cup 2026 football, Formula 1, and IPL cricket.

SportIQ running live in Claude and ChatGPT — Monte Carlo World Cup bracket, F1 pit strategy, and Dream11 optimisation, each backed by a visible MCP tool call. (full 1-min demo)
Three flagship intelligence tools sit on top of raw-data primitives:
football_simulate_bracket — Monte Carlo with Poisson xG projects World Cup qualification probabilities.f1_predict_pit_strategy — tyre-degradation model on OpenF1 telemetry recommends stop laps and compounds.cricket_build_dream11_team — PuLP constraint solver picks a valid 11 under credit/role/team caps.Try it now, no install: a public instance is live on Cloud Run. Add
https://sportiq-mcp-329580761892.us-central1.run.app/mcpas a custom connector in claude.ai or ChatGPT — see Use the hosted SportIQ. Open source, read-only, no data collection — why it's safe.
44 tools live: 7 football RAW + 8 football INTEL + 6 F1 RAW + 7 F1 INTEL + 6 cricket RAW + 8 cricket INTEL + 1 cross-sport + sportiq_health. All three flagships shipped: football_simulate_bracket (Monte Carlo + Poisson xG over the 48-team WC 2026 format), f1_predict_pit_strategy (tyre-degradation on OpenF1 telemetry), and cricket_build_dream11_team (PuLP ILP).
| Tool | Description |
|---|---|
football_get_groups | WC 2026 group draw (12 groups of 4) + advancement format |
football_get_fixtures | Fixtures (live providers, else the group schedule) |
football_get_standings | Current group standings |
football_get_squad | National-team squad |
football_get_match_stats | Team aggregate tournament statistics |
football_get_top_scorers | Tournament top scorers |
football_get_odds | Live bookmaker head-to-head odds for upcoming WC 2026 matches |
| Tool | Type | Description |
|---|---|---|
football_xg_model | INTEL | Expected goals + win/draw/loss probabilities (Elo-driven Poisson) |
football_match_predictor | INTEL | Most likely scoreline + outcome for one match |
football_simulate_group | INTEL | Monte Carlo a group into qualification probabilities |
football_simulate_bracket | FLAGSHIP | Monte Carlo the full 48-team WC into per-team round + title probabilities |
football_knockout_path | INTEL | Round-by-round survival probabilities for one team |
football_form_trends | INTEL | Rolling form, goal record, and xG trend for a team |
football_find_value_bets | INTEL | +EV bets where model win prob beats the market |
football_build_accumulator | INTEL | Accumulator from the top value bets across live markets |
The 2026 format (48 teams, 12 groups, top 2 + 8 best thirds → 32-team knockout) is encoded in wc2026.json. Data sources: API-Football (APIFOOTBALL_KEY) → football-data.org (free, token optional) → bundled wc2026.json seed.
| Tool | Description |
|---|---|
f1_get_sessions | List F1 race/qualifying/practice sessions by year |
f1_get_drivers | Driver list for a session |
f1_get_lap_times | Per-driver lap times (compound lives on stints, not laps) |
f1_get_standings | Driver + constructor championship standings |
f1_get_race_results | Final race classification by year + round (Jolpica) |
f1_get_weather | Track weather data (temp, rainfall, wind) |
| Tool | Type | Description |
|---|---|---|
f1_tyre_degradation | INTEL | Fit linear tyre-degradation model per compound |
f1_undercut_window | INTEL | Is an undercut viable vs a target driver? |
f1_head_to_head_pace | INTEL | Lap-time pace comparison between two drivers |
f1_weather_strategy_impact | INTEL | Weather-based compound recommendation |
f1_qualifying_analysis | INTEL | Best lap per driver, gap to pole, projected grid |
f1_race_pace_compare | INTEL | Race-pace + tyre-degradation comparison between two drivers |
f1_predict_pit_strategy | FLAGSHIP | Predict optimal pit stops + compound sequence |
Data sources: OpenF1 (free, keyless) → Jolpica → fastf1 (optional, offline, pip install sportiq-mcp[f1]).
| Tool | What it does |
|---|---|
cricket_get_live_matches | All currently live matches across all series |
cricket_get_scorecard | Full scorecard for a match by ID |
cricket_get_points_table | Series standings / points table |
cricket_get_schedule | Upcoming fixtures, optionally by series |
cricket_get_squad | Team roster; always succeeds via static seed fallback |
cricket_get_live_odds | Live bookmaker head-to-head odds for upcoming/live IPL matches |
| Tool | What it does |
|---|---|
cricket_build_dream11_team | Optimal Dream11 XI + C/VC under T20 fantasy constraints |
cricket_captain_recommendation | Top-3 captain candidates by projected points |
cricket_differential_picks | Low-ownership picks with projected upside (ownership estimated) |
cricket_player_form_index | 0-100 form score from career stats + (future) recent innings |
cricket_get_pitch_report | Pitch friendliness + recommendation for a venue |
cricket_head_to_head | Compare two teams head-to-head using squad form and player stats |
cricket_player_matchup | Head-to-head matchup between two players by role and career stats |
cricket_find_value_bets | Screen upcoming IPL odds for +EV ("value") bets (requires THEODDS_KEY) |
The Dream11 solver uses CBC via PuLP. On macOS arm64 install with brew install cbc; the binary bundled with PuLP is x86-only and won't run on Apple Silicon.
| Tool | Type | Description |
|---|---|---|
cross_sport_build_accumulator | INTEL | Accumulator mixing football and cricket value bets |
| Tool | Description |
|---|---|
sportiq_health | Cache backend + per-adapter status and remaining API quota |
By default only CricAPI (key required) and static data are active. Opt-in adapters:
SPORTIQ_ENABLE_NDTV=1 # NDTV Sports scraper (operator accepts ToS risk)
SPORTIQ_ENABLE_CRICBUZZ=1 # Cricbuzz scraper (operator accepts ToS risk)
RAPIDAPI_KEY=your_key # Licensed Cricbuzz mirror via RapidAPI
Copy .env.example to .env and fill in keys.
.mcp.json also wires three external RapidAPI Hub MCP servers (Sportspage Feeds, Football Prediction, Live Sports Odds) via mcp-remote. Because .mcp.json is committed, the API key is a placeholder — replace each <RAPIDAPI_KEY> in .mcp.json with your real RapidAPI key locally to enable them. They run as separate MCP servers and do not affect the in-process sportiq tools.
# from PyPI
uvx sportiq-mcp
# from source
git clone https://github.com/Ninjabeam20/SportIQ-MCP
cd sportiq-mcp
uv sync
uv run python -m sportiq.server
{
"mcpServers": {
"sportiq": {
"command": "uvx",
"args": ["sportiq-mcp"],
"env": {
"CRICAPI_KEY": "your_cricapi_key",
"APIFOOTBALL_KEY": "your_apifootball_key",
"THEODDS_KEY": "your_theodds_key"
}
}
}
}
All env vars are optional — the server boots and serves seed/free-source data
without any keys. Add a key to unlock the source it gates (e.g. THEODDS_KEY
for the value-bet tools). F1 and most football tools use free, keyless sources.
A public instance is already running on Google Cloud Run. Add this URL as a custom connector and SportIQ shows up in your AI's tool list — nothing to install:
https://sportiq-mcp-329580761892.us-central1.run.app/mcp
The hosted instance runs without any API keys, so the keyless tools work out of the box: World Cup bracket/group simulations, F1 strategy & tyre models, Dream11 optimisation, match predictions, standings, and schedules. Live-score and live-odds tools (which need rate-limited paid keys) are off on the shared instance — self-host with your own keys if you need those (see below).
SportIQ and paste the URL above. Save — the tools appear immediately.uvx config below to run it locally.ChatGPT needs Developer Mode turned on first:
SportIQ, and connect.First request after an idle period takes ~5–10s (the server scales to zero when unused, so it has to wake up). After that it's fast.
Yes — and here's exactly why, so you can verify rather than take our word for it:
SECURITY.md
so you can check them — and re-run your own audit, since the whole codebase is public.SECURITY.md for the full trust model.Is the data fresh? Yes. Live sources are polled continuously and cached with tight
freshness windows — live scores refresh every ~30s, F1 telemetry every ~10s, standings every
~10min, fixtures every ~6h. Every response carries a meta.is_stale flag and a data age, so
the AI tells you exactly how fresh each answer is (e.g. "as of about 4 minutes ago…") instead
of guessing. Caching protects free-tier quotas — it never serves you knowingly outdated data
without flagging it.
Prefer to run your own? Set SPORTIQ_TRANSPORT=http and the server serves the MCP endpoint at
/mcp (binds 0.0.0.0:$PORT). A ready-to-build Dockerfile is included. See
cloud.md for a step-by-step Google Cloud Run deploy (free tier), then add your
own https://…/mcp URL as a connector. With your own keys set as env vars, the live-score and
odds tools come online too.
| Var | Unlocks | Free tier |
|---|---|---|
APIFOOTBALL_KEY | Live football fixtures / standings / squads / scorers | 100 req/day |
THEODDS_KEY | Bookmaker odds (football + cricket value bets) | 500 req/month |
FOOTBALLDATA_KEY | football-data.org fallback (token optional) | 10 req/min |
CRICAPI_KEY | Live cricket scores / scorecards / schedules / squads | 100 req/day |
RAPIDAPI_KEY | Paid Cricbuzz fallback (player career stats) | plan-dependent |
SPORTIQ_ENABLE_NDTV / SPORTIQ_ENABLE_CRICBUZZ | Opt-in cricket scrapers (off by default — ToS) | — |
REDIS_URL | Shared cache backend (defaults to local diskcache) | — |
SPORTIQ_LOG_LEVEL / SPORTIQ_LOG_FORMAT | Log verbosity / pretty|json output | — |
SPORTIQ_TRANSPORT | stdio (default, local) or http (remote/Cloud Run) | — |
Transport: stdio by default (local subprocess — the right fit for Claude Desktop, Cursor,
and IDEs). Set SPORTIQ_TRANSPORT=http to serve the streamable-HTTP endpoint at /mcp for
remote/web clients (the hosted instance above runs in this mode).
uv sync --extra dev
uv run pytest
uv run ruff check .
npx @modelcontextprotocol/inspector uv run python -m sportiq.server
See CLAUDE.md for collaboration rules and docs/index.md for the wiki entry point.
Created and maintained by Utkarsh Gupta (@Ninjabeam20).
Licensed under the MIT License — © 2026 Utkarsh Gupta. You may use, copy,
and modify this software, but the copyright notice and this permission must be retained
in all copies or substantial portions. The canonical package is
sportiq-mcp on PyPI and
io.github.Ninjabeam20/sportiq-mcp in the
official MCP registry.