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 607 GitHub stars, is released under the Apache-2.0 license and runs locally with uvx dbt-mcp.
- Official
- Data & analytics
- Apache-2.0
- Actively maintained
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).
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.
testRuns tests to validate data and model integrity.
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
Ida Pro MCP
mrexodia/ida-pro-mcp
AI-powered reverse engineering assistant that bridges IDA Pro with language models through MCP.
Data & analyticsPythonAsk Jev
pollinations/pollinations
Evaluate state with typed choice, score, and probability questions.
Data & analyticsTypeScriptJitsu
jitsucom/jitsu
Manage Jitsu data pipelines: destinations, streams, connections, functions, live events.
OfficialData & analyticsTypeScriptGoogle Ads + Meta Ads + SEO/GEO MCP
irinabuht12-oss/google-ads-meta-ads-mcp
Google Ads, Meta Ads, SEO, GEO & GA4 MCP by Ryze AI - audits, reports, keywords, Search Console.
Data & analyticsBlitz
blitzdotdev/blitz-mac
Give AI agents full control over iOS/macOS development via a native macOS app with 30+ MCP tools.
Data & analyticsSwiftChunkhound
chunkhound/chunkhound
Your entire engineering context, deeply understood.
OfficialData & analyticsPython
What is 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 607 GitHub stars, is released under the Apache-2.0 license and runs locally with uvx dbt-mcp. The source code is at github.com/dbt-labs/dbt-mcp.
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 6, 2026. The latest release is v2.6.0, published Oct 6, 2026. appsgit only lists MCP servers with a commit in the last six months and re-checks every server daily.