Sportiq Mcp

io.github.Ninjabeam20v0.3.2更新於 Oct 9, 2026

MCP tools for FIFA World Cup 2026 football, Formula 1, and IPL cricket — sims, strategy, fantasy.

已驗證Streamable HTTP可網頁執行FinanceData & Analytics

概覽

AI 產生的概覽

為助理提供 44 個運動分析工具,涵蓋 2026 年世界盃足球、一級方程式與 IPL 板球,包括模擬、策略模型與夢幻陣容建立。

功能
SportIQ 提供 44 個可供 AI 呼叫的工具,橫跨三種運動。旗艦工具包括蒙地卡羅世界盃對戰模擬、以輪胎退化模型為基礎的 F1 進站策略預測,以及用約束求解器建立合規 Dream11 夢幻板球陣容。原始資料工具涵蓋賽程、積分榜、陣容、圈速、記分卡與賠率,另有跨項目串關建立,以及回報快取與轉接器狀態的健康檢查工具。
適用情境
當你希望助理以量化模型而非單純查詢來分析足球、F1 或 IPL 板球時適用——例如對戰機率、進站窗口、夢幻陣容或價值投注篩選。可託管執行免安裝,也可從 PyPI 在本機執行。
執行需求
可作為遠端端點執行,也可透過 uvx 從 PyPI 套件 sportiq-mcp 在本機執行。託管連接器未宣告需要身分驗證。可選的供應商金鑰(APIFOOTBALL_KEY、THEODDS_KEY、FOOTBALLDATA_KEY、CRICAPI_KEY、RAPIDAPI_KEY)可取得更新的即時資料;沒有金鑰時伺服器仍會啟動並註冊全部工具。macOS arm64 上 Dream11 求解器需要 CBC。
安裝前請注意
工具被描述為唯讀,僅取得與分析公開運動資料。在 HTTP 模式下,營運方可能記錄用戶端軟體名稱/版本、User-Agent、工具名稱、結果、延遲、資料來源與新鮮度,公開主機可能在本機保存工具呼叫紀錄。供應商金鑰為可選且會從日誌中遮蔽;倉庫未宣告公開執行個體目前的金鑰清單。可選板球爬蟲預設關閉。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Sportiq Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "sportiq-mcp": {
      "type": "http",
      "url": "https://sportiq.utkarshgupta.org/mcp"
    }
  }
}

README

sportiq-mcp

[CI] [PyPI] [Python] [License: MIT] [MCP Registry] [MCP Queen operational grade]

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 demo — Claude calling football_simulate_bracket for World Cup 2026 title probabilities]

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)

[Sponsor SportIQ]   [Website]

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)

SportRAW dataINTEL
Football (WC 2026)groups, fixtures, standings, squad, match stats, top scorers, oddsxg_model, match_predictor, simulate_group, simulate_bracket, knockout_path, form_trends, find_value_bets, build_accumulator
F1sessions, drivers, lap_times, standings, race_results, weathertyre_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_oddsbuild_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.

ModeWhat is available
HostedAll tools register; live/provider-backed results depend on the host's current keys, quota, and fallbacks.
Local, keylessAll tools register; bundled seeds and keyless sources work where supported, while credential-only live sources are skipped.
Local, BYO keysThe 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

bash
uvx sportiq-mcp                       # from PyPI# or from source:git clone https://github.com/Ninjabeam20/SportIQ-MCP && cd sportiq-mcpuv sync --extra dev --extra analytics && uv run python -m sportiq.server

Claude Desktop config:

json
{  "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.

VarUnlocksFree tier
APIFOOTBALL_KEYLive football fixtures / standings / squads / scorers100 req/day
THEODDS_KEYMarket odds (football + cricket probability tools)500 req/month
FOOTBALLDATA_KEYfootball-data.org fallback (token optional)10 req/min
CRICAPI_KEYLive cricket scores / scorecards / schedules / squads100 req/day
RAPIDAPI_KEYPaid Cricbuzz fallback (player career stats)plan-dependent
SPORTIQ_ENABLE_NDTV / SPORTIQ_ENABLE_CRICBUZZOpt-in cricket scrapers (off by default — ToS)—
REDIS_URLShared cache backend (defaults to local diskcache)—
SPORTIQ_TRANSPORTstdio (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_request lines 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

bash
uv sync --extra dev --extra analytics   # always both extras: dev = pytest/ruff, analytics = the dashboard's GCP libsuv run pytestuv 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:

bash
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.

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.

來源:README.md,提交 8d49c64

工具

0
工具後設資料尚未被收錄。

版本歷史

1
  1. v0.3.2最新Sep 16, 2026