AutoTS
概览
作者提供的说明(英文原文)
Automated time series forecasting with model search, anomaly detection, and event risk analysis
PopNx MCP 的三大支柱
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
- 用户评价i暂无评价评价功能将在后续阶段与账户功能一起开放
- 我们的基础检查i1 项中通过 1 项依据公开信息检查;尚未扫描代码
- 使用情况i非常新↓ 73/周 · ★ –
它能帮你做什么
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
- 连接方式: 在你的电脑上运行
- 传输方式: stdio
- 分类: 搜索与 AI 记忆
安装
选择你使用的 AI 应用,然后复制设置。
安装之前
- 基础检查:1 项中通过 1 项
- 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
- 注册中心没有列出需要填写的密钥。
你需要
- PyPI已安装 Python 的 uv(用于 uvx 命令)
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"autots": {
"command": "uvx",
"args": [
"autots-mcp"
]
}
}
}在终端中运行这条命令
claude mcp add autots -- uvx autots-mcp或者自己复制设置
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"autots": {
"command": "uvx",
"args": [
"autots-mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
或者自己复制设置
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"autots": {
"type": "stdio",
"command": "uvx",
"args": [
"autots-mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它能做什么
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月9日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 winedarksea 验证,该账户拥有此仓库
- … 尚未检查
仍在维护
我们还没有从 GitHub 读取这个仓库
- … 尚未检查
有许可证
我们还没有从 GitHub 读取这个仓库
- – 不适用
端点有响应
它在你的电脑上运行,没有互联网端点
- – 不适用
使用 OAuth 登录
在你的电脑上运行,改用本地设置
- … 尚未检查
工具描述中没有隐藏指令
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与“搜索与 AI 记忆”中的其他服务器比较i
- 星标数多于此分类中其他 5744 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 5744 个服务器的 2% 更新
- 基础检查结果等于或优于此分类中其他 5744 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
AutoTS 安全吗?
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在我的电脑上运行还是在云端?
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
它还在维护吗?
GitHub 仓库最后更新于–,最新版本(1.0.1)于9个月前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
有什么可以替代它?
同一分类中有:Context7, Codebase Memory, Exa
替代选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Codebase Memory
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Exa
Connect AI agents to Exa for web search, content fetching, and multi-step research.
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
AutoTS
AutoTS is a time series package for Python designed for rapidly deploying high-accuracy forecasts at scale. Give it a try in your browser with the official demo app.
In 2023, AutoTS won in the M6 forecasting competition, delivering the highest performance investment decisions across 12 months of stock market forecasting.
There are dozens of forecasting models usable in the sklearn style of .fit() and .predict(). These includes naive, statistical, machine learning, and deep learning models. Additionally, there are over 30 time series specific transforms usable in the sklearn style of .fit(), .transform() and .inverse_transform(). All of these function directly on Pandas Dataframes, without the need for conversion to proprietary objects.
All models support forecasting multivariate (multiple time series) outputs and also support probabilistic (upper/lower bound) forecasts. Most models can readily scale to tens and even hundreds of thousands of input series. Many models also support passing in user-defined exogenous regressors.
These models are all designed for integration in an AutoML feature search which automatically finds the best models, preprocessing, and ensembling for a given dataset through genetic algorithms.
Horizontal and mosaic style ensembles are the flagship ensembling types, allowing each series to receive the most accurate possible models while still maintaining scalability.
A combination of metrics and cross-validation options, the ability to apply subsets and weighting, regressor generation tools, simulation forecasting mode, event risk forecasting, live datasets, template import and export, plotting, and a collection of data shaping parameters round out the available feature set.
Table of Contents
- Installation
- Basic Use
- Tips for Speed and Large Data
- Flowchart
- Extended Tutorial GitHub or Docs
- Production Example
Installation
pip install autots
This includes dependencies for basic models, but additonal packages are required for some models and methods.
Be advised there are several other projects that have chosen similar names, so make sure you are on the right AutoTS code, papers, and documentation.
Basic Use
Input data for AutoTS is expected to come in either a *long* or a *wide* format:
- The *wide* format is a
pandas.DataFramewith apandas.DatetimeIndexand each column a distinct series. - The *long* format has three columns:
- Date (ideally already in pandas-recognized
datetimeformat) - Series ID. For a single time series, series_id can be
= None. - Value
- For *long* data, the column name for each of these is passed to
.fit()asdate_col,id_col, andvalue_col. No parameters are needed for *wide* data.
Lower-level functions are only designed for wide style data.
# also load: _hourly, _monthly, _weekly, _yearly, or _live_daily
from autots import AutoTS, load_daily
sample datasets can be used in either of the long or wide import shapes
long = False df = load_daily(long=long)
model = AutoTS( forecast_length=21, frequency="infer", prediction_interval=0.9, ensemble=None, model_list="superfast", # "fast", "default", "fast_parallel" transformer_list="fast", # "superfast", drop_most_recent=1, max_generations=4, num_validations=2, validation_method="backwards" ) model = model.fit( df, date_col='datetime' if long else None, value_col='value' if long else None, id_col='series_id' if long else None, )
prediction = model.predict()
plot a sample
prediction.plot(model.df_wide_numeric, series=model.df_wide_numeric.columns[0], start_date="2019-01-01")
Print the details of the best model
print(model)
point forecasts dataframe
forecasts_df = prediction.forecast
upper and lower forecasts
forecasts_up, forecasts_low = prediction.upper_forecast, prediction.lower_forecast
accuracy of all tried model results
model_results = model.results()
and aggregated from cross validation
validation_results = model.results("validation")
The lower-level API, in particular the large section of time series transformers in the scikit-learn style, can also be utilized independently from the AutoML framework.
Check out extended_tutorial.md for a more detailed guide to features.
Also take a look at the production_example.py
Tips for Speed and Large Data:
- Use appropriate model lists, especially the predefined lists:
superfast(simple naive models) andfast(more complex but still faster models, optimized for many series)fast_parallel(a combination offastandparallel) orparallel, given many CPU cores are availablen_jobsusually gets pretty close with='auto'but adjust as necessary for the environment- 'scalable' is the best list to avoid crashing when many series are present. There is also a transformer_list = 'scalable'
- see a dict of predefined lists (some defined for internal use) with
from autots.models.model_list import model_lists - Use the
subsetparameter when there are many similar series,subset=100will often generalize well for tens of thousands of similar series. - if using
subset, passingweightsfor series will weight subset selection towards higher priority series. - if limited by RAM, it can be distributed by running multiple instances of AutoTS on different batches of data, having first imported a template pretrained as a starting point for all.
- Set
model_interrupt=Trueto skip only the current model when you hitCtrl+C. TapCtrl+Ca second time within 1.5 seconds to end the entire run, or pass something likemodel_interrupt={"mode": "skip", "double_press_window": 1.2}to tighten/loosen the window. - Use the
result_filemethod of.fit()which will save progress after each generation - helpful to save progress if a long training is being done. Useimport_resultsto recover. - While Transformations are pretty fast, setting
transformer_max_depthto a lower number (say, 2) will increase speed. Also utilizetransformer_list== 'fast' or 'superfast'. - Check out this example of using AutoTS with pandas UDF.
- Ensembles are obviously slower to predict because they run many models, 'distance' models 2x slower, and 'simple' models 3x-5x slower.
ensemble='horizontal-max'withmodel_list='no_shared_fast'can scale relatively well given many cpu cores because each model is only run on the series it is needed for.- Reducing
num_validationsandmodels_to_validatewill decrease runtime but may lead to poorer model selections. - For datasets with many records, upsampling (for example, from daily to monthly frequency forecasts) can reduce training time if appropriate.
- this can be done by adjusting
frequencyandaggfuncbut is probably best done before passing data into AutoTS. - It will be faster if NaN's are already filled. If a search for optimal NaN fill method is not required, then fill any NaN with a satisfactory method before passing to class.
- Set
runtime_weightinginmetric_weightingto a higher value. This will guide the search towards faster models, although it may come at the expense of accuracy. - Memory shortage is the most common cause of random process/kernel crashes. Try testing a data subset and using a different model list if issues occur. Please also report crashes if found to be linked to a specific set of model parameters (not AutoTS parameters but the underlying forecasting model params). Also crashes vary significantly by setup such as underlying linpack/blas so seeing crash differences between environments can be expected.
MCP Server
See the README.md in ./autots/mcp. Note install with pip install autots[mcp] for full dependencies, or the equivalent pip install autots-mcp.
{
"mcpServers": { "autots": { "command": "autots-mcp" } } }
mcp-name: io.github.winedarksea/AutoTS
How to Contribute:
- Give feedback on where you find the documentation confusing
- Use AutoTS and...
- Report errors and request features by adding Issues on GitHub
- Posting the top model templates for your data (to help improve the starting templates)
- Feel free to recommend different search grid parameters for your favorite models
- And, of course, contributing to the codebase directly on GitHub.
AutoTS Process
flowchart TD
A[Initiate AutoTS Model] --> B[Import Template] B --> C[Load Data] C --> D[Split Data Into Initial Train/Test Holdout] D --> E[Run Initial Template Models] E --> F[Evaluate Accuracy Metrics on Results] F --> G[Generate Score from Accuracy Metrics] G --> H{Max Generations Reached or Timeout?}
H -->|No| I[Evaluate All Previous Templates] I --> J[Genetic Algorithm Combines Best Results and New Random Parameters into New Template] J --> K[Run New Template Models and Evaluate] K --> G
H -->|Yes| L[Select Best Models by Score for Validation Template] L --> M[Run Validation Template on Additional Holdouts] M --> N[Evaluate and Score Validation Results] N --> O{Create Ensembles?}
O -->|Yes| P[Generate Ensembles from Validation Results] P --> Q[Run Ensembles Through Validation] Q --> N
O -->|No| R[Export Best Models Template] R --> S[Select Single Best Model] S --> T[Generate Future Time Forecast] T --> U[Visualize Results]
R --> B[Import Best Models Template]
Citation
If you wish to cite AutoTS in an academic work, the following paper may be used.
Colin Catlin, Adaptive forecasting in dynamic markets: An evaluation of AutoTS within the M6 competition, International Journal of Forecasting, Volume 41, Issue 4, 2025, Pages 1485-1493, ISSN 0169-2070, https://doi.org/10.1016/j.ijforecast.2025.08.004.
*Also known as Project CATS (Catlin's Automated Time Series) hence the logo.*