mcp-server-scikit-learn: MCP server for Scikit-learn
Overview
This project is a Model Context Protocol server for Scikit-learn, providing a standardized interface for interacting with Scikit-learn models and datasets.
To use this project, clone the repository and run the MCP inspector via npm or add it as an MCP server in your configuration.
- 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
- Standardizing interactions with Scikit-learn models.
- Facilitating model training and evaluation in a consistent manner.
- Supporting data preprocessing and feature engineering workflows.
Add to your AI client
Use these steps to connect mcp-server-scikit-learn: MCP server for Scikit-learn in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"mcp-server-scikit-learn-shibuiwilliam": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-scikit-learn-shibuiwilliam"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"mcp-server-scikit-learn-shibuiwilliam": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-scikit-learn-shibuiwilliam"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-server-scikit-learn-shibuiwilliam": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-scikit-learn-shibuiwilliam"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcp-server-scikit-learn-shibuiwilliam": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-scikit-learn-shibuiwilliam"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-server-scikit-learn-shibuiwilliam": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-scikit-learn-shibuiwilliam"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-server-scikit-learn-shibuiwilliam": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-scikit-learn-shibuiwilliam"
]
}
}
}FAQ
How do I run this project locally?
Clone the repository and follow the instructions to set up a virtual environment and install dependencies.
What programming language is used?
The project is developed in Python.
Is there a license for this project?
Yes, it is licensed under the MIT license.