baseball_game_log
Pack: historical-baseball · 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/baseball_game_log for the schema, then POST the same URL with its arguments for the data.
Per-game box-score summary for one team on one date (handles doubleheaders).
Tool description as the model sees it
Box-score-level summary of MLB game(s) played by one team on one date, from Retrosheet game logs (1871-2025): final score, game length, day/night, park, attendance, winning/losing/saving pitcher, managers, and each side’s at-bats/hits/doubles/triples/homers/RBI/walks/strikeouts/errors. Covers regular season plus All-Star, Division Series, League Championship Series, Wild Card and World Series games (see game_type in the response: R/A/D/L/C/W). Pass date as “YYYY-MM-DD” or “YYYYMMDD” and team as a code (“NYA”) or common name (“Yankees”). Returns an array because doubleheaders are two games on one date. This is a per-game SUMMARY, not a play-by-play log — no pitch or at-bat level detail is stored. No games found for a valid date/team combination is reported as found:false with the reason, never an empty array treated as success.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
date | string | yes | Game date, “YYYY-MM-DD” or “YYYYMMDD”. |
team | string | yes | Team code (“BOS”) or common name (“Red Sox”). |
Example call
Arguments
{
"date": "1927-09-30",
"team": "NYA"
}
curl
curl -X POST https://gateway.pipeworx.io/historical-baseball/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"baseball_game_log","arguments":{"date":"1927-09-30","team":"NYA"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('baseball_game_log', {
"date": "1927-09-30",
"team": "NYA"
});
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 historical-baseball pack
{
"mcpServers": {
"historical-baseball": {
"url": "https://gateway.pipeworx.io/historical-baseball/mcp"
}
}
}
See Getting Started for client-specific install steps.