dbt-mcp

MCP.Pizza Chef: dbt-labs

Built and maintained by dbt Labs, this hands a chat assistant the working knowledge of a dbt project: which metrics exist, what a number is made of, where it came from, whether last night's run passed its tests, and what would break if a table changed. It can also generate the query, run dbt commands, and search the official dbt documentation. It works with dbt Core, dbt Fusion and the dbt Platform, and you sign in with your own dbt credentials.

Coding
Data

Use This MCP server To

Ask what last quarter's revenue was, in plain English Find out which report a number came from Check whether a nightly data job failed See every metric my team has already defined Trace what breaks if I change one table Draft the starter files for a new data model

README

dbt MCP Server

OpenSSF Best Practices

This MCP (Model Context Protocol) server provides various tools to interact with dbt. You can use this MCP server to provide AI agents with context of your project in dbt Core, dbt Fusion, and dbt Platform.

Read our documentation here to learn more. This blog post provides more details for what is possible with the dbt MCP server.

Experimental MCP Bundle

We publish an experimental Model Context Protocol Bundle (dbt-mcp.mcpb) with each release so that MCPB-aware clients can import this server without additional setup. Download the bundle from the latest release assets and follow Anthropic's mcpb CLI docs to install or inspect it.

Feedback

If you have comments or questions, create a GitHub Issue or join us in the community Slack in the #tools-dbt-mcp channel.

Architecture

The dbt MCP server architecture allows for your agent to connect to a variety of tools.

architecture diagram of the dbt MCP server

Tools

SQL

Tools for executing and generating SQL on dbt Platform infrastructure.

  • execute_sql: Executes SQL on dbt Platform infrastructure with Semantic Layer support.
  • text_to_sql: Generates SQL from natural language using project context.

dbt-mcp FAQ

Which apps does this work in?
Cursor is documented in detail, and it runs in any other assistant that accepts MCP settings, including Claude and Claude Code.
Do I need a paid dbt account?
The platform tools do need one. Other tools work against a dbt project on your own machine.
Can I use this to answer a business question without writing SQL?
Yes — it turns a plain-language question into a query over the metrics your team has defined.
Is this official?
Yes. It is published by dbt Labs and was updated in August 2026.
Can it change my data?
It can if you switch on the dbt command tools, and the project warns to only do that with a client you trust.
How hard is the setup?
Expect developer-level setup with credentials and a project path, though an experimental single-file bundle is being trialled for clients that support it.