player_stats
Pack: mlb-stats · Endpoint: https://gateway.pipeworx.io/mlb-stats/mcp
Career or season stats for a player.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
player_id | number | yes | |
group | string | no | hitting | pitching | fielding (default hitting) |
season | string | no | YYYY |
stats | string | no | season (default) | career | yearByYear | seasonAdvanced |
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":"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.