# dbt MCP

[BASE product page](<https://base.akulich.dev/en/library/github-com-dbt-labs-dbt-mcp/>) · [Resource](<https://github.com/dbt-labs/dbt-mcp>)

ID: github\-com\-dbt\-labs\-dbt\-mcp · Language: en
Schema version: 1 · Data version: cbbe7123b47a5ae80983

This is editorial data. An unknown field neither confirms nor rules out a capability.
dataVersion is a dataset fingerprint, not evidence of a recent fact check.

The official dbt Labs MCP server for dbt Core/Cloud: model metadata, project commands, and Semantic Layer queries\.

## Type

MCP tools for developers

## Entry type

mcp

## Separate catalog

No

## [Access conditions](<https://base.akulich.dev/en/library/github-com-dbt-labs-dbt-mcp/#resource-access>)

free

## [What you can use for free](<https://base.akulich.dev/en/library/github-com-dbt-labs-dbt-mcp/#resource-access>)

You can use the code under the stated license; servers, APIs, and compute must be provided separately\.

## [Paid features and costs](<https://base.akulich.dev/en/library/github-com-dbt-labs-dbt-mcp/#resource-access>)

Warehouse compute, dbt Cloud, and model APIs are billed separately\.

## [Access and limitations](<https://base.akulich.dev/en/library/github-com-dbt-labs-dbt-mcp/#resource-access>)

You can use the code under the stated license; servers, APIs, and compute must be provided separately\. Warehouse compute, dbt Cloud, and model APIs are billed separately\.

## [Use cases](<https://base.akulich.dev/en/library/github-com-dbt-labs-dbt-mcp/#resource-tasks>)

- Choose Core or Cloud mode and restrict the target\.
- Inspect model lineage and run the required dbt command on a test target\.

## Category IDs

- integrations
- backend

## Subcategory IDs

- integrations\.data
- backend\.workflows

## Tags

- dbt MCP
- dbt\-labs
- MCP

## Also known as

- dbt\-labs/dbt\-mcp

## [Selection purpose](<https://base.akulich.dev/en/library/github-com-dbt-labs-dbt-mcp/#resource-selection>)

Choose Core or Cloud mode and restrict the target\.

## [Choose this when](<https://base.akulich.dev/en/library/github-com-dbt-labs-dbt-mcp/#resource-selection>)

- Choose Core or Cloud mode and restrict the target\.
- Inspect model lineage and run the required dbt command on a test target\.

## [Requirements](<https://base.akulich.dev/en/library/github-com-dbt-labs-dbt-mcp/#resource-selection>)

- Prepare a dbt project and target for local CLI commands; configure the relevant platform access for Semantic Layer\.

## [Limitations](<https://base.akulich.dev/en/library/github-com-dbt-labs-dbt-mcp/#resource-selection>)

- Costs and limits of free use: Warehouse compute, dbt Cloud, and model APIs are billed separately\.
- Terms of use: Apache\-2\.0 for this repository; connected services, models, and data have separate terms\.
- The toolset is not entirely read\-only: dbt run can create or update models in the warehouse\.

## [Questions before use](<https://base.akulich.dev/en/library/github-com-dbt-labs-dbt-mcp/#resource-faq>)

### What can you use for free in dbt MCP?

You can use the code under the stated license; servers, APIs, and compute must be provided separately\.

### What additional costs might arise with dbt MCP?

Warehouse compute, dbt Cloud, and model APIs are billed separately\.

### What terms of use matter for dbt MCP?

Apache\-2\.0 for this repository; connected services, models, and data have separate terms\.

### How do you get started with dbt MCP?

Choose Core or Cloud mode and restrict the target\. Inspect model lineage and run the required dbt command on a test target\. Compare the result with the workflow's goal; after changing the project, run its standard checks\.

### How does retrieving compiled SQL differ from executing a query?

get\_metrics\_compiled\_sql returns SQL without executing the query, while query\_metrics executes it\. Similarly, dbt compile and dbt run serve different purposes: compilation is not the same as materializing models in the warehouse\.

## Sources for the selection guide

- [https://github\.com/dbt\-labs/dbt\-mcp](<https://github.com/dbt-labs/dbt-mcp>)
- [https://raw\.githubusercontent\.com/dbt\-labs/dbt\-mcp/main/README\.md](<https://raw.githubusercontent.com/dbt-labs/dbt-mcp/main/README.md>)
- [https://raw\.githubusercontent\.com/dbt\-labs/dbt\-mcp/main/LICENSE](<https://raw.githubusercontent.com/dbt-labs/dbt-mcp/main/LICENSE>)

## [Possible workflow](<https://base.akulich.dev/en/library/github-com-dbt-labs-dbt-mcp/#resource-scenario>)

The official dbt Labs MCP server for dbt Core/Cloud

A possible workflow; this is not a report of hands-on testing.

## Before you start

- A dbt project, profiles, and a test warehouse\.

## Steps

1. Choose Core or Cloud mode and restrict the target\.
2. Inspect model lineage and run the required dbt command on a test target\.
3. Compare the result with the workflow's goal; after changing the project, run its standard checks\.

## Check your result

- Models and data tests pass; a test warehouse and target are selected\.
- Check connection permissions and dependency terms; confirm external service costs if the workflow requires them\.

## [License](<https://base.akulich.dev/en/library/github-com-dbt-labs-dbt-mcp/#resource-license>)

Apache\-2\.0 for this repository; connected services, models, and data have separate terms\.

## License explanations for the specified scope

### Apache 2\.0 — permissive license with patent terms

You can use and modify the code in commercial and closed\-source projects\. When distributing it, retain the license and relevant notices, identify modified files, and include NOTICE if provided\. Authors grant a limited patent license for their contributions; it does not grant permission to use trademarks\.

[License terms](<https://www.apache.org/licenses/LICENSE-2.0>)

## [Sources](<https://base.akulich.dev/en/library/github-com-dbt-labs-dbt-mcp/#resource-sources>)

- [Official repository](<https://github.com/dbt-labs/dbt-mcp>)
- [Documentation](<https://raw.githubusercontent.com/dbt-labs/dbt-mcp/main/README.md>)
- [License](<https://raw.githubusercontent.com/dbt-labs/dbt-mcp/main/LICENSE>)

## Editorial review date

2026\-10\-06

## Editorial review scope

The README and license were reviewed against public primary sources on 2026\-10\-06\. The code was not installed or run; applicability depends on the project and client versions\.

Dates refer to the stated editorial review, not hands-on testing, a product update, or a recent review of all sources.
