Run end-to-end ML experiments from natural language (XGBoost, LightGBM, Optuna).
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
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.
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.
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.
Try these in Claude Desktop with mcp-ml-lab connected:
| Tool | What it does |
|---|---|
inspect_data | Profile a CSV β shape, dtypes, nulls, summary stats, class balance |
define_task | Register an ML task (CSV + target + classification/regression) |
run_experiment | Train one or more models, optionally tuning with Optuna |
get_results | Markdown report with metrics, hyperparameters, feature importance |
compare_runs | Side-by-side comparison of multiple experiments |
Each tool's full signature is in its docstring; they self-document to the LLM.
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.
v0.1.0 ships classification with XGBoost and LightGBM. Planned for v0.2.0+:
Issues and PRs welcome.
Local debugging is easiest with the MCP Inspector:
MIT.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/mcp-ml-lab)<a href="https://allmcps.com/mcp/mcp-ml-lab"><img src="https://allmcps.com/api/badge/mcp-ml-lab?style=directory" alt="MCP Ml Lab on AllMCPs" /></a>