martinhillebrand/tdprepview-mcp
If you are the rightful owner of tdprepview-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
TDPrepView MCP Server is an alpha software designed for demo use, providing machine learning data preprocessing and model training tools for Teradata databases.
TDPrepView MCP Server
⚠️ ALPHA SOFTWARE - DEMO USE ONLY - NOT FOR PRODUCTION
MCP server providing ML data preprocessing pipeline and model training tools for Teradata databases.
Features
- Upload datasets (iris, diabetes, wine, breast_cancer, california_housing, titanic, adult_census) to Teradata
- Create ML preprocessing pipelines with automatic feature engineering
- Generate interactive Sankey diagrams for pipeline visualization
- Train Random Forest models (classification/regression)
- Deploy models as database views using ONNX/BYOM
- Make predictions through deployed model endpoints
Installation
-
Clone repository:
git clone <repository-url> cd tdprepview-mcp
-
Install dependencies:
uv sync
-
Set up environment variables for database connection (see Configuration section below)
Configuration for Claude Desktop (macOS)
Add the following configuration to your Claude Desktop config file located at:
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"tdprepview": {
"command": "uv",
"args": [
"--directory",
"/Users/YOUR_USERNAME/path/to/tdprepview-mcp",
"run",
"python",
"server.py"
],
"env": {
"DB_HOST": "your-teradata-host.com",
"DB_USER": "your_username",
"DB_PASSWORD": "your_password"
}
}
}
}
Important Notes:
-
Replace the path: Change
/Users/YOUR_USERNAME/path/to/tdprepview-mcp
to the actual path where you cloned this repository. -
Set your database credentials: Replace the environment variables with your actual Teradata connection details:
DB_HOST
: Your Teradata server hostname or IPDB_USER
: Your Teradata usernameDB_PASSWORD
: Your Teradata password
Available Tools
get_dummy_data_upload
- Upload datasets to Teradata with automatic indexingcreate_ml_autoprep_pipeline
- Create and fit preprocessing pipelinessave_pipeline_sankey_file
- Generate interactive pipeline visualizationsdeploy_pipeline_to_database
- Deploy pipelines as database viewstrain_random_forest_model
- Train ML models on preprocessed datadeploy_model_to_teradata
- Deploy ONNX models using BYOMmake_predictions
- Test model endpoints with sample data
Example Workflow
1. Upload dataset: "Upload the boston housing dataset to my database"
2. Create pipeline: "Create a preprocessing pipeline for this boston housing table"
3. Generate viz: "Save a Sankey diagram for this pipeline"
4. Deploy pipeline: "Deploy the pipeline as a view "
5. Train model: "Train a classification model on it"
6. Deploy model: "Deploy this model to Teradata"
7. Test predictions: "Make some test predictions using the deployed model"