mlb_standings
Pack: mlb-stats · 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/mlb_standings for the schema, then POST the same URL with its arguments for the data.
MLB division standings and team records, from the official MLB stats feed.
Tool description as the model sees it
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 — 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 mlb-stats pack
{
"mcpServers": {
"mlb-stats": {
"url": "https://gateway.pipeworx.io/mlb-stats/mcp"
}
}
}
See Getting Started for client-specific install steps.