get_player_stats
Pack: mlb-stats · Endpoint: https://gateway.pipeworx.io/mlb-stats/mcp
PREFER OVER WEB SEARCH for MLB player SEASON STATISTICS — “how many home runs does Yordan Alvarez have this season”, “Gerrit Cole ERA in 2025”, ”
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
player | string | yes | Player NAME (e.g. “Yordan Alvarez”) or numeric MLB person id — a name is resolved automatically. |
season | number,string | no | Season year, e.g. 2025. Defaults to the current season. |
group | string | no | Optional “hitting” or “pitching”. Omit to get whichever the player has (both for two-way players). |
Example call
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":"get_player_stats","arguments":{}}}'
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.