Balldontlie
v0.2.1balldontlie.io MCP.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
teams
All 30 NBA teams: ID, name, city, abbreviation, conference, division. Use as a directory to resolve a team name into the numeric team_id required by other balldontlie tools.
team
Single NBA team by ID: name, abbreviation, city, conference, division. Use after teams() to confirm details.
| Parameter | Type | Description |
|---|---|---|
id * | number |
players
NBA player roster — search by name substring or filter by team. Returns ID, first/last name, position, height, weight, jersey number, and team. Use to resolve a player name to a numeric player_id required by stats/season_averages.
| Parameter | Type | Description |
|---|---|---|
cursor | number | |
per_page | number | |
query | string | Name substring. |
team_ids | array |
player
Single NBA player by ID: name, position, height, weight, jersey, team. Use after players() to confirm.
| Parameter | Type | Description |
|---|---|---|
id * | number |
games
NBA games filtered by season, team, or date range. Returns matchup, scores, date, season, postseason flag, status. Use for "did the Lakers win last night", schedule lookup, historical game search.
| Parameter | Type | Description |
|---|---|---|
cursor | number | |
dates | array | YYYY-MM-DD |
per_page | number | |
postseason | boolean | |
seasons | array | |
team_ids | array |
game
Single NBA game by ID: matchup, scores, date, period, time, venue, season, postseason flag. Use after games() to fetch detail.
| Parameter | Type | Description |
|---|---|---|
id * | number |
season_averages
Fetch per-season NBA stat averages for one or more player_ids in a given season year; returns PTS, REB, AST, FG%, and other averages per player.
| Parameter | Type | Description |
|---|---|---|
player_ids * | array | |
season * | number |
stats
Per-game NBA player box-score stats filtered by player, team, game, or season. Returns PTS, REB, AST, STL, BLK, TO, FG%, FT%, 3P%, minutes, +/-. Use for individual game performance lookup, box-score analysis, fantasy stats.
| Parameter | Type | Description |
|---|---|---|
cursor | number | |
game_ids | array | |
per_page | number | |
player_ids | array | |
postseason | boolean | |
seasons | array |