mlb_boxscore

Pack: mlb-stats · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/mlb_boxscore for the schema, then POST the same URL with its arguments for the data.

MLB BOX SCORE for one game by gamePk, from the official MLB Stats API — every batter’s line (AB, R, H, HR, RBI, BB, K) in batting-order, every pitcher’s line (IP, H, R, ER, BB, K, pitches, decision), and team batting/pitching totals for both clubs. Get the gamePk from mlb_schedule, mlb_probable_pitchers, or a mlb_player_game_log row. Works for in-progress and completed games.

Parameters

NameTypeRequiredDescription
game_pknumber,stringyesMLB gamePk (e.g. 824147) — from mlb_schedule / mlb_probable_pitchers / mlb_player_game_log.

Example call

Arguments

{
  "game_pk": 824147
}

curl

curl -X POST https://gateway.pipeworx.io/mlb-stats/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"mlb_boxscore","arguments":{"game_pk":824147}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('mlb_boxscore', {
  "game_pk": 824147
});

More examples

{
  "game_pk": "823984"
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the mlb-stats pack
{
  "mcpServers": {
    "mlb-stats": {
      "url": "https://gateway.pipeworx.io/mlb-stats/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 18, 2026