game
Pack: balldontlie · Endpoint: https://gateway.pipeworx.io/balldontlie/mcp
Single NBA game by ID: matchup, scores, date, period, time, venue, season, postseason flag. Use after games() to fetch detail.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | number | yes |
Example call
Arguments
{
"id": 512221
}
curl
curl -X POST https://gateway.pipeworx.io/balldontlie/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"game","arguments":{"id":512221}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('game', {
"id": 512221
});
Response shape
Full JSON Schema
{
"type": "object",
"description": "Response from balldontlie API /games/{id} endpoint"
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"balldontlie": {
"url": "https://gateway.pipeworx.io/balldontlie/mcp"
}
}
}
See Getting Started for client-specific install steps.