About Autots
Autots is an MCP server published by winedarksea in the Developer Tools category: automated Time Series Forecasting. Conduid read 28 tools from its source: apply_adjustments, apply_constraints, clean_data, clear_cache, convert_long_to_wide, detect_features and 22 more. It is published to PyPI as autots and runs with uvx.
The repository has 1.4K stars and 130 forks, is licensed MIT, and its last commit was on 19 Nov 2026. The latest release is 1.0.5 (9 Nov 2026): Thanks to AI, you actually get proper release notes this time: 1.0.5 🇺🇦 🇺🇦 🇺🇦 Saved-template compatibility: fixes and new defaults below can change forecasts when refitt… It follows 1.0.4 (20 Aug 2026), and the 5 most recent releases go back to 1.0.1 (30 Jan 2026). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass No dynamic code execution and Scoped permissions. Its topics include devtools, forecasting, time-series, feature-engineering, preprocessing and automl.
Install
uvx autotspip install autotsgit clone https://github.com/winedarksea/AutoTSTools (28)
apply_adjustmentsApply post-hoc adjustments to a forecast. Requires prediction_id from a forecast tool. Three types: 1) 'basic'/'linear'/'ramp' — linear ramp between start/end dates with start/end values (additive or multiplicative); 2) 'align_last_value'/'alignlastvalue' — align forecast to recent history (also requires data_id); 3) 'smoothing'/'ewma' — exponential smoothing with span parameter. Optionally restrict to specific series_ids. Returns new prediction_id.| Parameter | Type | Description |
|---|---|---|
| adjustment_method * | string | Adjustment type |
| adjustment_params | object | Adjustment parameters. For basic: {start_date, end_date, start_value, end_value, value, method='additive'|'multiplicative'}. For align_last_value: {rows, lag, method, strength}. For smoothing: {span} |
| data_id | string | Cached data ID for training data (required for align_last_value) |
| prediction_id * | string | Cached prediction ID |
| series_ids | array | Series IDs to apply adjustment to. If omitted, applies to all series. |
apply_constraintsApply constraints to a forecast (dampen growth, enforce upper/lower bounds, or quantile clipping). Requires prediction_id from a forecast tool. Returns a new prediction_id with constrained values.| Parameter | Type | Description |
|---|---|---|
| constraint_direction | string | Direction for bounds |
| constraint_method * | string | Constraint type |
| constraint_value | number | Constraint value |
| prediction_id * | string | Cached prediction ID |
clean_dataClean time series data: fill missing values and handle outliers. Provide either data (inline dict) or data_id. Returns new data_id with cleaned data.| Parameter | Type | Description |
|---|---|---|
| data | object | Wide format data |
| data_id | string | Cached data ID |
| fillna | string | Missing value fill method |
clear_cacheClear cache: specific object by ID+type, an entire cache type, or all caches. Destructive — freed objects cannot be recovered.| Parameter | Type | Description |
|---|---|---|
| cache_type | string | Cache type to clear (omit both params to clear all) |
| object_id | string | Specific object ID to clear |
convert_long_to_wideConvert long-format data (datetime, series_id, value columns) to wide format. Provide either data (inline dict) or data_id. Returns new data_id.| Parameter | Type | Description |
|---|---|---|
| data | object | Long format data with datetime, series_id, value columns |
| data_id | string | Cached data ID (alternative to data) |
detect_featuresDetect anomalies, changepoints, level shifts, holidays, and seasonality patterns across all series. Provide data or data_id. Returns detector_id for use in get_detected_features, plot_features, and forecast_from_features.| Parameter | Type | Description |
|---|---|---|
| data | object | Wide format data |
| data_id | string | Cached data ID |
forecast_customCUSTOM: AutoTS with user-specified parameters or template. Use when forecast_fast results are insufficient. Read the autots://docs/forecast_custom_params resource for available parameters. Defaults to 'scalable' model_list. Provide data or data_id. Returns prediction_id and autots_id.| Parameter | Type | Description |
|---|---|---|
| autots_params | object | AutoTS initialization parameters (defaults: model_list='scalable') |
| data | object | Wide format data |
| data_id | string | Cached data ID |
| forecast_length | integer | Periods to forecast |
| future_regressor_forecast | object | Future regressor for forecast period (wide format DataFrame) |
| future_regressor_train | object | Future regressor for training (wide format DataFrame) |
| model_template | object | Specific model template to run |
forecast_event_riskForecast the probability of crossing a threshold over future periods (e.g., stockout risk, capacity breach). Threshold in [0,1] is treated as a historical quantile; values outside [0,1] are absolute. Provide data or data_id. Returns event_risk_id for use in get_event_risk_results and plot_event_risk.| Parameter | Type | Description |
|---|---|---|
| data | object | Wide format data |
| data_id | string | Cached data ID |
| direction | string | Detect crossing above (upper) or below (lower) the threshold |
| forecast_length | integer | Periods to forecast |
| threshold * | any | Threshold value (required). Float in [0,1] = historical quantile. Outside [0,1] = absolute threshold. Can be 2D array of shape (forecast_length, num_series). |
| tune | boolean | Enable model tuning (slower but more accurate) |
forecast_explainableMODERATE: AutoTS model search restricted to EXPLAINABLE models (Cassandra, TVVAR, BasicLinearModel). Use when interpretability matters. Provide data or data_id. Returns prediction_id and autots_id. Use get_forecast_components on prediction_id for component decomposition.| Parameter | Type | Description |
|---|---|---|
| data | object | Wide format data |
| data_id | string | Cached data ID |
| forecast_length | integer | Periods to forecast |
forecast_fastFAST: Pre-configured mosaic ensemble forecast using fit_data (no model search). Use for quick results. Provide data or data_id. Returns prediction_id for use in get_forecast, plot_forecast, apply_constraints, apply_adjustments, get_model_params.| Parameter | Type | Description |
|---|---|---|
| data | object | Wide format data |
| data_id | string | Cached data ID |
| forecast_length | integer | Periods to forecast |
| profile_template | object | Optional custom mosaic profile JSON |
forecast_from_featuresEXPERIMENTAL: Create a forecast using the decomposed components from a feature detector. Only use after detect_features, not as a standalone forecasting method. Requires detector_id from detect_features. Returns prediction_id for use in get_forecast, plot_forecast.| Parameter | Type | Description |
|---|---|---|
| detector_id * | string | Cached detector ID |
| forecast_length | integer | Periods to forecast |
| prediction_interval | number | Uncertainty interval for lower and upper forecast bounds |
generate_synthetic_dataGenerate synthetic time series data with labeled components for testing. Returns data_id.| Parameter | Type | Description |
|---|---|---|
| n_series | integer | Number of series to generate |
get_dataRetrieve cached data as JSON (wide or long) or save as CSV. Requires data_id from load_sample_data, load_live_data, load_data_from_file, generate_synthetic_data, convert_long_to_wide, or clean_data.| Parameter | Type | Description |
|---|---|---|
| data_id * | string | Cached data ID |
| output_format | string | Output format |
get_detected_featuresQuery detected features (anomalies, changepoints, level shifts, holidays, seasonality) from a cached detector. Requires detector_id from detect_features. Supports filtering by date range, specific date, or series name. Use include_components=true for time-series component values. Examples: 'was there an anomaly on 2024-12-25?', 'when was the first level shift?'| Parameter | Type | Description |
|---|---|---|
| date_end | string | Optional end date filter (YYYY-MM-DD) |
| date_start | string | Optional start date filter (YYYY-MM-DD) |
| detector_id * | string | Cached detector ID |
| include_components | boolean | Include component time-series values (default: false) |
| include_metadata | boolean | Include metadata like noise levels and scales (default: false) |
| series_name | string | Optional series name to filter results |
| specific_date | string | Optional single date to query (YYYY-MM-DD) |
get_event_risk_resultsGet event risk probability values from a cached EventRiskForecast. Requires event_risk_id from forecast_event_risk. Returns probabilities per period per series.| Parameter | Type | Description |
|---|---|---|
| event_risk_id * | string | Cached event risk ID |
| format | string | Output format |
get_forecastRetrieve forecast values from a cached prediction as JSON or CSV. Requires prediction_id from forecast_fast, forecast_explainable, forecast_custom, or forecast_from_features. Use output='all' to get point, upper, and lower forecasts combined with a forecast_type column.| Parameter | Type | Description |
|---|---|---|
| format | string | Output format. Note: 'all' output uses long format automatically |
| output | string | Which forecast to return. 'all' returns point, upper, and lower combined in long format with forecast_type column |
| prediction_id * | string | Cached prediction ID |
get_forecast_componentsGet decomposed forecast components (trend, seasonality, etc.) if available. Only works for Cassandra and TVVAR models — use forecast_explainable to guarantee these model types. Requires prediction_id.| Parameter | Type | Description |
|---|---|---|
| prediction_id * | string | Cached prediction ID (must be from a Cassandra or TVVAR model) |
get_model_paramsGet model name, parameters, and transformation parameters from a cached prediction. Requires prediction_id from any forecast tool.| Parameter | Type | Description |
|---|---|---|
| prediction_id * | string | Cached prediction ID |
get_validation_resultsGet cross-validation results and top model rankings from an AutoTS model search. Requires autots_id from forecast_explainable or forecast_custom.| Parameter | Type | Description |
|---|---|---|
| autots_id * | string | Cached AutoTS ID |
list_cacheList all cached objects across all cache types (predictions, autots_models, event_risk, feature_detectors, data). Call this to discover existing IDs before calling any get_*, plot_*, or apply_* tools.load_data_from_fileLoad a CSV from a local file path or URL. Returns data_id. CSV must have a datetime column as the first column (index).| Parameter | Type | Description |
|---|---|---|
| filepath * | string | Local file path or URL to CSV |
load_live_dataLoad live data from external sources (FRED economic data, stock tickers). Returns data_id. Requires network access.| Parameter | Type | Description |
|---|---|---|
| fred_key | string | FRED API key |
| fred_series | array | FRED series codes |
| long | boolean | Return long format |
| tickers | array | Stock tickers |
load_sample_dataLoad a built-in sample time series dataset. Returns data_id for use as the data_id parameter in forecast_*, detect_features, forecast_event_risk, clean_data, and get_data.| Parameter | Type | Description |
|---|---|---|
| dataset | string | Sample dataset to load |
| long | boolean | Return long format (default: wide) |
plot_event_riskPlot event risk probabilities over the forecast horizon. Requires event_risk_id from forecast_event_risk. Returns base64-encoded PNG.| Parameter | Type | Description |
|---|---|---|
| event_risk_id * | string | Cached event risk ID |
plot_featuresPlot detected features overlaid on the time series. Requires detector_id from detect_features. Returns base64-encoded PNG.| Parameter | Type | Description |
|---|---|---|
| detector_id * | string | Cached detector ID |
| series | array | Specific series to plot |
plot_forecastPlot forecast with optional history and prediction intervals. Requires prediction_id from forecast_fast, forecast_explainable, forecast_custom, or forecast_from_features. Returns base64-encoded PNG image. Defaults to first series only.| Parameter | Type | Description |
|---|---|---|
| include_history | boolean | Include historical data |
| plot_all | boolean | Plot all series (overrides series parameter) |
| prediction_id * | string | Cached prediction ID |
| series | array | Specific series to plot (by name/id) |
plot_validationPlot cross-validation forecasts from an AutoTS model search. Requires autots_id from forecast_explainable or forecast_custom. Returns base64-encoded PNG.| Parameter | Type | Description |
|---|---|---|
| autots_id * | string | Cached AutoTS ID |
smart_loadBeginner-friendly data loader. Accepts pasted CSV/TSV text, a CSV URL (e.g. a published Google Sheet), or base64-encoded file bytes (CSV or XLSX). Automatically removes empty/padding rows and columns, detects wide vs long orientation, and returns a data_id plus a report describing what was cleaned and detected. Prefer this over load_data_from_file for raw human spreadsheets.| Parameter | Type | Description |
|---|---|---|
| content_base64 | string | Base64-encoded file bytes (CSV or XLSX) |
| data_format | string | Orientation override (default auto-detect) |
| filename | string | Original filename (used to detect Excel) |
| long_cols | object | For long data, optional column names: {date, value, id} |
| text | string | Pasted CSV or TSV text |
| url | string | URL to a CSV (e.g. published Google Sheet) |
Security checks
Static checks derived from the repository 4 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 1.4K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by pwa/Cargo.lock.
- !No dynamic code executionScanned 163 source files and found 1 call to eval or shell execution, in autots/tools/mocks.py:30. Review how tool inputs reach them before granting credentials.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdioautots/mcp/server.py:46
- Starts other programs
- No calls that start other programs
- Outbound network calls
- 6 callsautots/datasets/_live.py:237, pwa/js/autots_client.js:211, pwa/worker/service_worker.js:31
- Writes or deletes files
- 6 callsautots/evaluator/auto_model.py:877, autots/evaluator/auto_model.py:892, autots/evaluator/auto_model.py:1219
- Lockfile
- pwa/Cargo.lock
Pattern matches on the source text of 163 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 1.4K words, fetched 4 days ago. The original in the repository is authoritative.
Read full README