
sktime/sktime-mcp 是从 https://github.com/sktime/sktime-mcp. 导入的 MCP 候选服务器
概览
sktime/sktime-mcp 是从 https://github.com/sktime/sktime-mcp. 导入的 MCP 候选服务器
概述(AI 翻译)
阅读文档 |PyPI包
MCP(模型上下文协议)层用于sktime——LLM的注册表驱动
一个语义引擎,将 sktime 的原生注册表和语义暴露给大型语言模型,使其能够:
- 🔍 发现有效估计量
- 🧠 关于估计器能力的理由
- 🔗 Compose 兼容估计量
- ⚡ 在真实数据上执行真实sktime工作流
🎯 设计理念
这个MCP不仅仅是文档或静态代码分析。它是一个用于程序化模型使用的语义引擎。
关键原则
-
sktime 作为真实来源 - 无 AST 解析,无仓库索引,无启发式。所有结构均来自
all_estimators、估计标签和 sktime 的 API 合同。 -
注册表优先 - 我们用
Registry → Semantics → Safe Execution代替File → Class → Infer Relationships。 -
最小MCP表面——仅暴露LLM所需的内容:发现、描述、实例化、执行和模型持久性。
🛠️ 安装
通过 UVX 零安装(推荐)
如果你已经安装了UV,就不需要单独安装步骤。
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
sktime-mcp
Read the Documentation | PyPI Package
MCP (Model Context Protocol) layer for sktime - Registry-Driven for LLMs
A semantic engine that exposes sktime’s native registry and semantics to Large Language Models, enabling them to:
- 🔍 Discover valid estimators
- 🧠 Reason about estimator capabilities
- 🔗 Compose compatible estimators
- ⚡ Execute real sktime workflows on real data
🎯 Design Philosophy
This MCP is not just documentation or static code analysis. It is a semantic engine for programmatic model usage.
Key Principles
-
sktime as Source of Truth - Model metadata comes from
all_estimators, estimator tags, and sktime’s API contracts. -
Registry-First - Instead of
File → Class → Infer Relationships, we doRegistry → Semantics → Execution. -
Minimal MCP Surface - Exposes only what an LLM needs: Discovery, Description, Instantiation, Execution, and model persistence.
🛠️ Installation
Zero-install via uvx (recommended)
If you have uv installed, no separate installation step is needed. Just update your MCP client config (see Connecting from an LLM Client below) and uvx will handle the rest automatically.
# Verify uv is available
uvx sktime-mcp --help
pip
pip install sktime-mcp
# With optional extras (SQL, forecasting models, file formats)
pip install "sktime-mcp[all]"
Development installation
git clone https://github.com/sktime/sktime-mcp
cd sktime-mcp
python3 -m pip install -e ".[dev]"
🐳 Docker
Run without installing anything locally (only Docker required):
# Build the image
docker build -t sktime-mcp .
# Run the MCP server (stdio transport)
docker run -i sktime-mcp
Or use Docker Compose:
docker compose build
docker compose run sktime-mcp
Claude Desktop — use Docker as the MCP server command:
{
"mcpServers": {
"sktime": {
"command": "docker",
"args": ["run", "-i", "--rm", "sktime-mcp"]
}
}
}
Environment variables can be passed at runtime:
docker run -i -e SKTIME_MCP_LOG_LEVEL=DEBUG sktime-mcp
For a more detailed first-time setup flow, including MCP server verification and troubleshooting, see Beginner Setup.
🧭 Beginner Setup (First‑Time Users)
If you are new to sktime‑mcp or to MCP‑based workflows, this section provides a minimal starting point to help you verify that your setup is working correctly.
What is MCP?
安装
docker run -i --rm sktime-mcp配置
{
"mcpServers": {
"sktime": {
"command": "docker",
"args": ["run", "-i", "--rm", "sktime-mcp"]
}
}
}