dbt MCP server

Ask in plain English about dbt models, lineage, metrics and SQL, and get answers from your project.

Tools
24 (23 read, 1 write)
Transport
Remote (HTTP)
Sign-in
Sign-in or token
Made by
dbt Labs
RevampKey connects dbt in one click and adds its 4 skills. No config file. Free for Mac, Windows and Linux. Already installed? Open dbt in RevampKey

Get RevampKey to connect dbt

RevampKey is a free desktop app for Mac, Windows and Linux. Install it, sign in, and dbt is one click away with its skills already attached.

Download RevampKey

Not now? Use the skills in your current tool

for s in essentials data-discovery metric-question-answering model-impact-analysis; do
  curl -fsSL --create-dirs -o .claude/skills/dbt-$s/SKILL.md https://revampkey.com/marketplace/dbt/skills/$s/SKILL.md
done
All dbt skills

What the dbt MCP server does

dbt is a tool for building data pipelines with SQL. Teams write models, which are SQL transformations, and dbt compiles them for their data platform. Each model can be tested, documented and kept in version control, the same way software engineers handle code. dbt Labs makes dbt. Data engineers and analytics teams use it, and dbt's homepage lists 80k+ teams using it weekly.

Connect dbt in the Connectors tab, then ask about your project in plain English. The agent can look up your models, sources, macros, seeds and exposures. It can trace lineage, showing which models sit upstream or downstream of a model. It can list metrics from the Semantic Layer, query them, and show their dimensions and saved queries. It can also run SQL or turn a question into SQL. It asks before it changes anything.

What you can do with dbt and an AI agent

Check what a model change will touch

You are about to change a model called fct_orders. You ask the agent what depends on it. The agent reads its parents, children and related models, traces lineage, and lists any exposures that use it. You get the list before you touch the code.

Find unhealthy models before standup

Your pipeline runs slow this morning. You ask which models look unhealthy. The agent checks model health and model performance, then reads the details for the models you name, so you know where to look first.

Answer a metrics question from the Semantic Layer

A stakeholder asks how many new customers signed up last month, split by region. You ask the agent. It lists metrics, checks the dimensions you can split by, and runs query_metrics. Then you can ask for the compiled SQL behind the number.

How to set up the dbt MCP server

Pick your app. RevampKey needs no config file; the others need one command or a config line.

About 1 minute · Sign-in or token

  1. Install RevampKey for Mac, Windows or Linux and sign in.

  2. Open Connectors, search for dbt and click Connect. Approve access on dbt's own sign-in page. RevampKey never sees your password.

  3. Ask in plain language. The 4 dbt skills come with the connector. The agent asks before it changes anything.

  4. Download RevampKeyConnect dbt · 1 click

    Get RevampKey to connect dbt

    RevampKey is a free desktop app for Mac, Windows and Linux. Install it, sign in, and dbt is one click away with its skills already attached.

    Download RevampKey

    Not now? Use the skills in your current tool

    for s in essentials data-discovery metric-question-answering model-impact-analysis; do
      curl -fsSL --create-dirs -o .claude/skills/dbt-$s/SKILL.md https://revampkey.com/marketplace/dbt/skills/$s/SKILL.md
    done
    All dbt skills

Where to find your server URL

Each dbt account has its own MCP server URL: dbt platform: Account settings > Access URLs Paste it into your client as a remote (HTTP) MCP server.

dbt also accepts a personal access token. Send it as an Authorization: Bearer header if your tool cannot complete the sign-in.

Skip the config file

In RevampKey, dbt is one click: sign-in and the server and the 4 skills are set up for you.

Download RevampKey

dbt agent skills

Playbooks that teach the agent how to do real dbt work, step by step. RevampKey adds them when you connect; any Agent Skills tool can use them.

See all 4 skills in detail →

What to ask once dbt is connected

Plain words work. Copy one to try it.

  • “Which models sit upstream of fct_orders, and which exposures use it?”
  • “Which of my models look unhealthy right now?”
  • “What metrics do we have, and what can I slice revenue by?”
  • “Run a SQL query that counts orders per day for the last 7 days.”
  • “What macros does this project define, and what does the country_codes seed contain?”
  • “Where do I find monthly recurring revenue per customer in our dbt project?”Find the right dbt model, mart or metric
  • “What was net revenue by region last quarter? It should match the finance dashboard.”Answer business questions with dbt metrics
  • “What would break if I rename customer_id to account_id in stg_orders?”Analyse the impact of a dbt model change before you make it

What the agent can do in dbt

24 tools in 6 groups. Reading needs no approval; RevampKey asks before every change.

Models and lineage
Find models and read their details. See the parents and children of a model, trace lineage through the project, find related models, and list mart models.get_all_modelsget_model_detailsget_model_parentsget_model_childrenget_lineageget_related_modelsget_mart_models
Model health and performance
Check how a model is doing, including its health status and performance figures, and get the details behind them.get_model_healthget_model_performance
Sources, macros and seeds
List the sources and macros in your project, open one macro to read it, and read the details of a seed.get_all_sourcesget_all_macrosget_macro_detailsget_seed_details
Exposures
List the exposures in your project, then open one to see its details.get_exposuresget_exposure_details
Metrics and the Semantic Layer
List metrics and saved queries, then query metrics. Check which dimensions and entities you can use, see the values in a dimension, and view the SQL a metric compiles to.list_metricsquery_metricsget_metrics_compiled_sqlget_dimensionsget_dimension_valuesget_entitieslist_saved_queries
SQL
Run SQL you write or ask for, or turn a plain English question into SQL. Text-to-SQL uses dbt Copilot actions, so it stops working when your account runs out until the limit resets.execute_sqltext_to_sql

All 24 dbt MCP tools

Show all 24 tools23 read, 1 create and change

Read (23) Run without asking

  • get_all_macros
  • get_all_models
  • get_all_sources
  • get_dimension_values
  • get_dimensions
  • get_entities
  • get_exposure_details
  • get_exposures
  • get_lineage
  • get_macro_details
  • get_mart_models
  • get_metrics_compiled_sql
  • get_model_children
  • get_model_details
  • get_model_health
  • get_model_parents
  • get_model_performance
  • get_related_models
  • get_seed_details
  • list_metrics
  • list_saved_queries
  • query_metrics
  • text_to_sql

Create and change (1) RevampKey asks before each one

  • execute_sql

dbt MCP in RevampKey vs other tools

RevampKeyClaude CodeCursorVS Code
SetupOne clickOne terminal commandEdit mcp.jsonEdit mcp.json
Sign-inIn the app/mcp → AuthenticateBrowser promptBrowser prompt
dbt skillsAdded on connectCopy into .claude/skillsCopy into the projectCopy into the project
Needs a terminalNoYesNoNo

dbt MCP server FAQ

What do I need to connect dbt to RevampKey?

Open the Connectors tab in RevampKey and add dbt. dbt's docs say its remote MCP server runs on the dbt platform and is available on all dbt platform plans. The tools you get depend on your plan, because the dbt APIs behind them vary by plan.

What can the agent do in dbt, and what can't it do?

It can read models, sources, macros, seeds, exposures, lineage and metrics, and it can run SQL. It asks before it changes anything. The tools for this connector include no way to create or edit dbt models, and no way to run dbt build or dbt test. Check the agent's answers before you act on them.

Does the agent see my data, and who approves changes?

dbt's homepage says dbt never stores your data. The agent reads project information and returns query results when you ask. It asks you before it changes anything. Only text_to_sql uses your dbt Copilot action allotment, so check that allotment if text-to-SQL stops working.

Can I ask an AI agent about dbt lineage and metrics?

Yes. Ask which models feed a model, and the agent reads its parents, children and lineage. Ask for a metric, and it can query it through the Semantic Layer and show the compiled SQL. You can also list exposures and open one for its details.

What is the dbt MCP server URL?

Each dbt account has its own MCP server URL: dbt platform: Account settings > Access URLs RevampKey asks for it when you connect.

How does the dbt MCP server authenticate?

With dbt's own sign-in (OAuth). You approve access in your browser; no password is shared with the client.

What can an AI agent do with the dbt MCP server?

It exposes 24 tools: 23 that read and 1 that create or change things. In RevampKey the agent asks before it runs any tool that changes data.

Are there agent skills for dbt?

Yes. 4 SKILL.md playbooks teach an agent how to do real dbt work step by step. RevampKey installs them when you connect dbt; for Claude Code, Cursor or Codex you can copy them into your project.

Connect dbt in under a minute

Download RevampKey for Mac, Windows or Linux, sign in, and dbt is one click away, with its skills already attached, along with every other connector in the marketplace.

Download RevampKeyConnect dbt · 1 click

Get RevampKey to connect dbt

RevampKey is a free desktop app for Mac, Windows and Linux. Install it, sign in, and dbt is one click away with its skills already attached.

Download RevampKey

Not now? Use the skills in your current tool

for s in essentials data-discovery metric-question-answering model-impact-analysis; do
  curl -fsSL --create-dirs -o .claude/skills/dbt-$s/SKILL.md https://revampkey.com/marketplace/dbt/skills/$s/SKILL.md
done
All dbt skills