AI assistants (MCP)
View as MarkdownThe SportsAPI MCP server gives AI assistants the API as tools: an assistant can look up live scores, fixtures, standings, teams, players and statistics for every sport, with SportsAPI ids, on its own. It is a remote server (Streamable HTTP) at https://mcp.sportsapi.app, on every plan, Free included.
Authentication: clients that take a header (Claude Code, Cursor, VS Code) send your MCP key (mk_live_…, made on the dashboard; it works only on the MCP server) or your API key as Authorization: Bearer. Claude (web and desktop), ChatGPT and other connectors sign in instead (OAuth): you sign in on sportsapi.app and press Allow, and the connection gets its own MCP key, listed under Connections on the dashboard, where you can revoke it. Widget (publishable) keys are refused, and an MCP key on REST or WebSocket gets 403 mcp_key.
$ claude mcp add --transport http sportsapi https://mcp.sportsapi.app \ --header "Authorization: Bearer mk_live_…" # Or without a key: add it without --header, then run /mcp # in Claude Code and sign in with your SportsAPI account.
Tools
Shortcuts cover the common asks. For everything else the assistant discovers the API layer by layer: list_sports → list_endpoints for a sport → call_endpoint.
| Tool | What it does | Cost |
|---|---|---|
| list_sports | Every sport with its kind, live count and the endpoint groups you can use for it. | Free |
| list_endpoints | A sport’s endpoints your plan includes, by group, with parameter signatures; one group for full parameter detail. | Free |
| call_endpoint | Call any listed endpoint by its op (e.g. leagues.standings) with its parameters. | 1 request |
| search | Find teams, players, leagues, managers, referees, races, fixtures or venues by name → SportsAPI ids. | 1 request |
| live_fixtures | Fixtures in play now: every sport, one sport or one league. | 1 request |
| fixtures_by_date | Fixtures on a UTC day: one league, one sport (paged) or one country of a sport. | 1 request |
| fixture | One fixture, optionally with lineups, statistics, events, h2h, form, best players, streaks or odds (one request per part). | 1 request |
| standings | A league’s table, the newest season unless one is given; total, home or away. | 1 request |
| team | A team’s profile, optionally with its squad and recent or upcoming fixtures (one request per part). | 1 request |
| player | A player’s profile and season statistics, his newest league season unless one is given. | 1 request |
| leaders | A league season’s player leaderboards (goals, assists, rating, …), the newest season by default. | 1 request |
| race_results | Motorsport and cycling: a race’s classification, or a series’ latest finished race. | 1 request |
Limits: each data call counts as one API request against your plan’s quota and per-minute rate, exactly like REST, and the plan’s endpoints apply (odds and the premium analytics only on plans that include them; the rest are not even listed). The discovery tools cost no quota, up to 120 calls a minute. Answers are compacted for model context: no nulls, no image URLs, long lists cut with a note saying how to page.