Sliding Window Aggregator

Sliding Window Aggregator MCP Connector for Claude

A+

Deterministic engine for sliding window metric aggregation, trend analysis, and anomaly detection.

3 tools Official Updated Oct 1, 2026 Official Vinkius Partner

This MCP server provides a deterministic engine for processing timestamped metric streams into sliding windows. It enables precise monitoring by calculating windowed aggregations like sum, average, and percentiles. Use process_metrics to transform raw data into windowed results, analyze_trends to determine the direction of metric movement via linear regression, and check_alerts to identify sustained threshold violations. The engine also detects sensor malfunctions and data gaps automatically.

metricssliding-windowaggregationanomaly-detectionalerting

3 tools expose this connector's capabilities to your AI agent.

analyze_trends

Provide a complete JSON array of {timestampMs, value} for accurate results. Calculates trend direction

check_alerts

Ensure windowHistory is a valid JSON array. Checks for threshold violations

process_metrics

See how to talk to your AI agent using Sliding Window Aggregator.

Process these metrics: [{'timestampMs': 1672531200000, 'value': 10}, {'timestampMs': 1672531260000, 'value': 20}] with a window size of 60000 and slide interval of 60000 using avg aggregation.

{ "windows": [{ "startMs": 1672531200000, "endMs": 1672531260000, "value": 15, "isGap": false, "isMalfunction": false }] }

Check if these windows trigger an alert for a threshold of 50: [{'timestampMs': 1000, 'value': 60}, {'timestampMs': 2000, 'value': 65}, {'timestampMs': 3000, 'value': 70}].

{ "isAlerting": true, "consecutiveViolations": 3 }

Analyze the trend for these window values: [{'timestampMs': 1000, 'value': 10}, {'timestampMs': 2000, 'value': 20}].

{ "slope": 10, "direction": "increasing", "isStable": false }

Overlaps occur when the window size is larger than the slide interval. The engine calculates these windows deterministically based on your provided parameters.

Related Connectors