# Connect OpenLake to Your AI Agent (Universal MCP)

> Use your AI to query data, analyze data, and monitor performance in OpenLake — and much more.

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

## Key Facts
- Software: OpenLake | Category: Marketing & Analytics (The Blackfell Group) | Auth: Cloud workspace OAuth 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 Query history, Table metadata, Table changes; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://app.universalmcp.app/connect?system=openlake | Guide: https://universalmcp.app/mcp/openlake
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (3 actions: 0 Read, 3 Write)
Perform 3 actions across query history, table metadata, and table changes. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Query history (1):** Query history (write)
- **Table metadata (1):** Table metadata (write)
- **Table changes (1):** Table changes (write)

## Example Prompts for OpenLake
- **Slowest queries:** "List the ten slowest OpenLake Trino queries from yesterday with their catalog, table, and bytes scanned."
- **Table file health:** "Report OpenLake Iceberg tables with small-file counts or stale snapshots that may need compaction."
- **Cluster capacity:** "Show OpenLake Trino worker utilization by hour for yesterday and flag any sustained queueing periods."
- **Draft tuning change:** "Draft an OpenLake partitioning change for orders_events as a plan only, with no table modification."
