# Connect Delta Lake to Your AI Agent (Universal MCP)

> Use your AI to manage databases, query data, and analyze data in Delta Lake — and much more.

## Quick Connect (CLI / MCP)
- Claude Code: `claude mcp add --transport http delta-lake https://api.universalmcp.app/mcp/delta-lake`
- Remote MCP URL (ChatGPT, Claude, Cursor, VS Code): `https://api.universalmcp.app/mcp/delta-lake` (unified: `https://api.universalmcp.app/mcp`)
- Actions & Discovery: `POST https://universalmcp.app/mcp/directory` (`get_software_actions({ slug: "delta-lake", query })` & `search_software`); configs: https://universalmcp.app/install.md

## Key Facts
- Software: Delta Lake (a series of LF Projects, LLC) | Category: Marketing & Analytics | Auth: Encrypted API key or guided local/on-prem setup | Deployment: hybrid
- Pricing: 100% Free (unlimited users, unlimited software, zero task metering)
- Permissions & Security: Per-person, per-area Off/Read/Write across Read table metadata, Read query statistics, Run maintenance jobs; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://app.universalmcp.app/connect?system=delta-lake | Guide: https://universalmcp.app/mcp/delta-lake
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (18 actions: 8 Read, 10 Write)
Perform over 10 actions across table storage, sharing & governance, interoperability, and engine integrations. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Table Storage (8):** Create Delta Table (write), Append Rows To Delta Table (write), Query Table Time Travel (read), Restore Table To Prior Version (write), Inspect Transaction Log (read), Optimize Table Layout (write), Vacuum Stale Files (write), Inspect Table Metadata (read)
- **Sharing & Governance (4):** Create Delta Share (write), List Shared Tables (read), Grant Share Access To Recipient (write), Register Catalog Managed Table (write)
- **Interoperability (3):** Enable UniForm On Table (write), Read Table With Iceberg Client (read), Read Table With Hudi Client (read)
- **Engine Integrations (3):** Configure Spark Session For Delta (write), Query Delta Table With Trino (read), Stream Delta Table With Flink (read)

## Example Prompts for Delta Lake
- **Table growth:** "Rank the Delta Lake tables by row growth over the last 30 days and flag any with rising small file counts."
- **Schema drift:** "Compare the current Delta Lake schema for clickstream_bronze against the version from November 1."
- **Query cost:** "Show the slowest Spark SQL queries reading Delta Lake tables this week and the partitions they scan."
- **Draft OPTIMIZE job:** "Draft an OPTIMIZE and Z-ORDER job for orders_silver in Delta Lake and hold it for my approval first."
