livetennisapi-mcp
This MCP server connects AI clients to the Live Tennis API, providing real-time and scheduled tennis data across ATP, WTA, Challenger, and ITF tours. It is read-only and requires an API key, with features gated by subscription plan:
Free Plan
Live scores — List matches currently in progress with live scores (
get_live_matches)Upcoming matches — View matches scheduled to start soon (
get_upcoming_matches)Match detail — Full info for a specific match: players, score, surface, round, status (
get_match)Match score — Fastest/lowest-latency fetch of the current score (
get_match_score)Player search — Find players by full or partial name (
search_players)Player profile — Ranking, country, handedness, date of birth, stats (
get_player)Fixtures — Forward schedule of upcoming matches (
get_fixtures)API status — Check reachability and which plan your API key is on (
check_api_status)
Basic Plan
Recent results — Recently completed matches with final scores and winners (
get_recent_results)
PRO Plan
Match events — Timeline of breaks, games, sets, and momentum runs (
get_match_events)Match odds — Match-winner market prices with bid, ask, and mid (implied probability) per player (
get_match_odds)
ULTRA Plan
Match analysis — Model-driven win probability, narrative thesis, key factors, volatility rating, and expected closeness (
get_match_analysis)Win probability —
win_probability_p1field available across live matches, upcoming matches, and match scores
livetennisapi-mcp
MCP server for the Live Tennis API.
Give Claude, Cursor, Zed or any MCP client live tennis scores, players and fixtures — for ATP, WTA, Challenger, ITF and juniors. Odds, rankings, match statistics, charting and model win-probability tools are included, and require the PRO and ULTRA plans.
Documentation · Get a free API key
Setup
Claude Code
claude mcp add livetennis -e LIVETENNISAPI_KEY=twjp_… -- npx -y livetennisapi-mcpClaude Desktop — add to claude_desktop_config.json:
{
"mcpServers": {
"livetennis": {
"command": "npx",
"args": ["-y", "livetennisapi-mcp"],
"env": { "LIVETENNISAPI_KEY": "twjp_…" }
}
}
}Cursor / Zed / others — same command, same env var. No install step; npx
fetches it on demand.
Get a free key (no card) at livetennisapi.com, or a paid plan at pricing.
Related MCP server: SportScore
Try it
"What tennis matches are live right now?" "Who's winning the Alcaraz match, and what does the model give him?" "Show me Sinner's ranking and recent results." "What are the current odds on match 18953?" "What's the all-time head-to-head between Borg and McEnroe?" "List Navratilova's Grand Slam finals from the archive." "Who was ATP #1 the week Alcaraz first entered the top 10?" "How is Sabalenka serving in her live match — aces, hold rate, break points?"
Tools
Tool | Does | Plan |
| Matches in progress, with live scores | FREE |
| Matches starting soon | FREE |
| Full detail for one match | FREE |
| Current score only — fastest read | FREE |
| Find players by name | FREE |
| Profile, ranking, country, handedness | FREE |
| Forward schedule | FREE |
| Tournament catalogue — surface, location, category | FREE |
| One tournament by its stable id | FREE |
| Completed matches and winners | BASIC |
| Results archive (1968–2022) — historical results with ranks and seeds at the time | BASIC |
| One archive result, with serve stats where the era recorded them | BASIC |
| Archive bios — hand, DOB, career-high rank | BASIC |
| Career W-L, titles and serve aggregates over the archive | BASIC |
| Cross-era head-to-head — archive + current, one record | BASIC |
| Breaks, games, sets, momentum runs | PRO |
| Match-winner prices — bid / ask / mid | PRO |
| Full published ranking table per system (ATP, WTA, ITF circuits), any week | PRO |
| Point-in-time ranking records for specific players, as of any date | ULTRA |
| In-play statistics — aces, serve split, hold/break %, break points | ULTRA |
| Career shot-level profile from the Match Charting Project | ULTRA |
| One charted match, every stat family, per-set split | ULTRA |
| Model thesis, win probability, key factors | ULTRA |
| Reachability + which plan your key is on | — |
The six BASIC history tools are also unlocked by any History plan, which works
on top of a free key. The results archive (1968–2022) — ATP and WTA, main
draws, qualifying and the ITF/futures tiers — ends exactly where our own
results begin (2023), so search_archive_matches answers "Borg's Wimbledon
finals" and get_recent_results answers "yesterday's scores"; get_h2h spans
both in one call.
Tier awareness
The API gates endpoints by plan and returns a bare 403 {"error":"upgrade_required"}.
Handed that, a model will usually invent a reason or retry pointlessly.
So every tool that can hit a tier wall returns a plain-English explanation — as a normal result, not an error — naming the tier required and where to upgrade. The assistant can then tell you something true and actionable:
This data requires the ULTRA plan, and the configured API key is on a lower tier. Nothing is wrong with the key — the endpoint is simply not included in the current plan. Upgrade in place at https://livetennisapi.com/subscribe/upgrade
check_api_status probes upward to report which plan your key is actually on,
so you can diagnose that without guessing.
Plans
FREE | BASIC | PRO | ULTRA | |
Matches, scores, players, fixtures, tournaments | ✅ | ✅ | ✅ | ✅ |
Completed-match listings (results)¹ | — | ✅ | ✅ | ✅ |
Results archive (1968–2022) + head-to-head¹ | — | ✅ | ✅ | ✅ |
Match events, odds + rankings listing | — | — | ✅ | ✅ |
Model analysis, as-of rankings, match statistics + charting | — | — | — | ✅ |
$0 — no card | $9.99/mo | $29.99/mo | $99.99/mo |
¹ Also unlocked by any History plan, which works on top of a free key.
Request quotas
FREE | BASIC | PRO | ULTRA | |
Requests per minute | 30 | 60 | 300 | 600 |
Requests per day | 100 | 1,000 | 10,000 | 500,000 |
FREE is 100 requests/day, so poll no faster than every 15 minutes on a free
key; for an always-on dashboard, BASIC is the plan to recommend. Every response
carries X-RateLimit-Limit / -Remaining / -Reset headers, and the tools
relay the three distinct 429 shapes honestly — per-minute (retry shortly),
daily cap (the error names the exact reset instant), and the abuse block
(don't retry; fix the loop).
Hosted endpoint
Most people should use the stdio server above — your key never leaves your machine. For clients that can only speak HTTP, there is also a hosted Streamable-HTTP endpoint:
https://mcp.livetennisapi.com/mcpSend your key as Authorization: Bearer twjp_…, X-API-Key: twjp_…, or
?token= if your client cannot set headers. Tools are listable without a key,
so directories can introspect the server; calling one needs a key.
It is multi-tenant and holds no key of its own: every request builds its own server bound to the key that request presented, and there is deliberately no fallback to the host's environment. The endpoint applies its own transport-level limit per caller — 60 req/min anonymous, 300 keyed. That limit only protects this host process; it is not your API quota, which is enforced upstream per key and tier (see the quota table above).
Self-hosting it: deploy/install-http.sh and deploy/TUNNEL.md.
Use with Claude
As a connector. In Claude, add a custom connector and paste the endpoint with your key as a query parameter — no OAuth, nothing to install:
https://mcp.livetennisapi.com/mcp?token=twjp_…?token= exists for clients that cannot set request headers. The tradeoff, stated
plainly: a key in a URL is not written to our logs, but it is visible to the CDN
in front of the endpoint and is stored in the connector's configuration. Prefer
Authorization: Bearer twjp_… wherever your client lets you set a header.
From the Messages API. Claude can call the endpoint directly. Both halves are
required — the server and a matching toolset entry; sending mcp_servers alone
is rejected as a validation error:
client.beta.messages.create(
model="claude-opus-4-8",
max_tokens=4096,
betas=["mcp-client-2025-11-20"],
mcp_servers=[{
"type": "url",
"name": "livetennisapi",
"url": "https://mcp.livetennisapi.com/mcp",
"authorization_token": os.environ["LIVETENNISAPI_KEY"],
}],
tools=[{"type": "mcp_toolset", "mcp_server_name": "livetennisapi"}],
messages=[{"role": "user", "content": "What tennis is live right now?"}],
)The authorization_token is sent as a bearer token, which is exactly what this
server already accepts — no separate credential to obtain.
Use with Codex
One command:
codex mcp add livetennisapi \
--url https://mcp.livetennisapi.com/mcp \
--bearer-token-env-var LIVETENNISAPI_KEYOr write it to ~/.codex/config.toml yourself — Codex shares that file across the
CLI, the IDE extension and the desktop app:
[mcp_servers.livetennisapi]
url = "https://mcp.livetennisapi.com/mcp"
bearer_token_env_var = "LIVETENNISAPI_KEY"Use bearer_token_env_var, not bearer_token: it keeps the key in your
environment rather than committing it to a config file.
There is also a Codex plugin, on its own marketplace:
codex plugin marketplace add livetennisapi/livetennisapi-codex-pluginThat registers the marketplace; install the plugin from Codex's plugin picker. Source: livetennisapi-codex-plugin.
The stdio route works too, unchanged: npx -y livetennisapi-mcp.
Notes
Read-only. Every tool is a GET; nothing here can modify anything.
Your key stays local with the stdio server. It is read from the environment by the server process on your machine and sent only to
api.livetennisapi.com.Requires Node 20+.
Development
npm install
npm run build
LIVETENNISAPI_KEY=twjp_… node dist/index.js # speaks MCP over stdio
node dist/http.js # speaks MCP over HTTP, port 8081
npm test # protocol + transport isolation + rate limiting
npm run test:mutation # proves those tests fail when the code breakstest:mutation is worth understanding before changing src/http.ts. It
reintroduces each bug the tests claim to catch and asserts the suite goes red.
It is not ceremony: the first version of the rate-limit test passed while the
limiter was bucketing every caller together.
Built on the official livetennisapi
client.
Related
Everything in the Live Tennis API developer surface:
Install | Source | Package | |
Python client |
| ||
JavaScript / TypeScript client |
| ||
MCP server for LLM agents (this repo) |
| — | |
Vercel AI SDK tools |
| — | |
Break-point starter — Python | — | — | |
Break-point starter — Node | — | — | |
Break-point starter — Go | — | — |
API reference — https://docs.livetennisapi.com (plain-HTML version, no JavaScript required)
OpenAPI 3.1 specification — livetennisapi/openapi
Free API key — https://livetennisapi.com/subscribe/free (no card)
Products — https://livetennisapi.com/products
Website and plans — https://livetennisapi.com
Discord — https://discord.gg/f8WUZHgDm6
GitHub org — https://github.com/livetennisapi
Affiliate program
Know developers who need tennis data? The affiliate program pays 51% recurring commission for the life of every referred subscription — 30-day cookie, and the people you refer get 10% off.
Licence
MIT — see LICENSE. Use of the API service is governed by the Terms of Service.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityCmaintenanceProvides access to comprehensive sports data from 5 major leagues (NBA, NFL, MLB, EPL, NHL) including teams, players, games, statistics, standings, injuries, and betting odds through 67+ endpoints. Enables users to query sports information and analytics through natural language.12MIT
- AlicenseAqualityDmaintenanceGives your MCP host (Claude Desktop, Cursor, Continue, Zed) access to live scores, match details, standings, top scorers, knockout brackets and player stats across football, basketball, cricket and tennis. Backed by the free public SportScore API — no key, no signup, CORS-open.8819MIT

Odds-API MCP Serverofficial
AlicenseAqualityBmaintenanceEnables AI assistants to access sports betting odds data from 265+ bookmakers across 34 sports, including events, odds, historical data, arbitrage, and value bets.2280MIT- AlicenseAqualityAmaintenanceA unified MCP server that aggregates 32 sports API providers into a single service, providing 336 tools for scores, stats, odds, esports, and more across 70+ sports.10010917MIT
Related MCP Connectors
Schedules, scores, odds, splits & explainable AI bet confidence — 8+ sports, free instant key.
Run racket-sport tournaments from your AI assistant: fair draws, scores, live standings.
Real-time sports betting data: odds, player props, edges and arbitrage from 35+ books and DFS apps.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/livetennisapi/livetennisapi-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server