Historical Baseball
liveSportsGameshistorical-baseball -- MLB history from Retrosheet game logs and the SABR Lahman Baseball Database (fleet #2976).
Tools
baseball_player_historyCareer year-by-year batting/pitching lines for one MLB player.
No parameters required.
Try it
baseball_team_seasonOne team's season record, standings result and team stats for one year.
No parameters required.
Try it
baseball_game_logPer-game box-score summary for one team on one date (handles doubleheaders).
No parameters required.
Try it
baseball_season_leadersTop-N leaderboard for one batting or pitching stat in one MLB season.
No parameters required.
Try it
baseball_coverageLoaded date/year ranges and when they were last refreshed.
No parameters required.
Try it
Test with curl
The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.
curl -X POST https://gateway.pipeworx.io/historical-baseball/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'curl -X POST https://gateway.pipeworx.io/historical-baseball/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"baseball_player_history","arguments":{}}}'Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("baseball_player_history", {});// Or ask in plain English:
const answer = await px.ask("historical-baseball -- mlb history from retrosheet game logs and the sabr lahman baseball database (fleet #2976)");