数据库 · 开发者工具

Dbt MCP logo

Dbt MCP

dbt-labs/dbt-mcp

dbt MCP服务器是一个提供与dbt交互工具的服务,支持dbt CLI、语义层、发现API等功能,可通过配置与多种客户端集成使用。

安装

见仓库说明

安装步骤请参阅仓库 README。

查看 README
GitHub 星标
132
作者
@dbt-labs
分类
数据库, 开发者工具
更新于
2026年10月6日

工具(40)

  • execute_sql

    Executes SQL on dbt Platform infrastructure with Semantic Layer support.

  • text_to_sql

    Generates SQL from natural language using project context.

  • get_dimension_values

    Gets distinct values for a dimension; option to scope to specific metrics.

  • get_dimensions

    Gets dimensions for specified metrics.

  • get_entities

    Gets entities for specified metrics.

  • get_metrics_compiled_sql

    Returns compiled SQL for metrics without executing the query.

  • list_metrics

    Retrieves all defined metrics.

  • list_saved_queries

    Retrieves all saved queries.

  • query_metrics

    Executes metric queries with filtering and grouping options.

  • get_all_macros

    Retrieves macros; option to filter by package or return package names only.

  • get_all_models

    Retrieves name and description of all models.

  • get_all_sources

    Gets all sources with freshness status; option to filter by source name.

  • get_exposure_details

    (deprecated — use get_node_details instead)

  • get_exposures

    Gets all exposures (downstream dashboards, apps, or analyses).

  • get_lineage

    Gets a bounded lineage graph with type, depth, and direction filtering.

  • get_macro_details

    (deprecated — use get_node_details instead)

  • get_mart_models

    Retrieves all mart models.

  • get_model_children

    (deprecated — use get_lineage instead)

  • get_model_details

    (deprecated — use get_node_details instead)

  • get_model_health

    Gets health signals: run status, test results, and upstream source freshness.

  • get_model_parents

    (deprecated — use get_lineage instead)

  • get_model_performance

    Gets execution history for a model; option to include test results.

  • get_node_details

    Gets full details for any dbt resource type (model, source, exposure, test, seed, snapshot, macro, semantic_model).

  • get_related_models

    Finds similar models using semantic search.

  • get_seed_details

    (deprecated — use get_node_details instead)

  • get_semantic_model_details

    (deprecated — use get_node_details instead)

  • get_snapshot_details

    (deprecated — use get_node_details instead)

  • get_source_details

    (deprecated — use get_node_details instead)

  • get_test_details

    (deprecated — use get_node_details instead)

  • search

    [Alpha] Searches for resources across the dbt project (not generally available).

  • build

    Executes models, tests, snapshots, and seeds in DAG order.

  • clone

    Clones selected nodes from the specified state to the target schema(s).

  • compile

    Generates executable SQL from models/tests/analyses; useful for validating Jinja logic.

  • docs

    Generates documentation for the dbt project.

  • get_lineage_dev

    Retrieves lineage from local manifest.json with type and depth filtering.

  • get_node_details_dev

    Retrieves node details from local manifest.json (models, seeds, snapshots, sources).

  • list

    Lists resources in the dbt project by type with selector support.

  • parse

    Parses and validates project files for syntax correctness.

  • run

    Executes models to materialize them in the database.

  • show

    Executes SQL against the database and returns results.

本页信息摘自该项目的 README。 查看 README

支持的客户端

该服务器 README 中提到的客户端:

查看全部
Cursor logo

Cursor

桌面端 · 免费增值 · Proprietary

首个代理式 IDE。Cursor 编辑器让开发者与 AI 的工作真正融合在一起,提供如魔法般的编码体验。

WindowsMacOSLinux

相关 MCP 服务器

更多服务器
Supabase MCP logo

Supabase MCP

supabase-community/supabase-mcp

1.3k

Supabase MCP Server是一个连接Supabase项目与AI助手的工具,通过Model Context Protocol(MCP)标准化大型语言模型(LLMs)与外部服务的交互,实现数据库管理、配置获取和数据查询等功能。

数据库
Genai Toolbox logo

Genai Toolbox

googleapis/genai-toolbox

769

MCP Toolbox for Databases是一个开源数据库MCP服务器,专注于企业级和生产质量,简化工具开发,提供连接池、认证等复杂功能。

数据库
Supabase MCP Server logo

Supabase MCP Server

alexander-zuev/supabase-mcp-server

677

Supabase MCP服务器是一个开源工具,允许IDE安全执行SQL、管理模式变更、调用Supabase管理API和使用Auth Admin SDK,内置安全控制。

数据库
Awesome MCP List logo

Awesome MCP List

MobinX/awesome-mcp-list

645

这是一个持续更新的MCP服务器精选列表,涵盖了浏览器控制、艺术与文化、云平台、命令行、通信、客户数据平台、数据库、开发者工具、数据科学工具、文件系统、金融与金融科技、游戏、知识与记忆、位置服务、营销、监控、搜索和实用工具等多个类别。每个项目都附带了GitHub链接和星标数量,方便用户快速了解和使用。

数据库
PostgreSQL Model Context Protocol (PG MCP) Server logo

PostgreSQL Model Context Protocol (PG MCP) Server

stuzero/pg-mcp-server

440

PG-MCP是一个为PostgreSQL数据库设计的模型上下文协议服务器,提供AI代理发现、连接、查询和理解数据库的API,支持多数据库连接、丰富的目录信息和查询解释功能。

数据库
dbhub logo

dbhub

bytebase/dbhub

332

DBHub是一个实现模型上下文协议(MCP)的通用数据库网关,支持多种数据库连接和操作。

数据库