My Gym My Way
Free home-gym workouts built from the equipment you own. No paywall, no account, no tracking.
Connect EuroLeague play-by-play data to Claude, ChatGPT or Gemini and ask in your own words. Exact possessions, five-man lineups and shot locations, reconstructed from the play-by-play.
Sports & fitnessPython · HTMLGitHub @egemeny13OnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
A validated data warehouse for EuroLeague and EuroCup basketball, built from the public play-by-play API and exposed to LLMs through an MCP server. Possessions counted exactly from play-by-play, not estimated.
Taken from the repository README
Loading the full README. The saved excerpt is shown below.
A validated data warehouse and Model Context Protocol (MCP) server for EuroLeague and EuroCup basketball, exposing precision play-by-play possessions, lineup on/off splits, four factors, and court shot charts directly to AI language models.
The Remotion launch video, micro-clips and social cards are maintained in the
separate launch media repository.
The deployable website remains in this repository under site/.
1. What This Is (and Why It Exists)
This is not an API wrapper. Thin wrappers already exist and provide little analytical depth.Read the full README ↗A validated data warehouse and Model Context Protocol (MCP) server for EuroLeague and EuroCup basketball, exposing precision play-by-play possessions, lineup on/off splits, four factors, and court shot charts directly to AI language models.
The Remotion launch video, micro-clips and social cards are maintained in the
separate launch media repository.
The deployable website remains in this repository under site/.
This is not an API wrapper. Thin wrappers already exist and provide little analytical depth.
The value of this project lives entirely in its precision derived layer:
FGA - ORB + TO + 0.44*FTA).margin_at_start and seconds_remaining_at_start on every possession, allowing callers to query any clutch definition dynamically.Every number published by this warehouse is mechanically verified against official box scores and strict invariants before shipping:
| Metric / Dimension | Verified Value | Ground Truth & Evidence |
|---|---|---|
| Loaded Public Games | 732 games | 330 in E2024 • 402 in E2025 |
| Reconstructed Possessions | 107,311 | 47,829 in E2024 • 59,482 in E2025 |
| Court Shot Coordinates | 41,524 verified | E2024 field goals with real half-court coordinates |
| Score Reconciliation | 100.0% | 0 point discrepancies across all 732 games |
| Player Minutes Precision | 99.54% | Exact second match against official box scores |
| Historical Archive | Backfill in progress | E2003–E2025 target; every completed season passes a byte-for-byte restore gate |
| Dual-Path Evaluations | 10 / 10 passed | Verified via SQL and live MCP tool calls |
The server exposes 17 read-only tools designed specifically for LLMs. Every response declares its data coverage, quarantined game exclusions, and whether minutes are raw or corrected.
| Tool | Purpose |
|---|---|
el_describe_warehouse | Returns loaded seasons, game counts, coverage notes, and data exclusions. |
el_find_games | Search and filter games by season, round, date, team, or winner. |
el_get_game | Single-game scores, pace, Four Factors, exact possession totals, and quality flags. |
el_get_boxscore | Official player and team box scores with raw, corrected, and official minutes. |
el_get_play_by_play | Source-ordered event stream with on-court lineups, score margins, and clock readings. |
el_get_shot_data | Shot attempts with normalized half-court court coordinates (X, Y). |
el_get_team_stats | Four Factors (eFG%, TOV%, ORB%, FTR), pace, offensive rating, and defensive rating. |
el_get_player_stats | Player per-game and per-100 statistics; optional advanced shooting and explicitly defined event rates. |
el_get_lineup_stats | 5-man lineup performance with possession counts, offensive, defensive, and net ratings. |
el_get_player_on_off | Team net rating differential with a specific player on court versus off court. |
el_get_possessions | Individual possession records with start score, duration, ending reason, and clutch filters. |
el_get_fouls | Fouls committed and drawn by type, grouped by player, team, or game; reconciles to the box score. |
el_get_referee_stats | A referee's season: games worked, fouls per game, home-win rate, and pace; unpivoted from the schedule's officiating crew. |
el_get_roster | A team's roster with biography (jersey, position, height, weight, birth date, country), linked to the box-score player by observed stat lines, never by name. |
el_get_standings | Official-score W-L, home/away splits, points, differential and last five; quarantine included. |
el_get_shot_profile | Zone shot attempts, makes and rates versus the same-season league, without coordinates. |
el_get_game_log |
The server remains a standard MCP server. The hosted and local transports publish the same 17 tools, input schemas, output schemas, and safety annotations. No ChatGPT-specific metadata is present in the tool registry.
Use this endpoint in any MCP client that supports remote Streamable HTTP:
https://euroleague-analytics-mcp.fly.dev/mcp
For clients that use a JSON MCP configuration, the shape is:
{
"mcpServers": {
"euroleague": {
"url": "https://euroleague-analytics-mcp.fly.dev/mcp"
}
}
}
The hosted endpoint uses OAuth. The client should follow the authorization discovery advertised by the server.
The Fly deployment is configured to suspend its single machine when idle and resume when a request arrives (Decision 86). The first request after idle time can take longer. Normal resume retains process memory, but a restart or cold-start fallback may require the MCP client to create a new session. Persistent HTTP streams and continued requests can keep the machine awake; suspended root filesystem storage and traffic may still be billed.
The configuration remains in fly.toml. A direct live setting can be overwritten
by the next default-branch CI deployment until the corresponding configuration
change is merged. This policy reduces idle compute time; it does not guarantee
a monthly spending cap.
Clone the repository, configure your PostgreSQL connection string in .env, and point Claude Desktop to the local script:
{
"mcpServers": {
"euroleague-local": {
"command": "python",
"args": ["/path/to/euroleague-analytics/scripts/mcp_server.py"]
}
}
}
This stdio configuration is suitable for Claude Desktop and other local MCP clients. Cursor, Windsurf, Gemini/Antigravity, Codex, and custom MCP clients can use either transport when they support it. Client-specific configuration screens differ, but the server URL, tool names, and contracts do not.
For troubleshooting, see the Support & Connection Guide.
ChatGPT uses the same hosted MCP endpoint. There is no separate ChatGPT API and no fork of the tool registry.
https://euroleague-analytics-mcp.fly.dev/mcp as the public Streamable HTTP URL.Developer mode availability can depend on the ChatGPT account and workspace policy. The current official flow is documented in OpenAI's Connect and test your plugin guide.
OpenAI's current documentation redirects the former Apps SDK/App Directory material to the Plugins documentation. An MCP-only submission is supported and custom UI is optional. This repository therefore keeps the integration deliberately thin:
openai/* fields or ChatGPT-only _meta values;OPENAI_APPS_CHALLENGE_TOKEN optionally exposes the exact domain-verification response
at /.well-known/openai-apps-challenge; when unset, that route does not exist;Before submission, the publisher must still complete the external portal work: identity verification, listing copy and assets, privacy/terms/support URLs, five positive and three negative test cases, country availability, OAuth details, a live Scan Tools run, and domain verification. See OpenAI's submission guide and MCP review requirements.
live.euroleague.net API
|
[Scheduled GitHub Actions Pipeline]
|
+----------------------------+----------------------------+
| |
Immutable Response Archive PostgreSQL Database
(Supabase Storage ~118 MB gzip) (Supabase / Frankfurt EU)
| |
Audit & Checksums Raw & Derived Tables
|
Security-Invoker Views
|
Hosted / stdio MCP Server
|
Language Models (Claude, etc.)
.github/workflows/e2026-live.yml).game_quality and disclosed on every query.Python >= 3.14 is required.
# Set up virtual environment
python -m venv .venv
.venv/Scripts/pip install -r requirements-dev.txt # Linux/macOS: .venv/bin/pip
.venv/Scripts/pip install -e .
# Run offline unit and integration tests (1,190+ tests, no network required)
.venv/Scripts/pytest
# Run linter and formatter
.venv/Scripts/ruff check .
.venv/Scripts/ruff format --check .
docs/evaluation.xml contains 10 complex, realistic questions designed to test LLM retrieval and reasoning over basketball data.
tests/test_phase_8_evaluations.py re-earns every published answer along two independent paths on demand:
el_* MCP tool calls an LLM would execute.Both paths must agree with the published <expected_answer>.
docs/SPONSOR_ONE_PAGER.mddocs/SCOPE.md — what the 17 tools do, what is left out on purpose, and whyDECISIONS.mddocs/Open source under the MIT License.
| Bounded player/team official game lines with recency, venue and opponent filters. |