Baseball Statistics Calculator
Calculate baseball batting statistics including batting average and on-base percentage
API Documentation
Request Endpoint
POST /en/api/tools/baseball-stats
Request Parameters
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| atBats | number | Yes | - |
| hits | number | Yes | - |
| doubles | number | No | - |
| triples | number | No | - |
| homeRuns | number | No | - |
| walks | number | No | - |
| hitByPitch | number | No | - |
| sacrificeFlies | number | No | - |
Response Format
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}
JSON Data:
JSON Data
AI MCP Documentation
Add this tool to your MCP server configuration:
{
"mcpServers": {
"elysiatools-baseball-stats": {
"name": "baseball-stats",
"description": "Calculate baseball batting statistics including batting average and on-base percentage",
"baseUrl": "https://elysiatools.com/mcp/sse?toolId=baseball-stats",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}
You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.
If you encounter any issues, please contact us at [email protected]