# Connect dbt to Your AI Agent (Universal MCP)

> Use your AI to analyze data, schedule jobs, and run deployments in dbt — and much more.

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

## Key Facts
- Software: dbt | Category: Marketing & Analytics (dbt Labs) | Auth: Guided workspace authorization
- Pricing: 100% Free (unlimited users, unlimited software, zero task metering)
- Permissions & Security: Per-person, per-area Off/Read/Write across Run results, Model code, Pull requests; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://universalmcp.app/mcp/dbt-transform | Guide: https://universalmcp.app/mcp/dbt-transform
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (3 actions: 0 Read, 3 Write)
Perform 3 actions across run results, model code, and pull requests. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Run results (1):** Run results (write)
- **Model code (1):** Model code (write)
- **Pull requests (1):** Pull requests (write)

## Example Prompts for dbt
- **Failing tests:** "In dbt, group the failing tests from the last production run by model and owner so I can triage them."
- **Lineage check:** "Using dbt, trace the upstream sources of fct_daily_sales and show which ones were loaded late."
- **Freshness report:** "In dbt, list every source with freshness warnings this week and the last time each table was loaded."
- **Draft pull request:** "Draft a fix for the not_null test on stg_orders in dbt and hold the pull request until I approve it."
