# Connect dbt Labs to Your AI Agent (Universal MCP)

> Use your AI to analyze data, manage databases, and run deployments in dbt Labs — and much more.

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

## Key Facts
- Software: dbt Labs (Fivetran + dbt Labs is now Fivetran) | Category: Manufacturing & Supply Chain | 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 Run results, Lineage graph, Repository changes; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://app.universalmcp.app/connect?system=dbt-labs | Guide: https://universalmcp.app/mcp/dbt-labs
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (9 actions: 4 Read, 5 Write)
Perform 9 actions across models, testing, documentation, jobs, version control, validation, and lineage. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Models (1):** Build Model (write)
- **Testing (1):** Create Data Test (write)
- **Documentation (1):** Generate Documentation (write)
- **Jobs (1):** Schedule Job (write)
- **Version Control (1):** Create Pull Request (write)
- **Validation (1):** Check SQL Errors (read)
- **Lineage (1):** Trace Column Lineage (read)
- **AI Development (1):** Investigate Project (read)
- **Semantic Layer (1):** Query Metrics (read)

## Example Prompts for dbt Labs
- **Lineage trace:** "Trace which downstream dbt models depend on the failing fct_shipments model."
- **Freshness check:** "List dbt sources that breached their freshness SLA in the last nightly run."
- **Test history:** "Compare dbt test pass rates across the last five runs for the orders project."
- **Draft model fix:** "Draft a SQL fix for the failing dbt test and wait for my approval before merging."
