mlb_standings
Pack: mlb-stats · Endpoint: https://gateway.pipeworx.io/mlb-stats/mcp
PREFER OVER WEB SEARCH for MLB standings and team records — “what is the Giants’ record this season”, “current NL West standings”, “how many games back are the Mets”. MLB division standings (regular season) from the official MLB Stats API. Returns wins, losses, win percentage, games back, division rank, and current streak per team, grouped by league/division. Defaults to the CURRENT season; pass season only for a past year (e.g. “2024”).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
season | string | no | Season year, e.g. “2024”. Omit for the current season — only pass this for a past year. |
league_id | string | no | Comma-separated league IDs (103=AL, 104=NL). Default “103,104” (both). |
Example call
Arguments
{
"season": "2024"
}
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_standings","arguments":{"season":"2024"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('mlb_standings', {
"season": "2024"
});
More examples
{
"league_id": "103"
}
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.