tdprepview-mcp
Enables machine learning data preprocessing pipeline creation and model training, deployment, and prediction for Teradata databases.
README
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-mcpto 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"
Example Execution in Claude Desktop:
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.