Tennis Analytics MCP
ATP tennis data since 1968 with head-to-heads, shot charting and dominance indices
Tennis Analytics MCP is an open-source MCP server for analytics and data. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI, Self-hosted
- Runs
- Locally
- Version
- 0.1.1
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add tennis-mcp -- uvx tennis-mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"tennis-mcp": {
"command": "uvx",
"args": [
"tennis-mcp"
]
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"tennis-mcp": {
"command": "uvx",
"args": [
"tennis-mcp"
]
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"tennis-mcp": {
"command": "uvx",
"args": [
"tennis-mcp"
]
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"tennis-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"tennis-mcp"
]
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add tennis-mcp -- uvx tennis-mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.tennis-mcp]
command = "uvx"
args = ["tennis-mcp"]Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"tennis-mcp": {
"command": "uvx",
"args": [
"tennis-mcp"
]
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "tennis-mcp": { "command": "uvx", "args": [ "tennis-mcp" ] } } }Or run: gemini mcp add -s user tennis-mcp uvx -- tennis-mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "tennis-mcp": { "command": "uvx", "args": [ "tennis-mcp" ] } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "tennis-mcp": { "command": "uvx", "args": [ "tennis-mcp" ] } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "tennis-mcp": { "command": "uvx", "args": [ "tennis-mcp" ] } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "tennis-mcp": { "command": "uvx", "args": [ "tennis-mcp" ] } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "tennis-mcp": { "command": "uvx", "args": [ "tennis-mcp" ] } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "tennis-mcp": { "command": "uvx", "args": [ "tennis-mcp" ] } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "tennis-mcp": { "command": "uvx", "args": [ "tennis-mcp" ] } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
TML_DATA_DIROptional path to a local tml-data/data directory to bypass HTTPS Parquet caching.TENNIS_MCP_CACHE_DIROptional cache directory for downloaded Parquet/JSON slices (defaults to ~/.cache/tennis-mcp).
About Tennis Analytics MCP
The data behind this server covers 200,105 Open Era ATP matches, 7,622 player careers, 113,744 surface-split head-to-head pairs and 7,663 charted matches from the Match Charting Project. It also serves curated indices: a Grand Slam Dominance Index (231 title runs), a Nail-Biter Index (687 Slam finals and semifinals), plus Race to Greatness and Young Guns comparisons.
Queries run through DuckDB over Parquet and JSON files. There is no need to clone the 265 MB data repo: the server fetches only the tables a question needs into ~/.cache/tennis-mcp/ with a 7-day cache, or reads a local copy if TML_DATA_DIR is set.
Seven tennis:// resources and three prompts (scouting report, rivalry breakdown, Slam campaign audit) are included. Code is MIT-licensed; the charting tables derive from a CC BY-NC-SA 4.0 source, so non-commercial share-alike applies to them.
Tools this server provides (15)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 14 of 15 tools read data; 1 name doesn't say.
From the server's own tool labels and tool names; not verified by us.
- get_dataset_overviewName suggests: reads
- Row counts, date window and licences.
- search_playersName suggests: reads
- Filter ATP careers by name, country or Slam status.
- get_player_profileName suggests: reads
- Career record, surface splits and recent matches.
- get_head_to_headName suggests: reads
- Surface-by-surface head-to-head.
- search_matchesName suggests: reads
- Search enriched ATP matches.
- get_charting_profileName suggests: reads
- Serve, return and rally profile of a player.
- get_match_charting_statsName suggests: reads
- Per-match charted statistics.
- compare_players
- Side-by-side comparison of 2-6 players.
- get_gsdi_rankingsName suggests: reads
- Grand Slam Dominance Index rankings.
- get_nail_bitersName suggests: reads
- Nail-Biter Index rankings.
- get_greatness_raceName suggests: reads
- Age-for-age title and Slam pace.
- get_young_guns_raceName suggests: reads
- Young players benchmarked against Alcaraz and Sinner.
- get_gs_breakthroughName suggests: reads
- Age and matches before a first Slam title.
- get_country_profileName suggests: reads
- Top 100 and Top 10 evolution by country.
- get_indian_tennis_statsName suggests: reads
- Indian ATP singles milestones.
What it does
- Match search
- Parameterized search over 200,105 ATP matches.
- Head-to-head by surface
- Surface-by-surface rivalry records with match logs.
- Shot and rally stats
- Serve, return and rally-length breakdowns from charted matches.
- Dominance indices
- Grand Slam Dominance and Nail-Biter rankings.
- Career pace races
- Compares players' title and Slam pace by age.
- Zero-clone caching
- Downloads only needed tables and caches them locally.
Good for
- Prepare a scouting report on a player
- Compare two players across career and charting stats
- Rank the closest Grand Slam finals
- Track a young player against past champions
Pricing
Open source
Tennis Analytics MCP FAQ
Do I need to download the dataset?
No. Tables are fetched on demand and cached for 7 days, or you can point `TML_DATA_DIR` at a local copy.
How much data is there?
200,105 ATP matches from 1968 to 2026 and 7,622 player careers.
What licences apply?
Code is MIT. Charting tables are CC BY-NC-SA 4.0, so non-commercial share-alike.
Which clients does Tennis Analytics MCP suit?
The README lists Claude Desktop, Cursor, Antigravity, Claude Code and VS Code.
Is Tennis Analytics MCP free?
Yes. Tennis Analytics MCP is open source, so you can use and self-host it for free.
How do I add Tennis Analytics MCP to Claude Code?
Run this command in your terminal: claude mcp add tennis-mcp -- uvx tennis-mcp
What are the best alternatives to Tennis Analytics MCP?
The closest alternatives to Tennis Analytics MCP are Agent-Native Analytics, dashboard-icons, Google Ads + Meta Ads + SEO/GEO MCP, Tapetide - Indian Stock Market MCP and Pitot.
Where this comes from
- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

