# Connect Materialize to Your AI Agent (Universal MCP)

> Use your AI to query data, analyze data, and build dashboards in Materialize — and much more.

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

## Key Facts
- Software: Materialize | Category: Other B2B Software (Materialize) | 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 SQL Views and Sources, Cluster Metrics, Schema Changes; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://app.universalmcp.app/connect?system=materialize | Guide: https://universalmcp.app/mcp/materialize
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (17 actions: 10 Read, 7 Write)
Perform over 10 actions across data products, agent feedback, access and security, sources and freshness, and evaluation. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Data Products (4):** Transform Operational Data with SQL (write), Build Real-Time Data Products (write), Assemble End-to-End Context (write), Query Live Context Objects (read)
- **Agent Feedback (4):** Monitor Agentic Feedback Loops (read), Write Operational Database Changes (write), Read Fresh Context for Agents (read), Track Tool Call Effects (read)
- **Access and Security (4):** Sign In to Materialize (read), Start Free Materialize Trial (write), Review Cloud Security and Compliance (read), Book a Materialize Demo (write)
- **Sources and Freshness (3):** Connect OLTP Database Source (write), Compare Data Lakehouse Freshness (read), Review Context Update Latency (read)
- **Evaluation (2):** Browse Materialize Customer Stories (read), Review Materialize Pricing (read)

## Example Prompts for Materialize
- **Lag Investigation:** "List every Materialize view with ingest lag over 5 seconds and the source tables feeding each one."
- **Schema Review:** "Show the SQL definition of the orders_by_region view in Materialize and list its upstream dependencies."
- **Query Performance:** "Summarize Materialize query latency by cluster for the past week and list the three slowest statements."
- **Draft Index Change:** "Draft a new index definition for the inventory_levels view in Materialize and hold it for review before applying."
