PluginBench
MCP Server
Active
MIT

io.github.livetennisapi/livetennisapi-mcp MCP Server

io.github.livetennisapi/livetennisapi-mcp

Live tennis scores, players, rankings, odds and win-probability for ATP, WTA, Challenger, ITF and juniors.

What is the io.github.livetennisapi/livetennisapi-mcp MCP server?

The livetennisapi-mcp MCP server provides Claude, Cursor, Zed and other MCP clients with access to live tennis scores, player profiles, fixtures, tournaments, and historical match data across all professional and junior circuits. It includes odds, rankings, match statistics, charting and model win-probability tools, with tiered access from free to ULTRA plans.

Access real-time and historical tennis data including live match scores, player rankings, upcoming fixtures, match odds, and detailed statistics. The server supports ATP, WTA, Challenger, ITF and junior circuits with data spanning from 1968 to present. Free tier covers live scores and player lookups; paid tiers unlock historical results, odds, rankings tables, and advanced analytics like match charting and win-probability models.

How to install io.github.livetennisapi/livetennisapi-mcp

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
Environment / auth
  • LIVETENNISAPI_KEY
    secret

    Your Live Tennis API key (twjp_...). Get one free, no card, at https://livetennisapi.com/subscribe/free — the server runs without it but only the status check will work.

  • Authorization
    secret

    Bearer twjp_… — your Live Tennis API key. Tools are listable without it; calling one needs it. Free key, no card: https://livetennisapi.com/subscribe/free

Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "livetennisapi-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "livetennisapi-mcp"
      ],
      "env": {
        "LIVETENNISAPI_KEY": "<YOUR_LIVETENNISAPI_KEY>",
        "Authorization": "<YOUR_AUTHORIZATION>"
      }
    }
  }
}
Cursor
~/.cursor/mcp.json
{
  "mcpServers": {
    "livetennisapi-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "livetennisapi-mcp"
      ],
      "env": {
        "LIVETENNISAPI_KEY": "<YOUR_LIVETENNISAPI_KEY>",
        "Authorization": "<YOUR_AUTHORIZATION>"
      }
    }
  }
}
Windsurf
~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "livetennisapi-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "livetennisapi-mcp"
      ],
      "env": {
        "LIVETENNISAPI_KEY": "<YOUR_LIVETENNISAPI_KEY>",
        "Authorization": "<YOUR_AUTHORIZATION>"
      }
    }
  }
}
VS Code
.vscode/mcp.json
{
  "servers": {
    "livetennisapi-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "livetennisapi-mcp"
      ],
      "env": {
        "LIVETENNISAPI_KEY": "<YOUR_LIVETENNISAPI_KEY>",
        "Authorization": "<YOUR_AUTHORIZATION>"
      }
    }
  }
}
Claude Code
claude mcp add livetennisapi-mcp --env LIVETENNISAPI_KEY=<YOUR_LIVETENNISAPI_KEY> --env Authorization=<YOUR_AUTHORIZATION> -- npx -y livetennisapi-mcp

Tools & capabilities

Tools this server exposes to the agent.

  • get_live_matchesMatches in progress with live scores
  • get_upcoming_matchesMatches starting soon
  • get_matchFull detail for one match
  • get_match_scoreCurrent score only — fastest read
  • search_playersFind players by name
  • get_playerProfile, ranking, country, handedness
  • get_fixturesForward schedule
  • search_tournamentsTournament catalogue — surface, location, category
  • get_tournamentOne tournament by its stable id
  • get_recent_resultsCompleted matches and winners
  • search_archive_matchesResults archive (1968–2022) — historical results with ranks and seeds at the time
  • get_archive_matchOne archive result with serve stats where available
  • search_archive_playersArchive bios — hand, DOB, career-high rank
  • get_archive_careerCareer W-L, titles and serve aggregates over the archive
  • get_h2hCross-era head-to-head — archive + current, one record
  • get_match_eventsBreaks, games, sets, momentum runs
  • get_match_oddsMatch-winner prices — bid / ask / mid
  • get_rankingsFull published ranking table per system (ATP, WTA, ITF circuits), any week
  • get_player_rankingsPoint-in-time ranking records for specific players, as of any date
  • get_match_statisticsIn-play statistics — aces, serve split, hold/break %, break points

Use cases

  • Track live tennis matches in progress and get real-time scores across all major circuits
  • Look up player profiles, rankings, career records and head-to-head matchups spanning decades
  • Search historical match results from 1968–2022 and analyze career statistics
  • Get current betting odds and model-generated win-probability predictions for upcoming matches
  • Analyze detailed match statistics including serve performance, break points and momentum shifts

io.github.livetennisapi/livetennisapi-mcp MCP server FAQ

What is the livetennisapi-mcp server?

It's an MCP server that gives Claude, Cursor, Zed and other MCP clients access to live tennis scores, player data, fixtures, historical results (1968–2022), odds, rankings and advanced analytics across ATP, WTA, Challenger, ITF and junior circuits.

Is it free?

Yes. The FREE tier includes live scores, player lookups, fixtures and tournaments. Paid tiers (BASIC $9.99/mo, PRO $29.99/mo, ULTRA $99.99/mo) unlock historical results, odds, rankings tables, match statistics and charting. Get a free key at livetennisapi.com/subscribe/free with no card required.

How do I install it in Claude or Cursor?

Use `npx -y livetennisapi-mcp` with the environment variable `LIVETENNISAPI_KEY=your_key`. In Claude Desktop, add it to `claude_desktop_config.json`; in Cursor/Zed, use the same command. Alternatively, use the hosted HTTP endpoint at https://mcp.livetennisapi.com/mcp with your key as a bearer token.

What authentication is required?

You need a free API key from livetennisapi.com (no card required). Pass it via the `LIVETENNISAPI_KEY` environment variable for the stdio server, or as an `Authorization: Bearer` header (or `?token=` query param) for the hosted HTTP endpoint.

What data does it cover?

Live and upcoming matches with scores, player profiles and rankings, tournament schedules, completed match results, historical match data from 1968–2022, betting odds, match statistics (aces, serve %, break points), shot-level charting from the Match Charting Project, and AI-generated win-probability models.

What are the rate limits?

FREE tier: 30 req/min, 100 req/day. BASIC: 60 req/min, 1,000 req/day. PRO: 300 req/min, 10,000 req/day. ULTRA: 600 req/min, 500,000 req/day. The hosted HTTP endpoint applies a separate 60 req/min (anonymous) or 300 req/min (keyed) transport limit.

README (reference)

Source of truth, from the repository.

<div align="center"> <img src="https://raw.githubusercontent.com/livetennisapi/.github/main/profile/banner.jpg" alt="Live Tennis API" width="640">

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.

CI npm license

Documentation · Get a free API key

</div>

Setup

Claude Code

claude mcp add livetennis -e LIVETENNISAPI_KEY=twjp_… -- npx -y livetennisapi-mcp

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

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

ToolDoesPlan
get_live_matchesMatches in progress, with live scoresFREE
get_upcoming_matchesMatches starting soonFREE
get_matchFull detail for one matchFREE
get_match_scoreCurrent score only — fastest readFREE
search_playersFind players by nameFREE
get_playerProfile, ranking, country, handednessFREE
get_fixturesForward scheduleFREE
search_tournamentsTournament catalogue — surface, location, categoryFREE
get_tournamentOne tournament by its stable idFREE
get_recent_resultsCompleted matches and winnersBASIC
search_archive_matchesResults archive (1968–2022) — historical results with ranks and seeds at the timeBASIC
get_archive_matchOne archive result, with serve stats where the era recorded themBASIC
search_archive_playersArchive bios — hand, DOB, career-high rankBASIC
get_archive_careerCareer W-L, titles and serve aggregates over the archiveBASIC
get_h2hCross-era head-to-head — archive + current, one recordBASIC
get_match_eventsBreaks, games, sets, momentum runsPRO
get_match_oddsMatch-winner prices — bid / ask / midPRO
get_rankingsFull published ranking table per system (ATP, WTA, ITF circuits), any weekPRO
get_player_rankingsPoint-in-time ranking records for specific players, as of any dateULTRA
get_match_statisticsIn-play statistics — aces, serve split, hold/break %, break pointsULTRA
get_charting_playerCareer shot-level profile from the Match Charting ProjectULTRA
get_charting_matchOne charted match, every stat family, per-set splitULTRA
get_match_analysisModel thesis, win probability, key factorsULTRA
check_api_statusReachability + 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

FREEBASICPROULTRA
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

FREEBASICPROULTRA
Requests per minute3060300600
Requests per day1001,00010,000500,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/mcp

Send 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_KEY

Or 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-plugin

That 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 breaks

test: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:

InstallSourcePackage
Python clientpip install livetennisapirepopackage
JavaScript / TypeScript clientnpm install livetennisapirepopackage
MCP server for LLM agents (this repo)npx livetennisapi-mcppackage
Vercel AI SDK toolsnpm install livetennisapi-airepo
Break-point starter — Pythonrepo
Break-point starter — Noderepo
Break-point starter — Gorepo

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.

Related MCP servers

Control a real Chrome browser to complete any task: fill forms, extract data, book flights.

110k
Python
MIT
View repository →

Real-time global intelligence: markets, conflicts, country risk, energy, and infrastructure monitoring via 39 MCP tools.

83k
TypeScript
AGPL-3.0
View repository →

Netdata

Active

Real-time infrastructure monitoring with per-second metrics, ML-powered anomaly detection, and zero-configuration setup.

80k
Go
GPL-3.0
View repository →

Trending hip-hop artist momentum scores across four cultural dimensions.

79k
TypeScript
MIT
View repository →

AI orchestration platform with 100+ agents, swarm coordination, and self-learning memory for enterprise development.

68k
TypeScript
MIT
View repository →

Web scraping with stealth HTTP, real browsers, and Cloudflare bypass capabilities.

67k
Python
BSD-3-Clause
View repository →