Dbt Doctor is an MCP (Model Context Protocol) server designed to imbue AI coding assistants with a deep understanding of your dbt project's health. It empowers users to interact with their dbt projects using natural language, allowing AI to perform complex tasks such as auditing project quality, profiling warehouse data, detecting schema drift, and automatically generating or updating documentation and tests directly within schema.yml files. This tool significantly streamlines the dbt development and governance workflow, making it easier to maintain high-quality, well-documented, and robust data models.
주요 기능
01Profile data efficiently with single-pass column statistics for NULL rate, cardinality, min/max, and uniqueness.
02Audit dbt project health across documentation, testing, and naming conventions to provide a quality score.
03Detect schema drift by comparing current warehouse columns against `manifest.json` definitions.
04Update `schema.yml` files non-destructively, preserving hand-written comments and existing formatting.
05Generate intelligent dbt test recommendations based on data profile statistics and column properties.
060 GitHub stars
사용 사례
01Detecting schema changes and discrepancies between the database and dbt manifest before deployment.
02Performing health checks on the dbt DAG to identify structural issues like orphan models or high fan-out nodes.
03Automating documentation generation and test suggestions for under-covered dbt models.