Tennis Analytics MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| TML_DATA_DIR | No | Path to an existing local clone of sorukumar/tml-data to skip HTTPS downloads completely. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Use search_players or get_player_profile for career stats, get_head_to_head for rivalries, search_matches for filtering the 200k-match archive, get_charting_profile / get_match_charting_stats for point-by-point Match Charting Project shot/rally profiles, and story tools (GSDI, NBI, Race to Greatness, Young Guns, GS Breakthrough) for curated rankings.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_dataset_overviewA | Get live row counts, date coverage (1968-2026), charting coverage, and license attribution. |
| search_playersA | Search 7,622 Open Era ATP players by name fragment, 3-letter country code (e.g. ESP, ITA, IND), or Grand Slam status. |
| get_player_profileB | Get a player's full ATP career stats, surface splits, top-10 win rates, Match Charting Project profile (if charted), and recent matches. |
| get_head_to_headB | Get overall and surface-by-surface head-to-head record plus chronological match results between two ATP players. |
| search_matchesB | Search 200,105 ATP matches by player, opponent, tournament, surface (Hard/Clay/Grass/Carpet), round, year range, Grand Slam filter, or comeback score. |
| get_charting_profileC | Get Jeff Sackmann Match Charting Project shot/rally profiles (1st/2nd serve win%, return%, rally length, UF error rate, Serve+1, BP save delta) across 475 players. |
| get_match_charting_statsB | Inspect point-by-point charted match breakdowns (aces, winners, unforced errors, rally length distribution, TML link) from 7,663 MCP matches. |
| compare_playersA | Compare 2 to 6 ATP players side by side across career stats, charting styles, and optional age-for-age milestone trajectories. |
| get_gsdi_rankingsC | Rank the most mathematically dominant Grand Slam title campaigns using the Grand Slam Dominance Index (GSDI). |
| get_nail_bitersC | Find the highest-drama Grand Slam Finals & Semifinals using the Nail-Biter Index (NBI). |
| get_greatness_raceB | Compare Big 3, Alcaraz, Sinner, Borg, Sampras, McEnroe, Lendl, and Agassi on titles, Slams, and Masters at any age. |
| get_young_guns_raceC | Track ATP next-wave talents (Joao Fonseca, Jakub Mensik, Learner Tien, Rafael Jodar) against Alcaraz and Sinner age benchmarks. |
| get_gs_breakthroughB | Analyze how quickly Open Era Grand Slam champions broke through to their first major title. |
| get_country_profileB | Explore global Top 100 and Top 10 ATP representation trends (1975-2025) by IOC country code or snapshot year. |
| get_indian_tennis_statsB | Query India's Open Era ATP singles history and milestone achievements. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| scouting_report | Generate a data-backed ATP scouting & tactical charting brief for a player. |
| rivalry_breakdown | Analyze a classic or upcoming ATP rivalry across surfaces, comebacks, and tactical charting matchups. |
| slam_campaign_audit | Audit historical Grand Slam dominance campaigns using GSDI and NBI metrics. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| overview_resource | Dataset summary, update timestamp, row counts, and data licenses. |
| gsdi_top_resource | Top 20 Grand Slam Dominance Index runs. |
| nbi_top_resource | Top 20 Grand Slam Nail-Biter Index matches. |
| greatness_summary_resource | Latest Career Greatness Race stats across all tracked legends and active stars. |
| young_guns_resource | Latest Young Guns scouting leaderboard vs Alcaraz/Sinner benchmarks. |
| global_timeline_resource | Global ATP geographic diversity index timeline (1975-2025). |
| indian_notable_resource | Notable Indian ATP players across the Open Era. |
TDQS
Scored across 15 tools
Most tools have clearly distinct purposes: search vs. profile vs. head-to-head vs. match charting are well separated. Some overlap exists among analytical tools such as compare_players, get_greatness_race, and get_young_guns_race, and between get_indian_tennis_stats and get_country_profile, but descriptions make the boundaries reasonably clear.
Tool names follow a consistent snake_case verb_noun pattern, primarily get_* or search_* with clear resource-oriented nouns. Minor abbreviations like gsdi and gs are readable and do not disrupt the convention.
The server has 15 tools, which fits the upper end of a well-scoped analytics surface. Each tool maps to a distinct query type, ranking, or comparison rather than duplicating basic operations.
The surface covers core tennis analytics workflows: dataset overview, player search and profiles, match search, head-to-head, charting, country trends, and Grand Slam analyses. Minor gaps exist around tournament-centric queries, broader ranking timelines, and non-charting match detail retrieval, but agents can mostly work around them.