games

Pack: balldontlie · Endpoint: https://gateway.pipeworx.io/balldontlie/mcp

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.

Parameters

NameTypeRequiredDescription
seasonsarrayno
itemsnumberno
team_idsarrayno
itemsnumberno
datesarraynoYYYY-MM-DD
itemsstringno
postseasonbooleanno
cursornumberno
per_pagenumberno

Example call

Arguments

{
  "seasons": [
    2023
  ]
}

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":"games","arguments":{"seasons":[2023]}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('games', {
  "seasons": [
    2023
  ]
});

More examples

{
  "team_ids": [
    1
  ],
  "dates": [
    "2023-10-24"
  ],
  "postseason": false
}

Response shape

Full JSON Schema
{
  "type": "object",
  "description": "Response from balldontlie API /games endpoint with pagination"
}

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.

Regenerated from source · build July 6, 2026