Teradata Mcp Poc — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Teradata Mcp Poc (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
This project demonstrates how Claude AI can be connected directly to Teradata to enable:
"We started with 50,000 customers and 2 years of transactions. By asking Claude natural language questions, we profiled our data, identified quality issues, and ran customer segmentation — all without writing a single line of SQL manually. Everything ran inside Teradata. No data left the platform."
| Phase | Features Used | What It Reveals |
|---|---|---|
| 1. Behavioral | RFM (Recency, Frequency, Monetary) | How customers transact |
| 2. + Risk | RFM + Credit Score | Who is financially at-risk |
| 3. + Demographics | RFM + Risk + Age + Income | Full customer identity |
Each phase finds a different optimal number of clusters — proving that richer data = richer insight.
┌─────────────────────────────────────────────────────┐
│ Claude Desktop │
│ (Natural Language Interface) │
└────────────────────┬────────────────────────────────┘
│ MCP Protocol
┌────────────────────▼────────────────────────────────┐
│ MCP Server (server.py) │
│ 13 Tools: query, profile, skew, PI, KMeans... │
└────────────────────┬────────────────────────────────┘
│ teradatasql
┌────────────────────▼────────────────────────────────┐
│ Teradata ClearScape Analytics │
│ transactions │ demographics │ credit_risk │
│ segmentation_*_scaled │ val.tda_kmeans │
└─────────────────────────────────────────────────────┘teradata-mcp-poc/
│
├── config.example.yaml ← Copy this → config.yaml and add credentials
├── requirements.txt ← Python dependencies
│
├── mcp/
│ └── server.py ← MCP server (15 tools for Teradata)
│
├── notebooks/
│ └── 01_poc_walkthrough.ipynb ← Full PoC narrative (run this first)
│
├── scripts/
│ └── kmeans_experiment.py ← Standalone Python experiment runner
│
└── docs/
└── mcp_tools_reference.md ← All 15 MCP tools explainedgit clone https://github.com/YOUR_USERNAME/teradata-mcp-poc.git
cd teradata-mcp-pocpip install -r requirements.txtcp config.example.yaml config.yaml
# Edit config.yaml with your Teradata host, username, and passwordAdd this to your Claude Desktop config file:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json{
"mcpServers": {
"teradata": {
"command": "python",
"args": ["C:\\path\\to\\teradata-mcp-poc\\mcp\\server.py"]
}
}
}Restart Claude Desktop — you'll see teradata appear in Settings → Connectors.
Open Claude Desktop and ask:
List all my Teradata databases
Show me the tables in demo_user
Profile the transactions table
Check for data skew on the customer_demographics table
Run a data quality check on demo_user.credit_riskjupyter notebook notebooks/01_poc_walkthrough.ipynb| Tool | What it does |
|---|---|
run_sql | Execute any Teradata SQL |
list_databases | Show all accessible databases |
list_tables | Show tables in a database |
get_schema | Column definitions via DBC.ColumnsV |
get_table_ddl | Full CREATE TABLE statement |
profile_table | Row count, nulls, distinct values, size |
check_duplicates | Find duplicate rows on key columns |
get_table_stats | Optimizer statistics (COLLECT STATS) |
check_data_skew | AMP distribution analysis |
get_pi_info | Primary Index definition |
find_table_references | Views/macros that use a table |
export_to_csv | Save query results to CSV |
get_space_usage | Perm space usage per database |
run_kmeans_experiment | Elbow analysis for k=2..N |
run_kmeans_final | Save final KMeans model to table |
Data exploration:
"Profile the transactions table and tell me if there are any data quality issues"
Segmentation:
"Run a KMeans experiment on segmentation_rfm_scaled using monetary_scaled, frequency_scaled, recency_scaled for k=2 to 8"
Performance:
"Check if the customer_demographics table has any skew issues and review its Primary Index"
Lineage:
"Find everything that references the transactions table"
The PoC uses a synthetic customer dataset with:
| Component | Technology |
|---|---|
| AI Interface | Claude Desktop |
| AI ↔ Data Protocol | MCP (Model Context Protocol) |
| Database | Teradata ClearScape Analytics |
| In-Database ML | Teradata VAL (val.tda_kmeans) |
| Python ML | teradataml, scikit-learn |
| Visualization | matplotlib, seaborn |
MIT — free to use and adapt for your own PoC.
Built with Claude Desktop + Teradata ClearScape Analytics
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.