Data Analysis
Calculate seasonal indices for time series data to identify seasonal patterns
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/seasonal-index-calculator' \
-H 'Content-Type: application/json' \
-d '{"data":"Enter time series data (comma or space separated values)...","periods":12,"method":"ratio-to-moving-average","dataFormat":"comma","smoothing":0,"forecastPeriods":0,"deseasonalize":true}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/seasonal-index-calculator| Name | Type | Required | Description |
|---|---|---|---|
| data | textarea | Yes | — |
| periods | number | No | — |
| method | select | No | — |
| dataFormat | select | No | — |
| smoothing | number | No | — |
| forecastPeriods |
Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-seasonal-index-calculator": {
"name": "seasonal-index-calculator",
"description": "Calculate seasonal indices for time series data to identify seasonal patterns",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=seasonal-index-calculator",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "seasonal-index-calculator",
"arguments": {
"data": "Enter time series data (comma or space separated values)...",
"periods": 12,
"method": "ratio-to-moving-average",
"dataFormat": "comma",
"smoothing": 0,
"forecastPeriods": 0,
"deseasonalize": true
}
}
}Questions or issues? Contact [email protected]
| number |
| No |
| — |
| deseasonalize | checkbox | No | — |
JSON result
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}