Dbt MCP
Dbt MCP is an MCP server that adds data and analytics tools to AI assistants such as Claude Desktop, Claude Code and Cursor. A MCP (Model Context Protocol) server for interacting with dbt. It has 612 GitHub stars, is released under the Apache-2.0 license and runs locally with uvx dbt-mcp.
github.com/dbt-labs/dbt-mcp (opens in a new tab)
Data as of from the GitHub API; description from the project's repository. Report an error
- Official
- Data & analytics
- Apache-2.0
- Active
Install Dbt MCP
Generated from the server's published package. Replace your-value with your own values.
Claude Desktop
{
"mcpServers": {
"dbt-mcp": {
"command": "uvx",
"args": [
"dbt-mcp"
]
}
}
}Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.
Claude Code
claude mcp add --transport stdio dbt-mcp -- uvx dbt-mcpCursor
{
"mcpServers": {
"dbt-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"dbt-mcp"
]
}
}
}Project file; use ~/.cursor/mcp.json to enable it in every project.
VS Code
{
"servers": {
"dbt-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"dbt-mcp"
]
}
}
}Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).
Tools (40)
Parsed from the Tools section of the README; check the repository for the current list.
execute_sqlExecutes SQL on dbt Platform infrastructure with Semantic Layer support.
text_to_sqlGenerates SQL from natural language using project context.
get_dimension_valuesGets distinct values for a dimension; option to scope to specific metrics.
get_dimensionsGets dimensions for specified metrics.
get_entitiesGets entities for specified metrics.
get_metrics_compiled_sqlReturns compiled SQL for metrics without executing the query.
list_metricsRetrieves all defined metrics.
list_saved_queriesRetrieves all saved queries.
query_metricsExecutes metric queries with filtering and grouping options.
get_all_macrosRetrieves macros; option to filter by package or return package names only.
get_all_modelsRetrieves name and description of all models.
get_all_sourcesGets all sources with freshness status; option to filter by source name.
get_exposure_details(deprecated — use getnodedetails instead)*
get_exposuresGets all exposures (downstream dashboards, apps, or analyses).
get_lineageGets a bounded lineage graph with type, depth, and direction filtering.
get_macro_details(deprecated — use getnodedetails instead)*
get_mart_modelsRetrieves all mart models.
get_model_children(deprecated — use getlineage instead)*
get_model_details(deprecated — use getnodedetails instead)*
get_model_healthGets health signals: run status, test results, and upstream source freshness.
get_model_parents(deprecated — use getlineage instead)*
get_model_performanceGets execution history for a model; option to include test results.
get_node_detailsGets full details for any dbt resource type (model, source, exposure, test, seed, snapshot, macro, semantic_model).
get_related_modelsFinds similar models using semantic search.
get_seed_details(deprecated — use getnodedetails instead)*
get_semantic_model_details(deprecated — use getnodedetails instead)*
get_snapshot_details(deprecated — use getnodedetails instead)*
get_source_details(deprecated — use getnodedetails instead)*
get_test_details(deprecated — use getnodedetails instead)*
search[Alpha] Searches for resources across the dbt project (not generally available).
search_public_mesh_modelsFinds public dbt Mesh models across projects and confirms producer identity so you can build a verified cross-project…
buildExecutes models, tests, snapshots, and seeds in DAG order.
cloneClones selected nodes from the specified state to the target schema(s).
compileGenerates executable SQL from models/tests/analyses; useful for validating Jinja logic.
docsGenerates documentation for the dbt project.
get_lineage_devRetrieves lineage from local manifest.json with type and depth filtering.
get_node_details_devRetrieves node details from local manifest.json (models, seeds, snapshots, sources).
listLists resources in the dbt project by type with selector support.
parseParses and validates project files for syntax correctness.
showExecutes SQL against the database and returns results.
About Dbt MCP
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.
- data-analytics
- data-engineering
- llm
- mcp
- mcp-server
- model-context-protocol
- dbt
Similar MCP servers
More data & analytics MCP servers
Openanalytics
OpenLabs-so/openanalytics
Open-source, privacy-first and cookieless web analytics with revenue attribution and an MCP server.
Too new to judge · created Aug 11, 2026
Data & analyticsTypeScriptApple Health
neiltron/apple-health-mcp
Local-first Apple Health MCP server for questions about your sleep, workouts and heart data.
Active · last commit Oct 2, 2026
Data & analyticsTypeScriptClickHouse
ClickHouse/mcp-clickhouse
Official ClickHouse MCP server for querying and exploring ClickHouse clusters and chDB.
Active · last commit Oct 21, 2026
OfficialData & analyticsPythonMCP Server Motherduck
motherduckdb/mcp-server-motherduck
SQL analytics and data engineering for AI Assistants and IDEs.
Active · last commit Oct 7, 2026
Data & analyticsPythonPower BI Authoring MCP Server (Local)
microsoft/powerbi-modeling-mcp
The Power BI Authoring MCP server lets an AI agent create and change Power BI semantic models.
Active · last commit Sep 29, 2026
OfficialData & analyticsTableau MCP
tableau/tableau-mcp
Tableau's official MCP Server. Helping agents see and understand data.
Active · last commit Oct 26, 2026
Data & analyticsTypeScript
How do I install the Dbt MCP MCP server?
Add the command uvx dbt-mcp to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.
Is Dbt MCP free?
The server is open source under the Apache-2.0 license, so running it is free. It does not declare any required API key.
Is Dbt MCP actively maintained?
The most recent commit was on Oct 22, 2026. The latest release is v2.8.0, published Oct 13, 2026. appsgit only lists MCP servers with a commit in the last six months.