
Mcp Ml Lab
io.github.rohithraju-ops由 GitHub 帳號 rohithraju-ops 發布v0.1.0更新於 Oct 24, 2026
Run end-to-end ML experiments from natural language (XGBoost, LightGBM, Optuna).
概覽
本機 MCP 伺服器,讓助理剖析 CSV、定義機器學習任務、訓練並調校 XGBoost/LightGBM 模型並產出報告。
- 可以做什麼
- 剖析 CSV:形狀、資料型別、空值、統計摘要與類別平衡
- 依 CSV、目標欄位與分類或迴歸類型註冊機器學習任務
- 訓練一個或多個模型,可選擇用 Optuna 調整超參數
- 產出含指標、超參數與特徵重要性的 Markdown 報告
- 並排比較多次先前的實驗
- 適用情境
- 適合想讓助理用自然語言實際執行表格資料機器學習實驗的情況,例如剖析資料集、比較 XGBoost 與 LightGBM、用 Optuna 調參,或回顧先前的執行結果,而不只是瀏覽實驗歷史。
- 執行需求
- 以本機程序透過 stdio 執行,從 PyPI 安裝(pip install mcp-ml-lab),需要 Python;在用戶端的 MCP 設定加入 mcp-ml-lab 指令並重新啟動。未宣告驗證、環境變數或標頭。實驗紀錄儲存在使用者家目錄下的本機 SQLite 檔案。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Mcp Ml Lab,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
mcp-ml-lab
Let AI agents run real ML experiments end-to-end.
An MCP server that gives Claude (or any MCP-aware AI agent) the ability to profile a CSV, define an ML task, tune XGBoost and LightGBM with Optuna, and produce a markdown report with feature importance — all from natural language.
Why this exists
The existing ML-related MCP servers wrap MLflow, ZenML, or Weights & Biases
and expose them as read-only — agents can browse experiment history but
can't actually run anything. mcp-ml-lab fills the gap: it lets agents
execute the full experimentation loop from a user's natural-language request.
A user typing "train a model on titanic.csv to predict survival" should not
need to know what XGBoost is, what cross-validation is, or how to write a
hyperparameter search. The agent handles all of that — mcp-ml-lab is the
tools layer that makes it possible.
Quick start
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
Restart Claude Desktop. The five tools below are now available.
Example queries
Try these in Claude Desktop with mcp-ml-lab connected:
- "Profile this CSV and tell me if there's class imbalance"
- "Compare XGBoost and LightGBM on titanic.csv with 60 seconds of tuning"
- "Show me the top 10 features the winning model used"
- "How did my last three experiments on the wine dataset compare?"
Tools
Each tool's full signature is in its docstring; they self-document to the LLM.
How it works
All experiments and trials are persisted to ~/.mcp-ml-lab/store.db so an
agent can refer back to runs across sessions.
Full design notes in ARCHITECTURE.md.
Roadmap
v0.1.0 ships classification with XGBoost and LightGBM. Planned for v0.2.0+:
- Regression tasks
- Time series forecasting (sktime / darts integration)
- Deep learning baselines (pytorch-tabular)
- Optuna multi-objective search (accuracy × latency × model size)
- Persisted model artifacts with Docker reproducibility
- Permutation feature importance (bias-free alternative to gain importance)
- Notebook export — emit a Jupyter notebook that reproduces the winning run
Issues and PRs welcome.
Development
Local debugging is easiest with the MCP Inspector:
License
MIT.
來源:README.md,提交 486c204
工具
0版本歷史
1- v0.1.0最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分