Skip to main content

MCP server for end-to-end machine learning

Project description

MCP AutoML

MCP AutoML is a server that enables AI Agents to perform end-to-end machine learning workflows including data inspection, processing, model training. With MCP AutoML, AI Agents can perform more than a typical autoML framework. AI Agents can identify the target, setting baseline, and creating features by themselves.

MCP AutoML seperates tools and workflows, allowing you to create your own workflow.

Features

  • Data Inspection: Analyze datasets with comprehensive statistics, data types, and previews
  • SQL-based Data Processing: Transform and engineer features using DuckDB SQL queries
  • AutoML Training: Train classification and regression models with automatic model comparison using PyCaret
  • Prediction: Make predictions using trained models
  • Multi-format Support: Works with CSV, Parquet, and JSON files

Usage

Configure MCP Server

Add to your MCP client configuration (e.g., Claude Desktop, Gemini CLI, Cursor, Antigravity):

{
  "mcpServers": {
    "mcp-automl": {
      "command": "uvx",
      "args": ["--python", "3.11", "mcp-automl"]
    }
  }
}

Or using Docker:

{
  "mcpServers": {
    "mcp-automl": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "-v", "${PWD}:/workspace", "-v", "${HOME}/.mcp-automl:/root/.mcp-automl", "idea7766/mcp-automl:latest"]
    }
  }
}

Available Tools

Tool Description
inspect_data Get comprehensive statistics and preview of a dataset
query_data Execute DuckDB SQL queries on data files
process_data Transform data using SQL and save to a new file
train_classifier Train a classification model with AutoML
train_regressor Train a regression model with AutoML
predict Make predictions using a trained model

Agent Skill

MCP AutoML includes an data science workflow skill that guides AI agents through best practices for machine learning projects. This skill teaches agents to:

  • Identify targets and establish baselines
  • Perform exploratory data analysis
  • Engineer domain-specific features
  • Train and evaluate models systematically

Installing the Skill

For Gemini CLI:

gemini skills install https://github.com/idea7766/mcp-automl --path skill/data-science-workflow

For Claude Code:

# Clone the repo and copy the skill
git clone https://github.com/idea7766/mcp-automl.git
cp -r mcp-automl/skill/data-science-workflow ~/.claude/skills/

The skill file is located at skill/data-science-workflow/SKILL.md.

Configuration

Models and experiments are saved to ~/.mcp-automl/experiments/ by default.

Troubleshooting

macOS: LightGBM OpenMP Error

If you encounter an error like Library not loaded: @rpath/libomp.dylib, you need to install OpenMP:

brew install libomp

This is a system-level dependency required by LightGBM on macOS. Linux and Windows users typically don't need this step.

Dependencies

  • PyCaret - AutoML library
  • DuckDB - Fast SQL analytics
  • MCP - Model Context Protocol SDK

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_automl-0.1.7.tar.gz (124.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_automl-0.1.7-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

Details for the file mcp_automl-0.1.7.tar.gz.

File metadata

  • Download URL: mcp_automl-0.1.7.tar.gz
  • Upload date:
  • Size: 124.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for mcp_automl-0.1.7.tar.gz
Algorithm Hash digest
SHA256 e49c7a14ba7feca6b0c81f25b45d099a5e00c9d50062d4e4f68b068a7e5488b0
MD5 e326074e33fac9276333acda48fda268
BLAKE2b-256 964686b3e5f5c416c7dc6aa29c375ef5d245bc0fd4cbf16fb2e11d7aac0654c2

See more details on using hashes here.

File details

Details for the file mcp_automl-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: mcp_automl-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 13.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for mcp_automl-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 e9e460986328d7a339903384e0379867b69cb13c69edf4bb76a027c3e4deea2d
MD5 4814e5d3b60cb27741355852b3d47acb
BLAKE2b-256 5758ab33d268a6586999a6c125e3cd3923900d697e325737ef61d4c6bf16f6da

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page