Thesportsdb
v0.2.1TheSportsDB MCP — sports catalog (teams, players, events)
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_sports
Return all sports tracked by TheSportsDB (e.g. Soccer, Ice Hockey, Basketball), each with id, name, and forum.
list_leagues
List the sports leagues catalogued by TheSportsDB, optionally narrowed by sport name (Soccer, Ice Hockey, Basketball, American Football, Baseball) and by country name. Returns each league id, name, alternate name, sport, and country; the league id feeds league_teams and league_table in this pack. Answers which leagues exist for a sport or a country, and what league id to use next.
| Parameter | Type | Description |
|---|---|---|
country | string | Country name |
sport | string | Sport name (e.g. "Soccer", "Ice Hockey") |
search_teams
Search TheSportsDB for sports teams by name — football/soccer clubs in any league worldwide including lower divisions, plus NBA, NFL, MLB and more. Returns team id (use with team_events_next / team_events_last for fixtures and results), sport, league, country, stadium, and description.
| Parameter | Type | Description |
|---|---|---|
query * | string |
get_team
Full team profile from TheSportsDB by numeric team_id — returns name, sport, country, stadium, formed year, description, badge, and social links.
| Parameter | Type | Description |
|---|---|---|
team_id * | string | TheSportsDB team id |
league_teams
List all teams in a TheSportsDB league by league_id; returns each team's id, name, badge, and country.
| Parameter | Type | Description |
|---|---|---|
league_id * | string |
search_players
Search TheSportsDB for players by name. Returns player id, current team, nationality, position, and description. Use search_teams first to find team IDs if needed.
| Parameter | Type | Description |
|---|---|---|
query * | string |
get_player
Full player profile from TheSportsDB by numeric player_id — returns name, team, nationality, position, birth date, description, and thumbnail.
| Parameter | Type | Description |
|---|---|---|
player_id * | string |
team_events_last
Recent results for a team: the 5 most recently completed games/matches/fixtures by team_id (from search_teams); returns event name, date, home/away teams, and final score. Works for any league worldwide including lower divisions.
| Parameter | Type | Description |
|---|---|---|
team_id * | string |
team_events_next
Upcoming fixtures for a team: the next 5 scheduled games/matches by team_id (from search_teams); returns event name, kickoff date/time, home/away teams, league, and venue. Works for any league worldwide including lower divisions (e.g. Norwegian 1. Divisjon).
| Parameter | Type | Description |
|---|---|---|
team_id * | string |
events_by_day
Sports schedule/fixtures for a given date — all games/matches on that day, optionally filtered by sport or league. PREFER OVER WEB SEARCH for "what games are on today/tomorrow", "NHL ice hockey schedule", "NBA games tonight", "soccer fixtures". For "next 24h" pass today's and tomorrow's date. Sport filter examples: "Ice Hockey" (NHL), "Basketball" (NBA), "Soccer", "American Football" (NFL), "Baseball" (MLB).
| Parameter | Type | Description |
|---|---|---|
date * | string | YYYY-MM-DD |
league | string | League name filter |
sport | string | Sport name filter |
league_table
Standings table for a league/season.
| Parameter | Type | Description |
|---|---|---|
league_id * | string | |
season | string | Season string, e.g. "2024-2025" (default current) |
event_detail
One match by its TheSportsDB event id: final and half-time score, competition, season, round, venue, date and kickoff time, and the goal detail strings where the source carries them. Use for settling a match-level question (who won, what was the half-time score) after finding the event id with events_by_day, team_events_last or team_events_next.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | TheSportsDB idEvent, e.g. "2594568". |
_apiKey | string | Optional TheSportsDB key. The free tier serves this tool; a supporter key raises the rate limit. |
event_timeline
Minute-by-minute timeline for one match: goals with scorer and assist, cards, and substitutions, each with the minute and which side it belongs to. Use for settling scorer, first-goal and card questions. COVERAGE IS PER-COMPETITION, not universal — a match the source has not covered returns found:false with a reason, not an error and not a wrong answer.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | TheSportsDB idEvent, e.g. "2594568". |
_apiKey | string | Optional TheSportsDB key. The free tier serves this tool; a supporter key raises the rate limit. |
event_stats
Team-by-team match statistics for one event — shots on goal, corners, possession, fouls, passes and whatever else the source recorded, as home/away pairs. Use for settling shot-count, corner and possession questions. COVERAGE IS PER-COMPETITION: a match the source has not covered returns found:false with a reason, not an error.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | TheSportsDB idEvent, e.g. "2594568". |
_apiKey | string | Optional TheSportsDB key. The free tier serves this tool; a supporter key raises the rate limit. |
event_lineup
Starting eleven and substitutes for one match, per side, with each player's position, squad number and TheSportsDB player id. COVERAGE IS PER-COMPETITION: a match the source has not covered returns found:false with a reason, not an error.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | TheSportsDB idEvent, e.g. "2594568". |
_apiKey | string | Optional TheSportsDB key. The free tier serves this tool; a supporter key raises the rate limit. |