Nba

v0.2.1
io.github.pipeworx-io/nba Checked 3 days ago Published 1 month ago

NBA MCP — player, team, and game data via the BallDontLie API

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

search_players

"Find NBA player [name]" / "search NBA roster for [X]" / "is [player] in the NBA" — search NBA players by name on BallDontLie. Returns position, height, weight, college, country, draft info, and current team. NOTE: per-season averages (PPG/RPG/APG) and career stats are NOT in this response — those require BallDontLie's ALL-STAR tier ($9.99/mo at https://www.balldontlie.io/) via the /season_averages endpoint, which is not currently exposed by Pipeworx. Free-tier _apiKey works for this tool.

ParameterTypeDescription
_apiKey *stringBallDontLie API key
query *stringPlayer name or partial name to search for
limitnumberNumber of results to return (default: 10, max: 100)

get_player

Direct lookup of a single NBA player by BallDontLie ID. ⚠️ TIER-GATED: the /players/{id} endpoint requires the ALL-STAR tier ($9.99/mo) or higher; free-tier _apiKey gets a 403 with "No approval received". search_players covers the same player metadata (name/position/height/weight/team) on the free tier, so prefer that unless you already have a paid BallDontLie key.

ParameterTypeDescription
_apiKey *stringBallDontLie API key
id *numberBallDontLie player ID

get_teams

Get all 30 NBA teams with full names, abbreviations, conference, and division. Use to find team info or prepare for get_games queries. Requires a free BallDontLie API key.

ParameterTypeDescription
_apiKey *stringBallDontLie API key (free tier: https://www.balldontlie.io/)

get_games

Get NBA games for a season (e.g., 2023, 2024). Returns game date, status, matchup teams, and final or live scores. Requires a free BallDontLie API key.

ParameterTypeDescription
_apiKey *stringBallDontLie API key (free tier: https://www.balldontlie.io/)
season *numberSeason start year (e.g., 2024 for the 2024-25 season)
limitnumberNumber of results to return (default: 25, max: 100)