gameId
(number): The id of the game from the getgames tool
How to use it
gameId is exposed by the Balldontlie MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the gameId tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Balldontlie MCP
$
npx -y @smithery/cli install @mikechao/balldontlie-mcp --client claudeOther tools in Balldontlie MCP (10)
cursor
(number, optional): Cursor for pagination
dates
(string[], optional): Get games for specific dates, format: YYYY-MM-DD
firstName
(string, optional): The first name of the player to search for
get_game
get_games
get_players
get_teams
lastName
(string, optional): The last name of the player to search for
league
(enum ['NBA', 'NFL', 'MLB']): The sports league to get teams for
teamIds
(string[], optional): Get games for specific games