dbt MCP Skill

⏱️ 30 sec read 🧠 Claude Code Skill

What it is: dbt Labs' official MCP server that exposes a dbt project — its models, sources, tests, and semantic layer — to any MCP-compatible agent including Claude Code and Cursor. It's not a single SKILL.md but it pairs perfectly with one for end-to-end dbt-aware coding.

Why it matters for data work

Without project context an LLM will happily hallucinate column names that don't exist. Wiring dbt-mcp into Claude Code grounds the agent in your schema, your models, and your tests, so generated SQL actually compiles against your warehouse on first try.

Install & configure

uvx --from dbt-mcp dbt-mcp

Then add the server to your ~/.claude.json MCP config pointing at your dbt project root. Restart Claude Code and the new tools (list_models, get_model, get_lineage, etc.) become available.

Example usage

Ask Claude "which downstream models break if I drop the customer_email column from stg_customers?" — it'll call get_lineage, walk the graph, and answer with concrete model names instead of guessing.

Author & links

Author: dbt Labs

Repo: github.com/dbt-labs/dbt-mcp

License: Apache-2.0

Related skills

Pair with the Postgres MCP server for raw query execution, or the BigQuery MCP server if your warehouse is GCP.

← Back to Claude Code Skills