MLflow MCP
About
MLflow MCP server for ML experiment tracking with advanced querying, run comparison, artifact access, and model registry.
Details
- Author
- kkruglik
- Categories
- Developer Tools, Other
Jump to
Setup
Install MLflow MCP in your MCP client (Claude Desktop, Cursor, Windsurf, and others).
Repository: https://github.com/kkruglik/mlflow-mcp
Follow the installation instructions in the repository README, then restart your MCP client.
AModel Context Protocol (MCP)server that enables LLMs to interact withMLflowtracking servers. Query experiments, analyze runs, compare metrics, manage the model registry, and promote models to production — all through natural language.
- Experiment Management: List, search, and filter experiments
- Run Analysis: Query runs, compare metrics, find best performing models
- Metrics & Parameters: Get metric histories, compare parameters across runs
- Artifacts: Browse and download run artifacts
- LoggedModel Support: Search and retrieve MLflow 3 LoggedModel entities
- Model Registry: Full registry management — register, tag, alias, stage, and promote models
- Write & Delete Actions: Tag, alias, register, promote, and delete runs/experiments/models
- MCP Prompts: Built-in guided workflows for common tasks
- Pagination: Offset-based pagination for browsing large result sets
# Run directly without installation uvx mlflow-mcp # Or install globally pip install mlflow-mcp
git clone https://github.com/kkruglik/mlflow-mcp.git cd mlflow-mcp uv sync uv run mlflow-mcp
- macOS:~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:%APPDATA%\Claude\claude_desktop_config.json
- Linux:~/.config/claude/claude_desktop_config.json
{ "mcpServers": { "mlflow": { "command": "uvx", "args": ["mlflow-mcp"], "env": { "MLFLOW_TRACKING_URI": "http://localhost:5000" } } } }
{ "mcpServers": { "mlflow": { "command": "uvx", "args": ["mlflow-mcp"], "env": { "MLFLOW_TRACKING_URI": "http://localhost:5000" } } } }
For MLflow servers with authentication, add credentials to theenvblock:
{ "mcpServers": { "mlflow": { "command": "uvx", "args": ["mlflow-mcp"], "env": { "MLFLOW_TRACKING_URI": "https://mlflow.company.com", "MLFLOW_TRACKING_USERNAME": "your-username", "MLFLOW_TRACKING_PASSWORD": "your-password" } } } }
For Databricks or token-based auth, useMLFLOW_TRACKING_TOKENinstead:
{ "mcpServers": { "mlflow": { "command": "uvx", "args": ["mlflow-mcp"], "env": { "MLFLOW_TRACKING_URI": "https://mlflow.company.com", "MLFLOW_TRACKING_TOKEN": "your-token" } } } }
Built-in guided workflows available as slash commands in Claude:
"Show me all experiments. Which ones were updated recently?"
"What metrics and parameters are tracked in experiment 'fraud-detection'?"
"Get the top 10 runs in 'fraud-detection' sorted by test/f1. Show me the params that differ most between the top 3."
"Find all runs tagged with model_type=lightgbm and compare their recall scores."
"Show me the full details of run abc123 — metrics, params, and artifacts."
"Plot the training loss curve for run abc123."(Claude fetches metric history and renders a chart)
"This run has a parent — show me the parent run and compare their metrics."
"Find the best logged model in experiment 'fraud-detection' by test/recall. Register it as 'fraud-classifier' with a selection_metric tag."
"Which logged model in experiments 1 and 2 has the highest F1 score on the validation set?"
"Register the model from run abc123 artifact path 'model/' as 'my-classifier'."
"Show me all versions of 'fraud-classifier' with their aliases and stages."
"Set the champion alias on version 3 of fraud-classifier."
"Update the description of fraud-classifier v3 to explain what dataset it was trained on."
"Copy fraud-classifier v3 to a separate 'fraud-classifier-prod' model as the production entry."
(Triggers theaudit_mlflow_setupbuilt-in prompt — Claude explores experiments, runs, artifacts, and the model registry, then scores each area against Google/Databricks best practices)
| Category | Score | Top Issue | |----------------------|--------|------------------------------------------------| | Experiment Org | 5/10 | Flat namespace, no dot-notation hierarchy | | Parameter Logging | 7/10 | No parent-child nesting for tuning sweeps | | Metric Logging | 6/10 | Only final values logged, no training curves | | Tagging Strategy | 5/10 | Params duplicated as tags; stale test_tag | | Artifact Management | 2/10 | No log_model(); artifacts on local disk | | Model Registry | 3/10 | Duplicate prod models instead of aliases | | Reproducibility | 3/10 | No git SHA; no mlflow.log_input() datasets | | Mean Score | 4.4/10| | Top 3 improvements: 1. Call log_model() and move artifact store to S3/GCS 2. Add git SHA tag + mlflow.log_input() for dataset tracking 3. Consolidate registry to one model entry with @champion alias
"Find the best model in 'fraud-detection' by test/recall, register it as 'fraud-classifier', tag it with the framework and problem type, and set it as champion. Ask me before copying to prod."
(This maps directly to thepromote_best_modelbuilt-in prompt)
npx @modelcontextprotocol/inspector uvx mlflow-mcp
npx @modelcontextprotocol/inspector uv run --project /path/to/mlflow-mcp mlflow-mcp
SetMLFLOW_TRACKING_URIin the Inspector's environment panel, or pass it inline:
MLFLOW_TRACKING_URI=http://127.0.0.1:5000 npx @modelcontextprotocol/inspector uvx mlflow-mcp
- Python >=3.10
- MLflow >=3.4.0
- Access to an MLflow tracking server
MIT License - seeLICENSEfile for details.
Contributions welcome! Please open an issue or submit a pull request.
- PyPI Package
- GitHub Repository
- MLflow Documentation
- Model Context Protocol
This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.
MCP server that gives AI assistants on-demand access to 1,500+ amCharts docs, ~300 code examples, and 1000+ class API references.
A Model Context Protocol server for generating visual charts using AntV.
50+ pay-per-call APIs for AI agents via HTTP 402 crypto micropayments. $0.001–$0.12 per call with USDC and USDm.
Interaction profile registry for AI agents — log interactions, build a behavioral profile, query it through behavioral lenses. 21 tools, zero-config.
A hosted API /MCP platform providing developer-friendly JSON endpoints for user-agent parsing, postal code search with spatial queries, country/subdivision lookup, cryptographic hashing, IP geolocation, email risk scoring, and more.
Blynk's MCP server lets AI coding tools create device templates, manage devices, and read live sensor data on the Blynk IoT platform
An MCP server that integrates IFC model support using Bonsai BIM (Blender) and IfcOpenShell.
Generates and queries a graph representation of a codebase.
MCP server that gives coding agents program-analysis primitives — data flow, call graphs, taint analysis — so they reason from ground truth instead of grep-and-guess. (same as the GitHub About — keeps your messaging consistent across the web).
Coral Query Plane is a paid remote MCP endpoint for AI SDK data query MCP. It exposes structured JSON tools, a public server card, token-based access, usage receipts, and audit-ready workflo
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





