Atlas / MCP servers / astoriel / Dbt Doctor

Dbt DoctorSAFE

mcp/astoriel/dbt-doctor

AI-driven quality & governance MCP Server for dbt projects. Audit coverage, profile data, detect schema drift, and auto-generate documentation — all through natural language with your AI assistant.

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
12 10r · 2w · 0d
Transport
—
License
MIT
Stars
134
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

AI-driven quality and governance MCP Server for dbt projects. Audit coverage, profile data, detect schema drift, and auto-generate documentation—all through natural language with an AI assistant.

Project status

Active alpha. Snapshot date: 2025-12-25. See STATUS.md and KNOWN_LIMITATIONS.md for what is working today, what is planned, and what is not claimed.

What is dbt-doctor?

dbt-doctor is a Model Context Protocol (MCP) server that provides your AI coding assistant with deep context regarding your dbt project's health. Instead of manually running CLI commands and analyzing outputs, you can interact with your AI:

  • "What's the overall health of my dbt project?"
  • "Profile the fct_orders model and suggest appropriate tests."
  • "Auto-document the models that have the lowest test coverage."

The tool handles the heavy operations—reading the manifest, profiling your data warehouse, detecting schema drift, and writing back to schema.yml files—without requiring you to leave the chat.

Note: This tool is designed to complement the official dbt-labs/dbt-mcp. While dbt-labs/dbt-mcp focuses on running dbt commands, dbt-doctor focuses on auditing, profiling, and documentation.

Key Features

Project Auditing

Evaluate your pro

Read from source at commit 7f72dd276b6fOBSERVED · 2026-10-07
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.

claude-code
claude mcp add dbt-doctor -- uvx dbt-doctor
claude-desktop
{
  "mcpServers": {
    "dbt-doctor": {
      "command": "uvx",
      "args": [
        "dbt-doctor"
      ]
    }
  }
}
03

Exposed tools (12)

10 read · 2 write · 0 destructive.

ToolRiskDescription
analyze_dagread
audit_projectread
check_test_coverageread
detect_schema_driftread
execute_querywrite
generate_model_docsread
get_model_detailsread
get_project_healthread
list_modelsread
profile_modelread
suggest_testsread
update_model_yamlwrite
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
none-observed
Shell
none-observed
Dependencies
pinned
Secrets in source
none-found

Findings (2)

INFOInventory / provenance · inv.oversize · CWE-1104
logo.png
logo.png
Why it matters. 4798708 bytes not read
INFOPrompt injection · prompt.credential_read · CWE-94, CWE-1427
SECURITY.md:6
- Use read-only database credentials for profiling and schema drift checks.
Why it matters. asks the agent to read credentials

Gates applied: no_behavioural_pass.

Audited 2026-10-07 · audit v0.4.1 · source sha 7f72dd276b6ffull audit observations/trust-audit/mcp-server/astoriel__dbt-doctor.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-077f72dd276b6fSAFEB89first audit
06

Questions

What is the Dbt Doctor MCP server?

AI-driven quality & governance MCP Server for dbt projects. Audit coverage, profile data, detect schema drift, and auto-generate documentation — all through natural language with your AI assistant.

What tools does Dbt Doctor expose?

12 in total: 10 read-only, 2 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is Dbt Doctor safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.

What credentials does Dbt Doctor need?

No credential environment variables were found in its source, so it appears to need none.

How current is this page?

The grade is for one exact copy of the source (7f72dd276b6f), read on 2026-10-07. The repository is watched and re-audited when it changes.

Advertisement