Back to MCP Servers

dbt

Interact with dbt Core and dbt Cloud for data transformations, model execution, test runs, and documentation generation

dbtdata-engineeringsqlanalyticstransformations

Installation

pip install dbt-mcp

Configuration

{
  "mcpServers": {
    "dbt": {
      "command": "uvx",
      "args": ["dbt-mcp"],
      "env": {
        "DBT_PROJECT_DIR": "/path/to/dbt/project",
        "DBT_PROFILES_DIR": "~/.dbt"
      }
    }
  }
}

How to use

  1. Run the installation command above (if needed)
  2. Open your Claude Code settings file (~/.claude/settings.json)
  3. Add the configuration to the mcpServers section
  4. Restart Claude Code to apply changes
View source on GitHub