dbt-docs-mcp
dbt-docs-mcp
模型上下文协议 (MCP) 服务器,用于与 dbt 项目元数据(包括 dbt Docs 工件( manifest.json 、 catalog.json ))交互。此服务器公开 dbt 图信息,并允许查询节点详细信息、模型/列沿袭以及相关元数据。
主要功能
该服务器提供以下工具:
搜索 dbt 节点:
按名称 (
search_dbt_node_names) 查找节点(模型、源、测试等)。根据列名 (
search_dbt_column_names) 定位节点。在节点的已编译 SQL 代码中搜索(
search_dbt_sql_code)。
检查节点:
检索任何给定节点唯一 ID 的详细属性 (
get_dbt_node_attributes)。
探索血统:
查找节点的直接上游依赖项(前任)(
get_dbt_predecessors)。查找节点的直接下游依赖项(后继者)(
get_dbt_successors)。
列级沿袭:
跟踪模型中特定列的所有上游源 (
get_column_ancestors)。跟踪模型中特定列的所有下游依赖项 (
get_column_descendants)。
建议的扩展:
允许执行 SQL 查询的工具。
直接从数据库检索表/视图/列元数据的工具。
搜索知识库的工具。
Related MCP server: OpsLevel MCP
入门
**先决条件:**确保已安装 Python 和uv
克隆仓库:
git clone <repository-url> cd dbt-docs-mcp可选:解析 dbt 清单以获取列级沿袭:
设置所需的 Python 环境,例如:GXP2
使用提供的脚本
scripts/create_manifest_cl.py并简单地提供 dbt 清单、dbt 目录的路径以及架构和列沿袭文件的所需输出路径:GXP3根据您的 dbt 项目大小,创建列沿袭可能需要一段时间(数小时)
运行服务器:
如果您所需的 MCP 客户端(Claude 桌面、Cursor 等)支持 mcp.json,它将如下所示:GXP4
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
MCP server for querying Forkast documentation
Enable secure connectivity between Sentry issues and debugging data, and LLM clients, using a Model Context Protocol (MCP) server.
A Model Context Protocol server for Wix AI tools
MCP server to assist with JxBrowser development.
Related MCP Servers
- AlicenseBqualityAmaintenanceA MCP (Model Context Protocol) server for interacting with dbt.16602Apache 2.0

OpsLevel MCPofficial
AlicenseNot gradedqualityCmaintenanceModel Context Protocol (MCP) server for OpsLevel12MIT- AlicenseBqualityBmaintenanceA Model Context Protocol (MCP) server for Storybook.290846MIT
- AlicenseNot gradedqualityAmaintenanceLocal-first MCP server for querying multi-repo engineering documentation artifacts from a SQLite corpus.10AGPL 3.0
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mattijsdp/dbt-docs-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server