Historical Baseball

liveSportsGames

historical-baseball -- MLB history from Retrosheet game logs and the SABR Lahman Baseball Database (fleet #2976).

5tools
0msauth
free tier50 calls/day

Tools

baseball_player_history

Career year-by-year batting/pitching lines for one MLB player.

No parameters required.

▶Try it
baseball_team_season

One team's season record, standings result and team stats for one year.

No parameters required.

▶Try it
baseball_game_log

Per-game box-score summary for one team on one date (handles doubleheaders).

No parameters required.

▶Try it
baseball_season_leaders

Top-N leaderboard for one batting or pitching stat in one MLB season.

No parameters required.

▶Try it
baseball_coverage

Loaded 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.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/historical-baseball/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
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.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("baseball_player_history", {});
ask_pipeworx
// 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)");