DL

dbt-labs/dbt-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

614 stars 146 forks 品質 59 トレンド 41Apache-2.0

DBTとやり取りするためのMCP(モデルコンテキストプロトコル)サーバーです。

概要

このMCP(Model Context Protocol)サーバーは、dbtとやり取りするためのさまざまなツールを提供します。このMCPサーバーを使って、dbt Core、dbt Fusion、dbt PlatformでAIエージェントにプロジェクトのコンテキストを提供できます。 詳しくはこちらのドキュメントをご覧ください。このブログ記事では、dbt MCPサーバーで可能な詳細を紹介しています。 各リリースごとに実験的なModel Context Protocol Bundle(dbt-mcp.mcpb)を公開しており、MCPB対応のクライアントが追加セットアップなしでこのサーバーをインポートできるようにします。最新リリースのアセットからバンドルをダウンロードし、Anthropicのmcpb CLIドキュメントに従ってインストールまたは検査を行います。 ご意見やご質問があれば、GitHub Issueを作成するか、コミュニティのSlackの #tools-dbt-mcp チャンネルに参加してください。 dbt MCPサーバーアーキテクチャにより、エージェントはさまざまなツールに接続できます。 dbtプラットフォームインフラストラクチャ上でSQLを実行し生成するためのツール。- execute_sql:セマンティックレイヤーサポート付きのdbtプラットフォームインフラ上でSQLを実行します。

概要(AI 翻訳)

このMCP(Model Context Protocol)サーバーは、dbtとやり取りするためのさまざまなツールを提供します。このMCPサーバーを使って、dbt Core、dbt Fusion、dbt PlatformでAIエージェントにプロジェクトのコンテキストを提供できます。

詳しくはこちらのドキュメントをご覧ください。このブログ記事では、dbt MCPサーバーで可能な詳細を紹介しています。

実験的MCPバンドル

各リリースごとに実験的なModel Context Protocol Bundle(dbt-mcp.mcpb)を公開しており、MCPB対応クライアントが追加セットアップなしでこのサーバーをインポートできるようにします。最新リリースのアセットからバンドルをダウンロードし、AnthropicのmcpbのCLIドキュメントに従ってインストールまたは検査してください。

フィードバック

ご意見やご質問があれば、GitHub Issueを作成するか、コミュニティのSlackチャンネル(#tools-dbt-mcp)に参加してください。

建築

dbt MCPサーバーアーキテクチャにより、エージェントはさまざまなツールに接続できます。

道具

SQL

dbtプラットフォームインフラストラクチャ上でSQLを実行し生成するためのツール。

  • execute_sql:セマンティックレイヤー対応のdbtプラットフォームインフラ上でSQLを実行します。
  • text_to_sql:プロジェクトコンテキストを用いて自然言語からSQLを生成します。

セマンティックレイヤー

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

dbt MCP Server

This MCP (Model Context Protocol) server provides various tools to interact with dbt. You can use this MCP server to provide AI agents with context of your project in dbt Core, dbt Fusion, and dbt Platform.

Read our documentation here to learn more. This blog post provides more details for what is possible with the dbt MCP server.

Experimental MCP Bundle

We publish an experimental Model Context Protocol Bundle (dbt-mcp.mcpb) with each release so that MCPB-aware clients can import this server without additional setup. Download the bundle from the latest release assets and follow Anthropic’s mcpb CLI docs to install or inspect it.

Feedback

If you have comments or questions, create a GitHub Issue or join us in the community Slack in the #tools-dbt-mcp channel.

Architecture

The dbt MCP server architecture allows for your agent to connect to a variety of tools.

Tools

SQL

Tools for executing and generating SQL on dbt Platform infrastructure.

  • execute_sql: Executes SQL on dbt Platform infrastructure with Semantic Layer support.
  • text_to_sql: Generates SQL from natural language using project context.

Semantic Layer

To learn more about the dbt Semantic Layer, click here.

  • 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.

Discovery

To learn more about the dbt Discovery API, click here.

  • 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)
GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →