Skip to main content

MLOps MCP Server

PyPI Python 3.11+ License: MIT

MCP server for common MLOps workflows

An MCP (Model Context Protocol) server that gives AI assistants like Claude direct access to MLOps workflows — experiment tracking, model registry, dataset management, pipeline orchestration, lineage tracing, and more. Wraps DVC, MLflow, and Git rather than replacing them.


Features

  • Experiment tracking — create runs, log params/metrics/artifacts, compare runs, find best run, export to CSV
  • Model registry — register, promote, tag, deprecate, and compare model versions; generate model cards
  • Dataset management — profile datasets, validate schemas, detect statistical drift (KS-test), split, merge, and generate dataset cards
  • Pipeline management — create, validate, and visualize DAG pipelines as Mermaid diagrams; cycle detection via Kahn's algorithm
  • Data lineage — record artifact lineage, trace provenance with BFS, visualize as Mermaid graphs, check integrity
  • File operations — full file/directory CRUD, content search, disk usage, batch operations
  • Project scaffolding — 7 ML project templates with component injection and structure validation
  • Documentation generation — model cards, dataset cards, experiment reports, pipeline docs, project READMEs, API docs
  • MLflow integration — optional; wraps tracking, registry, and artifact operations
  • DVC integration — optional; wraps data versioning and pipeline reproduction
  • Git operations — optional; status, add, commit, log, .gitignore generation
  • Environment tools — scan imports, generate requirements, check conflicts, create conda env files

Tools are registered in two tiers: a small set of always-on tools for quick file ops and discovery, and 15 domain modules you activate on demand to avoid flooding the agent context window.


Installation

Install directly from GitHub (available now)

pip install git+https://github.com/anant-patankar/mlops-mcp-server.git

Using uv:

uv add git+https://github.com/anant-patankar/mlops-mcp-server.git

Install from PyPI (coming soon)

# Core install
pip install mlops-mcp-server

# With optional extras
pip install mlops-mcp-server[mlflow]
pip install mlops-mcp-server[mlflow,compare,notebooks,parquet]

Using uv:

uv add mlops-mcp-server
uv add "mlops-mcp-server[mlflow,compare,notebooks,parquet]"

Usage

Claude Desktop

Add to your Claude Desktop MCP config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

First install the package, then add to your Claude Desktop config:

{
  "mcpServers": {
    "mlops": {
      "command": "mlops-mcp-server"
    }
  }
}

Restart Claude Desktop. The server starts automatically when Claude connects.

Example prompts

Once connected, you can ask Claude things like:

"Show me all experiment runs, find the one with the best validation accuracy, and register that model in the registry."

"Profile data/train.csv, check it against schema.yaml, then split it 70/15/15 and save to data/splits/."

"Create a pipeline with three stages: preprocess → train → evaluate, validate it for cycles, and show me the Mermaid diagram."

Running directly

mlops-mcp-server

Optional Dependencies

Extra Installs Enables
mlflow mlflow MLflow tracking and registry tools
compare deepdiff Structured diff in compare_runs
notebooks nbformat Notebook summary in get_notebook_summary
parquet pyarrow Parquet read/write in dataset tools
models joblib, onnx, safetensors Model file format support
validation pandera, scipy Schema validation and drift statistics
templates jinja2 Jinja2 templates in create_model_card

All extras are optional — the server runs without them and returns clear errors if a missing dependency is needed.


License

MIT — see LICENSE.

Metadata

Release files for mlops-mcp-server 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mlops-mcp-server 0.1.0
File Size Uploaded Provenance
mlops_mcp_server-0.1.0.tar.gz 174.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for mlops-mcp-server 0.1.0
File Interpreter ABI Platform
mlops_mcp_server-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 224.4 kB

Release files / mlops_mcp_server-0.1.0.tar.gz

Download URL mlops_mcp_server-0.1.0.tar.gz
Size 174.0 kB
Tags Source
SHA-256 checksum
How to use checksums
40d003e0a40e1dc38b35f0ed9446acdb845f9f9043bcb30a39c910a461299ea0
BLAKE2b-256 checksum
How to use checksums
467cf6639acac01b718858e05234961658715a15a03459edb1031f456d23bee7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.3

Release files / mlops_mcp_server-0.1.0-py3-none-any.whl

Download URL mlops_mcp_server-0.1.0-py3-none-any.whl
Size 50.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
948a0fd302c1f71c7fede905486d40ca4b5926301b96db691c70a17bf0ff02b3
BLAKE2b-256 checksum
How to use checksums
0e110133cd72e8b1f61fbd4d1de351d187f304da138ee6263a129e001b15ee5c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.3

Security for mlops-mcp-server 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page