io.github.Ninjabeam20/sportiq-mcp MCP Server
io.github.Ninjabeam20/sportiq-mcp
AI sports analyst for FIFA World Cup 2026, Formula 1, and IPL cricket — 44 free tools for simulations, strategy, and fantasy.
What is the io.github.Ninjabeam20/sportiq-mcp MCP server?
The SportIQ MCP server turns any AI assistant into a sports analyst across FIFA World Cup 2026 football, Formula 1, and IPL cricket. It exposes 44 AI-callable tools spanning raw data (fixtures, standings, squads, live scores) and intelligence layers (Monte Carlo bracket simulations, pit-strategy optimization, Dream11 fantasy team building). All tools are free and open-source, with optional provider keys for fresher live data.
SportIQ provides comprehensive sports analytics across three major competitions. Three flagship tools—football_simulate_bracket (World Cup 2026 title probabilities via Monte Carlo), f1_predict_pit_strategy (tyre-degradation pit-stop optimization), and cricket_build_dream11_team (constraint-solver fantasy XI)—sit atop raw-data tools for fixtures, standings, squads, live scores, and odds. Works hosted (no install) or locally via PyPI; all tools register without credentials, with optional API keys for live/provider-backed data.
How to install io.github.Ninjabeam20/sportiq-mcp
Copy-paste configuration for popular MCP clients.
Tools & capabilities
Tools this server exposes to the agent.
football_simulate_bracket— Monte Carlo simulation with Poisson xG model over 48-team WC 2026 format to compute per-team round and title probabilities.f1_predict_pit_strategy— Tyre-degradation model on OpenF1 telemetry to determine optimal pit-stop laps and compound sequences.cricket_build_dream11_team— PuLP constraint solver to build a valid fantasy XI under credit, role, and team caps.football_xg_model— Expected goals model for football match analysis.football_match_predictor— Predicts football match outcomes.football_simulate_group— Simulates group-stage outcomes for World Cup 2026.football_knockout_path— Analyzes knockout-stage paths and probabilities.football_form_trends— Tracks team form trends over time.football_find_value_bets— Identifies undervalued betting opportunities in football.football_build_accumulator— Constructs multi-leg accumulator bets.f1_tyre_degradation— Models tyre degradation across F1 race stints.f1_undercut_window— Calculates optimal undercut pit-stop windows.f1_head_to_head_pace— Compares pace between two F1 drivers.f1_weather_strategy_impact— Analyzes how weather affects F1 race strategy.f1_qualifying_analysis— Analyzes F1 qualifying performance.f1_race_pace_compare— Compares race pace across F1 drivers.cricket_captain_recommendation— Recommends optimal captain choice for fantasy cricket.cricket_differential_picks— Identifies differential player picks for fantasy cricket.cricket_player_form_index— Tracks player form in IPL cricket.cricket_pitch_report— Provides pitch analysis for cricket matches.
Use cases
- Simulate World Cup 2026 bracket outcomes and predict title probabilities for any team using Monte Carlo analysis.
- Optimize Formula 1 pit-stop strategy by analyzing tyre degradation and finding the best lap to pit and compound sequence.
- Build a valid Dream11 fantasy cricket XI under salary caps, role constraints, and team limits using constraint solving.
- Analyze football form trends, find value bets, and build multi-leg accumulators for betting.
- Compare F1 driver pace, analyze weather impact on strategy, and evaluate qualifying performance.
io.github.Ninjabeam20/sportiq-mcp MCP server FAQ
SportIQ is an MCP server that turns any AI assistant into a sports analyst for FIFA World Cup 2026 football, Formula 1, and IPL cricket. It provides 44 free tools spanning raw data (fixtures, standings, squads, live scores) and intelligence layers (Monte Carlo simulations, pit-strategy optimization, fantasy team building).
Yes. Every tool is free to use with no paywall or account requirement. Optional API keys (for API-Football, TheOdds, CricAPI, etc.) unlock fresher live data and higher quota, but all tools register and work without them using bundled seeds and keyless fallbacks.
Two ways: (1) Hosted (no install)—add a custom connector in claude.ai or ChatGPT with URL https://sportiq.utkarshgupta.org/mcp and no authentication. (2) Local—install from PyPI (uvx sportiq-mcp) and configure in Claude Desktop's config.json with the mcpServers entry.
None for the hosted instance. For local use, all tools register without keys; optional environment variables (APIFOOTBALL_KEY, CRICAPI_KEY, THEODDS_KEY, etc.) unlock live/provider-backed data sources. The hosted public instance's current key inventory is not claimed by the repository.
Football: API-Football, football-data.org, bundled wc2026.json. F1: OpenF1, Jolpica, fastf1. Cricket: CricAPI, static seeds (NDTV/Cricbuzz scrapers opt-in). All tools are read-only; no write, delete, or payment operations.
Every response includes a meta.is_stale flag and data age. Live scores refresh ~30s, F1 telemetry ~10s, standings ~10min, fixtures ~6h. Staleness depends on the data source and operator's API quota.
README (reference)
Source of truth, from the repository.
sportiq-mcp
<!-- mcp-name: io.github.Ninjabeam20/sportiq-mcp -->MCP server that turns any AI assistant into a sports analyst across FIFA World Cup 2026 football, Formula 1, and IPL cricket — 44 AI-callable tools.

SportIQ running live in Claude — Monte Carlo World Cup bracket, F1 pit strategy, and Dream11 optimisation, each a visible MCP tool call. (1-min demo)
<p align="center"> <a href="https://github.com/sponsors/Ninjabeam20"><img src="https://img.shields.io/badge/%E2%9D%A4_Sponsor_SportIQ-EA4AAA?style=for-the-badge&logo=githubsponsors&logoColor=white" alt="Sponsor SportIQ"></a> <a href="https://sport-iq-sports-analysis.vercel.app"><img src="https://img.shields.io/badge/%F0%9F%8C%90_Website-Visit-2563EB?style=for-the-badge" alt="Website"></a> </p>Every tool is free to use — the three flagships and everything in the INTEL columns below have no SportIQ paywall or account requirement. Live/provider-backed data still depends on the keys and quota available to the host or local operator. If SportIQ is useful to you, sponsor the project to support ongoing development.
What it does
Raw-data tools are table stakes; the intelligence layer is the product. Three flagships:
football_simulate_bracket— Monte Carlo with Poisson xG over the 48-team WC 2026 format → per-team round + title probabilities.f1_predict_pit_strategy— tyre-degradation model on OpenF1 telemetry → optimal stop laps + compound sequence.cricket_build_dream11_team— PuLP constraint solver → a valid fantasy XI under credit/role/team caps.
Tools (44 total)
| Sport | RAW data | INTEL |
|---|---|---|
| Football (WC 2026) | groups, fixtures, standings, squad, match stats, top scorers, odds | xg_model, match_predictor, simulate_group, simulate_bracket, knockout_path, form_trends, find_value_bets, build_accumulator |
| F1 | sessions, drivers, lap_times, standings, race_results, weather | tyre_degradation, undercut_window, head_to_head_pace, weather_strategy_impact, qualifying_analysis, race_pace_compare, predict_pit_strategy |
| Cricket (IPL) | live_matches, scorecard, points_table, schedule, squad, live_odds | build_dream11_team, captain_recommendation, differential_picks, player_form_index, pitch_report, head_to_head, player_matchup, find_value_bets |
| Cross-sport | — | build_accumulator |
Plus sportiq_health (included in the 44; cache backend + per-adapter status and remaining API quota).
Data sources (per chain, with keyless fallbacks): football → API-Football → football-data.org → bundled wc2026.json. F1 → OpenF1 → Jolpica → fastf1. Cricket → CricAPI + static seeds (NDTV/Cricbuzz scrapers opt-in).
Where it works
Anywhere that speaks MCP — Claude (Desktop + web), ChatGPT, Cursor, and any MCP client. Two ways to run it:
- Hosted (no install): add a custom connector — works in claude.ai web & ChatGPT.
- Local (
uvx/Desktop config/IDEs): install from PyPI.
How it works
Hosted — no install
A public instance runs on the home server behind Cloudflare. Add this as a custom connector with No authentication:
https://sportiq.utkarshgupta.org/mcp
Hosting history (GCP Cloud Run → home server): docs/wiki/findings/product-hosting-arc.md. Old *.run.app connector URLs are gone.
- claude.ai (web): Settings → Connectors → Add custom connector → paste URL → Save.
- ChatGPT: Settings → Apps & Connectors → enable Developer mode → Create app (MCP) → paste URL → No authentication → Connect.
All 44 tools register on the plain URL. Whether a live/provider-backed call can return current data depends on the credentials, quota, and fallbacks available to the hosted operator; the repository does not claim the public instance's current key inventory.
| Mode | What is available |
|---|---|
| Hosted | All tools register; live/provider-backed results depend on the host's current keys, quota, and fallbacks. |
| Local, keyless | All tools register; bundled seeds and keyless sources work where supported, while credential-only live sources are skipped. |
| Local, BYO keys | The same tools can use the configured providers for fresher/live data, subject to provider quota. |
The hosted HTTP boundary rejects request bodies over 1 MiB, limits traffic to 60 requests per client and 300 total requests per minute, and permits at most two concurrent expensive model/solver calls. These counters are per process, so the home-server Compose stack runs one replica (always-on idle; no scale-to-zero).
Local install
uvx sportiq-mcp # from PyPI
# or from source:
git clone https://github.com/Ninjabeam20/SportIQ-MCP && cd sportiq-mcp
uv sync --extra dev --extra analytics && uv run python -m sportiq.server
Claude Desktop config:
{
"mcpServers": {
"sportiq": {
"command": "uvx",
"args": ["sportiq-mcp"],
"env": {
"CRICAPI_KEY": "your_cricapi_key",
"APIFOOTBALL_KEY": "your_apifootball_key",
"THEODDS_KEY": "your_theodds_key"
}
}
}
}
The server boots and registers every tool without keys. Seed/keyless fallbacks and the intelligence layer work where their required inputs are available; provider keys add fresher/live sources and quota rather than unlocking a separate paid tool tier.
| Var | Unlocks | Free tier |
|---|---|---|
APIFOOTBALL_KEY | Live football fixtures / standings / squads / scorers | 100 req/day |
THEODDS_KEY | Market odds (football + cricket probability tools) | 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_TRANSPORT | stdio (default, local) or http (remote / home server) | — |
macOS arm64: the Dream11 solver needs CBC —
brew install cbc(the binary bundled with PuLP is x86-only).
Self-host
Set SPORTIQ_TRANSPORT=http and the server serves the MCP endpoint at /mcp (binds 0.0.0.0:$PORT). A ready-to-build Dockerfile and home-server docker-compose.yml are included. cloud.md is the old Cloud Run runbook (historical). With your own keys set, the live-score and odds tools come online too.
Support SportIQ
Every tool is free and open source — the raw-data tools, sportiq_health, and the full intelligence layer (the three flagships + everything in the INTEL columns). SportIQ has no paid feature gate; provider-backed data can still require operator credentials and quota.
If SportIQ saves you time, sponsor the project at github.com/sponsors/Ninjabeam20 to help fund hosting and ongoing development. It's a voluntary donation — you get the same fully-unlocked server either way.
Is it safe?
- Open source, MIT licensed, published on PyPI with signed build attestations — read the code before you connect it.
- Read-only. Tools only fetch and analyse public sports data — no write, delete, payment, email, or file-system tools.
- Limited operational telemetry. HTTP mode logs client software name/version, User-Agent, tool name, outcome, latency, selected source, and staleness. The public host (Dell) can persist
tool_call/mcp_requestlines to a local JSONL volume. Local stdio emits local logs but sends no telemetry to a SportIQ-hosted service. - Hosted abuse controls. HTTP POST bodies are capped at 1 MiB; requests are limited to 60/client/minute and 300/process/minute; the five expensive simulation/strategy/solver tools share a concurrency limit of two.
- Credential-aware. A hosted operator may configure provider credentials; the repository does not claim the public instance's current key inventory. Keys are redacted from application logs and envelopes.
- Historical automated AI code-review results are documented in
SECURITY.md; they are not a current third-party certification.
Every response carries a meta.is_stale flag + data age, so the AI tells you how fresh each answer is. Live scores refresh ~30s, F1 telemetry ~10s, standings ~10min, fixtures ~6h.
Develop
uv sync --extra dev --extra analytics # always both extras: dev = pytest/ruff, analytics = the dashboard's GCP libs
uv run pytest
uv run ruff check .
npx @modelcontextprotocol/inspector uv run python -m sportiq.server
Analytics dashboard (read-only local usage view — Dell JSONL / archived GCP / PyPI / GitHub). Same setup as above, then just run it:
uv run python scripts/dashboard.py # writes dashboard.html and opens it; GITHUB_TOKEN optional (Sponsors panel)
Note: the dashboard's HTML template (
scripts/dashboard_template.html) is currently local-only maintainer tooling, so a fresh clone can't render it yet.
Repository layout: src/ is the MCP server (published to PyPI, hosted on the Dell at https://sportiq.utkarshgupta.org/mcp); website/ is the Next.js marketing site deployed to Vercel. The two ship independently — website/ is excluded from the Python package and the backend container.
See CLAUDE.md for collaboration rules and docs/index.md for the wiki entry point.
Data sources & credits
SportIQ derives some model constants offline from open datasets. Raw datasets are never shipped or fetched at runtime — only small derived seeds (circuits.json, venues.json, elo_seed.json) are committed.
- F1DB (CC BY 4.0) — per-circuit stop counts + lap lengths; pit loss measured offline from OpenF1 laps.
- Cricsheet — ball-by-ball IPL data → derived venue scoring priors (
venues.json). - martj42 international football results (CC0) — Elo backtesting.
- OpenF1 — keyless live F1 telemetry (runtime source).
- football-data.org — free football data (runtime source).
License & author
Created and maintained by Utkarsh Gupta (@Ninjabeam20). Licensed under the MIT License — © 2026 Utkarsh Gupta. Canonical package: sportiq-mcp on PyPI / io.github.Ninjabeam20/sportiq-mcp in the official MCP registry.
Related MCP servers

Discover and research viral social content on TikTok, Instagram Reels, and YouTube Shorts.
View repository →9 MCP servers for React/TypeScript — dep auditing, a11y, test gen, and TypeScript enforcement.

Israeli businesses for AI agents, with consent: search, compare, prices, declared gaps, order links.
Drug safety intelligence: 358 drugs, 1M+ FDA adverse events, PV signal detection.
View repository →MCP server for SQL Server: schema inspection, safe read-only queries, query plan analysis
RAG-enabled MCP server using Contextual AI. Supports single-agent and multi-agent modes.



