MCPInstall
mcp-server-scikit-learn logo

mcp-server-scikit-learn

by shibuiwilliam 18 stars shibuiwilliam/mcp-server-scikit-learn

The mcp-server-scikit-learn is a Model Context Protocol server that provides a standardized interface for Scikit-learn models. It features model training, evaluation, data preprocessing, persistence, and hyperparameter tuning, streamlining the machine learning workflow.

READMEmain

mcp-server-scikit-learn: MCP server for Scikit-learn

Overview

This is a Model Context Protocol server for Scikit-learn, providing a standardized interface for interacting with Scikit-learn models and datasets.

Features

  • Train and evaluate Scikit-learn models
  • Handle datasets and data preprocessing
  • Model persistence and loading
  • Feature engineering and selection
  • Model evaluation metrics
  • Cross-validation and hyperparameter tuning

Run this project locally

This project is not yet set up for ephemeral environments (e.g. uvx usage). Run this project locally by cloning this repo:

git clone https://github.com/yourusername/mcp-server-scikit-learn.git
cd mcp-server-scikit-learn

You can launch the MCP inspector via npm:

npx @modelcontextprotocol/inspector uv --directory=src/mcp_server_scikit_learn run mcp-server-scikit-learn

Upon launching, the Inspector will display a URL that you can access in your browser to begin debugging.

OR Add this tool as a MCP server:

{
  "scikit-learn": {
    "command": "uv",
    "args": [
      "--directory",
      "/path/to/mcp-server-scikit-learn",
      "run",
      "mcp-server-scikit-learn"
    ]
  }
}

Development

  1. Create and activate a virtual environment:
python -m venv .venv
source .venv/bin/activate  # On Windows: .venv\Scripts\activate
  1. Install dependencies:
pip install -e ".[dev]"
  1. Run tests:
pytest -s -v tests/

License

More Research & Data MCP servers

Similar servers from the same category.

WeatherXM PRO

weatherxm

Integrates with WeatherXM PRO APIs to provide access to hyperlocal weather data, historical observations, and forecast performance metrics for location-specific analysis and planning.

APICLI+6

Gralio

tymonte

Access 3+ million SaaS reviews, detailed pricing data, alternatives, ratings, funding information, growth metrics, user sentiment analysis, and functional feature data for over 30,000 software products.

Research & Data

Integrates with professional cryptocurrency data APIs from DefiLlama Pro, CoinGecko Pro, and Arkham Intelligence to provide real-time token prices, market data, blockchain analytics, and on-chain intelligence for crypto researchers and traders.

search

Enables semantic and keyword searches across Space Frontiers' library, telegram, and reddit databases through a FastAPI-based server with flexible authentication options.

databaseauthentication+1