mlb_boxscore
Pack: mlb-stats · Endpoint: https://gateway.pipeworx.io/mlb-stats/mcp
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
| Name | Type | Required | Description |
|---|---|---|---|
game_pk | number,string | yes | MLB 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, or use one-click install buttons:
{
"mcpServers": {
"mlb-stats": {
"url": "https://gateway.pipeworx.io/mlb-stats/mcp"
}
}
}
See Getting Started for client-specific install steps.