About AcesAPI
AcesAPI is a tennis data service for analysts and developers working with ATP and WTA singles. Its MCP server provides match scores, draws, rankings, player records, surface-based ratings, and selected sportsbook moneylines dating back to 2007.
Key features
- 01Query match results and set scores
- 02Browse tournament draws and schedules
- 03Retrieve rankings and player histories
- 04Compare head-to-head and surface records
- 05Inspect overall and surface Elo ratings
- 06Retrieve selected Grand Slam and Masters odds
Use cases
- 01Compare two players' records by surface
- 02Review a tournament draw and match results
- 03Track weekly rankings and player history
- 04Check available sportsbook moneylines for major events
MCP support
The hosted Streamable HTTP MCP server exposes 13 tennis data tools, including player, tournament, match, ranking, rating, and odds queries. Tools require an API key.
Configuration
Remote servers need no local install. Pick your client, then copy the config or install in one click.
https://mcp.acesapi.com/mcpclaude mcp add --transport http noahowsh-acesapi https://mcp.acesapi.com/mcp{"mcpServers":{"noahowsh-acesapi":{"type":"http","url":"https://mcp.acesapi.com/mcp"}}}Open in Cursor{"servers":{"noahowsh-acesapi":{"type":"http","url":"https://mcp.acesapi.com/mcp"}}}Open in VS Code{"mcpServers":{"noahowsh-acesapi":{"type":"http","url":"https://mcp.acesapi.com/mcp"}}}{"mcpServers":{"noahowsh-acesapi":{"serverUrl":"https://mcp.acesapi.com/mcp"}}}Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.
https://mcp.acesapi.com/mcpAuth requiredTools
13| Parameter | Type | Required | Description |
|---|---|---|---|
| limit | integer | No | Max tournaments (default 100). |
| league | enum | No | League. Defaults to tennis. One of: tennis, wta.tennis | wta |
| offset | integer | No | Page offset; use next_offset. |
| season | string|number | No | Year, e.g. 2025 (default this year). |
| status | enum | No | Only upcoming, in-progress or completed tournaments.scheduled | live | final |
| surface | enum | No | Only tournaments on this surface.hard | clay | grass | carpet |
Details
From the project READMEAcesAPI MCP server
The tennis data API. ATP and WTA singles matches with every set and tiebreak score, tournament draws round by round, player profiles, weekly rankings, head to head, surface splits, our own Elo by surface, and sportsbook moneylines on Grand Slam and Masters / WTA 1000 matches. REST API and MCP server. 500 free credits every month, no card.
Website: https://acesapi.com · Docs: https://acesapi.com/docs · Get a key: https://acesapi.com/signup
You: "What is Carlos Alcaraz's record on clay against top-10 players?"
Claude: [calls get_surface_splits]
You: "Who leads the Sinner and Alcaraz head to head, and how many of their meetings were finals?"
Claude: [calls get_head_to_head]
You: "Which moneylines were posted for the 2025 US Open men's final?"
Claude: [calls get_matches, then get_match]
Run it locally (stdio)
Most clients connect to https://mcp.acesapi.com/mcp directly. For a client that launches a local process instead:
git clone https://github.com/noahowsh/acesapi-mcp.git && cd acesapi-mcp && npm install
ACESAPI_API_KEY=your_key node index.js
{ "mcpServers": { "acesapi": { "command": "node", "args": ["/path/to/acesapi-mcp/index.js"], "env": { "ACESAPI_API_KEY": "your_key" } } } }
It forwards to the hosted server with your key, so every tool and credit cost is the same.
Skills
This repo also ships 16 free Claude skills in skills/ that turn Claude into a tennis analyst on top of the tools below: match and player lookup, surface Elo, head to head, ranking history, set-score modeling, odds math, edge detection and backtesting. They call the AcesAPI tools and keep to what the data holds (no serve statistics, moneylines on Slams, Masters and WTA 1000 only).
git clone https://github.com/noahowsh/acesapi-mcp.git
Or install them as a Claude Code plugin:
/plugin marketplace add noahowsh/acesapi-mcp
/plugin install acesapi-skills@acesapi
Or with the skills CLI: npx skills add noahowsh/acesapi-mcp.
Point Claude at the skills/ folder, add the MCP server (see Quick start), and ask a question such as "who is favored in tomorrow's Shanghai match and why?". Full catalog: skills/README.md. The skills also work on your own CSV or JSON without a key.
Useful pages
- Docs: every endpoint with parameters and live examples
- Tennis odds: upcoming ATP and WTA matches with each sportsbook's moneyline
- Data atlas: what exists and where coverage is partial
- Guides: Python walkthroughs for surface Elo, head to head, rankings, set scores and surface splits
- Data: results, rankings history, odds history
- Pricing: credits per call, 500 free every month
- Surface Elo explained
- Compare: API Tennis, ESPN's tennis feed, Sportradar, SportsDataIO
Python
The official Python client is on PyPI: acesapi.
pip install acesapi
export ACESAPI_API_KEY=sk_live_...
from acesapi import Client
client = Client()
ranks = client.get_rankings(limit=5)
for row in ranks["rankings"]:
print(row["rank"], row["name"], row["points"])
Typed errors for a bad key, no credits left, not found and rate limits, automatic retries, and to_dataframe for pandas.
Quick start
This is a hosted (remote) MCP server over Streamable HTTP. There is nothing to install.
Claude Code
claude mcp add --transport http acesapi "https://mcp.acesapi.com/mcp?key=YOUR_API_KEY"
Claude Desktop, Cursor and other clients
{
"mcpServers": {
"acesapi": {
"url": "https://mcp.acesapi.com/mcp?key=YOUR_API_KEY"
}
}
}
The key can also be sent as an x-api-key header or Authorization: Bearer. Connecting and listing tools works without a key; calling a tool needs one.
REST
curl -X POST https://mcp.acesapi.com/v1/list_tournaments -H "x-api-key: YOUR_API_KEY"
Every tool is POST /v1/{tool} with a JSON body.
Examples
Runnable Python (standard library only) and Node 18+ (no dependencies) examples live in examples/:
examples/python/quickstart.pyandexamples/node/quickstart.mjs: schedule plus a headline call.examples/python/tennis_head_to_head_surface_elo.py: Two players side by side.
export ACESAPI_API_KEY=your_key
python3 examples/python/quickstart.py
node examples/node/quickstart.mjs
See examples/README.md for details. Get a free key (500 credits a month, no card) at https://acesapi.com/signup.
Tools (13)
| Tool | What it returns |
|---|---|
list_tournaments | A season's tournaments with dates, surface, status and champion |
search_players | Find players by name or country |
get_tournament | A tournament's draw and results, round by round, with every set |
get_matches | Match results by day, tournament or season, with set and tiebreak scores |
get_schedule | Upcoming and in-progress matches for the next days |
get_match | One match: sets, tiebreak points, seeds, ratings and what the score says |
get_rankings | Weekly ranking lists since 2007, or one player's ranking history |
get_ratings | Our Elo ratings, overall or by surface |
get_head_to_head | Two players' meetings, wins by surface and in finals |
get_surface_splits | A player's record by surface: sets, games, tiebreaks, deciding sets |
get_player_stats | A player's season statistics from scores, by round and opponent rank |
get_player | Profile, ranking, ratings, career record, titles and recent matches |
get_player_matches | A player's matches with scores and ratings, filtered by season, surface or opponent |
Leagues: tennis (default, ATP), wta (pass league: "wta" to any tool).
Data
- ATP and WTA singles since 2007 (qualifying from 2022) with set and tiebreak scores
- Tournament draws and results round by round; weekly rankings since 2007
- Head to head, surface splits, player season statistics derived from scores, our Elo overall and by surface
- Sportsbook moneylines, returned in the
oddsarray ofget_match(there is no separate odds tool): Grand Slam matches from mid-2020 and ATP Masters and WTA 1000 matches from August 2024, pre-match, refreshed hourly; the array is empty for other tournaments - No serve statistics (aces, double faults, break points)
Coverage by season, read live from the database: https://acesapi.com/docs
Pricing
500 free credits every month, no card. Plans: Starter $19/mo (10,000 credits), Pro $49/mo (30,000), Scale $149/mo (125,000). Wallet top-ups from $5, never expire. https://acesapi.com/pricing
Attribution
Surfaces and ratings are ours. Not affiliated with the ATP, WTA, ITF or any tournament.
License
MIT for the contents of this repository. Data terms as above.
Use with Codex
Add this repo as a Codex plugin marketplace, then install the plugin:
codex plugin marketplace add noahowsh/acesapi-mcp
Then open the plugin directory in Codex and install acesapi-skills from the acesapi marketplace. The plugin bundles the skills in skills/ and the AcesAPI MCP server (https://mcp.acesapi.com/mcp). Set your key first (free at https://acesapi.com/signup):
export ACESAPI_API_KEY=your_key
Codex sends it as a bearer token.
Use with Gemini CLI
export ACESAPI_API_KEY=your_key
gemini extensions install https://github.com/noahowsh/acesapi-mcp
The extension adds the AcesAPI MCP server (https://mcp.acesapi.com/mcp) and sends the key in the x-api-key header. Get a free key (500 credits a month) at https://acesapi.com/signup.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.