dbt-docs-mcp
5
dbt-docs-mcp is a Model Context Protocol server designed to interface with dbt project metadata, such as dbt Docs artifacts. It enables querying and lineage exploration of dbt nodes and columns.
dbt-docs-mcp
Model Context Protocol (MCP) server for interacting with dbt project metadata, including dbt Docs artifacts. This server exposes dbt graph information and allows querying node details, model/column lineage, and related metadata.
Key Functionality
- Search dbt Nodes:
- Find nodes by name or column names, and search within SQL code.
- Inspect Nodes:
- Retrieve detailed attributes for any given node.
- Explore Lineage:
- Find direct upstream or downstream dependencies of a node.
- Column-Level Lineage:
- Trace all upstream sources or downstream dependents of a specific column.
Getting Started
- Prerequisites: Install Python and set up the environment with
uv
. - Clone the repo:
- Optional: Parse dbt manifest for column-level lineage.
- Run the Server: Start using the specified command format for your MCP client.