
astoriel/DBT-Doctor 是从 https://github.com/astoriel/dbt-doctor. 导入的 MCP 服务器候选人。
概览
astoriel/DBT-Doctor 是从 https://github.com/astoriel/dbt-doctor. 导入的 MCP 服务器候选人。
概述(AI 翻译)
基于AI驱动的质量与治理MCP服务器,适用于数据库交易项目。 审计覆盖、剖面数据、模式漂移检测和自动生成文档——所有这些都通过AI助手的自然语言实现。
项目状态
活跃的Alpha版本。快照日期:2025-12-25。请参阅 STATUS.md 和KNOWN_LIMITATIONS.md,了解目前可用的、计划中的以及未被认领的部分。
什么是dbt医生?
dbt-doctor 是一个模型上下文协议(MCP)服务器,为您的 AI 编码助手提供关于 DBT 项目健康状况的深入上下文。您可以无需手动运行 CLI 命令和分析输出,而是可以与 AI 交互:
- “我的辩证行为疗法项目整体状况如何?”
- “对fct_orders模型进行画像并建议合适的测试。”
- “自动记录测试覆盖率最低的模型。”
该工具处理繁重操作——读取清单、分析数据仓库、检测模式漂移以及写回schema.yml文件——无需你离开聊天。
注意:该工具旨在补充官方的 dbt-labs/dbt-mcp。
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
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 project with a 0–100% score based on documentation, testing, and naming conventions. Access a ranked list of models lacking coverage to prioritize your efforts.
Data Profiling
Perform efficient single-pass column statistics—including NULL rates, cardinality, min/max values, and uniqueness—using one batched SQL query per table to avoid slow row-by-row scanning.
Schema Drift Detection
Compare the current state of your data warehouse against the definitions in your manifest.json. Instantly identify added, removed, or type-changed columns.
Intelligent Test Suggestions
Translate profiling statistics into actionable dbt test recommendations. For example, a uniquely populated column without nulls will prompt suggestions for not_null and unique tests, while low cardinality will suggest accepted_values with predefined options.
Non-Destructive YAML Writing
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
{
"mcpServers": {
"dbt-doctor": {
"command": "dbt-doctor",
"args": ["--project-dir", "/absolute/path/to/your/dbt/project"]
}
}
}