Balldontlie

v0.2.1
io.github.pipeworx-io/balldontlie Checked 1 day ago Published 1 month ago

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

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

ParameterTypeDescription
cursornumber
per_pagenumber
querystringName substring.
team_idsarray

player

Single NBA player by ID: name, position, height, weight, jersey, team. Use after players() to confirm.

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

ParameterTypeDescription
cursornumber
datesarrayYYYY-MM-DD
per_pagenumber
postseasonboolean
seasonsarray
team_idsarray

game

Single NBA game by ID: matchup, scores, date, period, time, venue, season, postseason flag. Use after games() to fetch detail.

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

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

ParameterTypeDescription
cursornumber
game_idsarray
per_pagenumber
player_idsarray
postseasonboolean
seasonsarray