A MCP (Model Context Protocol) server for interacting with dbt resources.
Project description
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
execute_sqltext_to_sql
Semantic Layer
get_dimensionsget_entitiesget_metrics_compiled_sqllist_metricslist_saved_queriesquery_metrics
Discovery
get_all_macrosget_all_modelsget_all_sourcesget_exposure_detailsget_exposuresget_lineageget_macro_detailsget_mart_modelsget_model_childrenget_model_detailsget_model_healthget_model_parentsget_model_performanceget_related_modelsget_seed_detailsget_semantic_model_detailsget_snapshot_detailsget_source_detailsget_test_detailssearch
dbt CLI
buildcompiledocsget_lineage_devget_node_details_devlistparserunshowtest
Admin API
cancel_job_runget_job_detailsget_job_run_artifactget_job_run_detailsget_job_run_errorget_project_detailslist_job_run_artifactslist_jobslist_jobs_runsretry_job_runtrigger_job_run
dbt Codegen
generate_model_yamlgenerate_sourcegenerate_staging_model
dbt LSP
fusion.compile_sqlfusion.get_column_lineageget_column_lineage
MCP Server Metadata
get_mcp_server_version
Examples
Commonly, you will connect the dbt MCP server to an agent product like Claude or Cursor. However, if you are interested in creating your own agent, check out the examples directory for how to get started.
Contributing
Read CONTRIBUTING.md for instructions on how to get involved!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file iflow_mcp_dbt_labs_dbt_mcp-1.8.2.tar.gz.
File metadata
- Download URL: iflow_mcp_dbt_labs_dbt_mcp-1.8.2.tar.gz
- Upload date:
- Size: 103.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e55748f29a4ea6285d2e3e646cd313c7435b980567d60f8d88aabd565bc1946b
|
|
| MD5 |
c15fc62fb79a12823afd7cf9daaba410
|
|
| BLAKE2b-256 |
ff573419e33ece11cc63357b1c1906b88c55af6035927f8c59537f50a4e26fe4
|
File details
Details for the file iflow_mcp_dbt_labs_dbt_mcp-1.8.2-py3-none-any.whl.
File metadata
- Download URL: iflow_mcp_dbt_labs_dbt_mcp-1.8.2-py3-none-any.whl
- Upload date:
- Size: 156.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18a0fa83030356584e052056f19ae0227f9aed3fd0af0517f7f7be47845a64c8
|
|
| MD5 |
cdd6e01feb8c005d5d30bfd71972dc64
|
|
| BLAKE2b-256 |
f1bcfc325bb2693393c4014ec7f23898829c5d33685c42417fe7d1df8cc9c1ac
|