$ timeahead.in
/ servers/pypi/dbt-mcp
pypi

dbt-mcp

A MCP (Model Context Protocol) server for interacting with dbt.

578 stars29k/wkupdated 0d agogithub ↗
83good
▣ Overview

What it does

The dbt MCP server connects dbt projects to Claude, exposing project structure, execution, and data access through the Model Context Protocol. It supports dbt Core via local manifest and dbt Cloud/Platform via Discovery, Admin, and Semantic Layer APIs. Within a conversation, an agent can explore lineage, execute dbt commands, run SQL queries, and retrieve metrics.

Who it's for

Analytics engineers and data engineers maintaining dbt projects who want Claude to navigate their transformation logic, generate SQL, or execute dbt runs without leaving the chat. dbt Cloud and dbt Platform users benefit most from Semantic Layer and Admin API access.

Common use cases

  • Map a model's upstream sources and downstream dependents using dbt lineage.
  • Generate SQL from natural language descriptions using text_to_sql.
  • Execute dbt run, dbt test, or dbt build on-demand via Claude.
  • Query the dbt Semantic Layer to fetch metrics and dimension values.
  • Check model health: test failures, run status, and source freshness.

Setup pitfalls

  • Requires dbt API token in environment (credential found during scan); ensure it has scope for required APIs.
  • Filesystem writes: tools like compile, docs, and clone modify local and cloud state—sandbox or review Claude's tool access carefully.
  • dbt CLI tools are destructive: run, build, clone, and similar change your database and warehouse. Only enable if you fully trust the agent.
  • Local manifest may drift: keep manifest.json fresh with dbt parse for accurate get_node_details_dev results.
1 credential detected in repository history via Gitleaks
▣ Score BreakdownMCPScore = Σ(raw × weight)
DimensionRawWeighted
Security
35%
80
28.0
Freshness
25%
100
25.0
Adoption
20%
81
16.3
Quality
10%
90
9.0
Trust
10%
50
5.0
Total
83.3
⚿ Capabilities & Risk Explainer
fs readfs writenetworkexecsecrets
◆ Risk level: high
fs read + fs write + network + exec + secrets active — can execute code, access credentials, and make external network calls.
⚙ Install config
Claude Desktop · Cursor · Windsurf · VS Code (Copilot) · Claude Code
add to your MCP client config:
{
  "mcpServers": {
    "dbt-1": {
      "command": "uvx",
      "args": [
        "dbt-mcp"
      ]
    }
  }
}
📈 Score historylast 30 snapshots
5/10/20266/11/2026 · 30 snapshots
⚙ Maintenance health
77/ 100 · is this project alive?
contributors (1y)33
top contributor share34%
releases (1y)72
last release0d ago
ci✓ passing
⛁ Raw data
weekly downloads29k
github stars578
forks124
open issues33
license✓ present
readme length7904 chars
last publish0d ago
last commit0d ago
last updated1d ago
install verified✓ pass · 27d ago
owner of this server? claim your listing to get a verified badgeclaim →
🔔 Score drop alerts
get notified by email when this server's score drops 5+ points