stats

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

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.

Parameters

NameTypeRequiredDescription
seasonsarrayno
itemsnumberno
player_idsarrayno
itemsnumberno
game_idsarrayno
itemsnumberno
postseasonbooleanno
cursornumberno
per_pagenumberno

Example call

Arguments

{
  "seasons": [
    2023
  ],
  "player_ids": [
    237
  ]
}

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

TypeScript (@pipeworx/sdk)

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

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

More examples

{
  "game_ids": [
    512221
  ],
  "postseason": false,
  "per_page": 50
}

Response shape

Full JSON Schema
{
  "type": "object",
  "description": "Response from balldontlie API /stats 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 June 12, 2026