Skip to content

BI, semantics & data governance

dbt MCP questions answered from models, metrics and tests

dbt is the transformation framework analytics engineers use to build warehouse models in SQL and Python, with tests, documentation and lineage. dbt Labs offers the open-source dbt Core and the managed dbt platform (formerly dbt Cloud), which adds scheduled jobs, the Discovery API and the dbt Semantic Layer, where metrics are defined once in MetricFlow and queried by downstream tools.

dbt

Available now: Nexatron answers dbt questions with user-level access that inherits your existing dbt permissions.

Updated

Can Claude, ChatGPT or Copilot access dbt data?

Yes. To connect Claude, ChatGPT or Copilot to dbt, add Nexatron from Claude’s connector directory, or by its MCP server URL in ChatGPT and Copilot. Then connect it in Nexatron. Users sign in with their own dbt account (or your SSO), and Nexatron inherits their existing permissions.

What dbt data a question reads

Models, sources and seeds
Each model’s SQL, materialization (view, table, incremental), owner, description and columns, plus the raw sources it reads from.
Semantic models and metrics
MetricFlow definitions of entities, dimensions and measures, and metrics such as revenue, active_customers or conversion_rate with their filters and time grains.
Data tests
not_null, unique, relationships, accepted_values and custom tests, with pass, warn and fail results per run.
Exposures
Dashboards, apps and notebooks declared as consumers of models, with owners.
Jobs and runs
Scheduled job runs in the dbt platform with status, duration and the models built, from run_results and the Discovery API.
Lineage and freshness
The DAG of refs and sources, and source freshness checks against loaded_at fields.

dbt questions people ask

  • What was revenue by region last quarter using the revenue metric in the Semantic Layer?
  • How did weekly active customers move over the past 12 weeks, at the metric’s default grain?
  • Which models failed a test in last night’s production job, and who owns them?
  • Which sources breached their freshness warn threshold this week?
  • Which exposures depend on fct_orders, and which owners should hear about a column rename?
  • Which models took the longest to build in the daily job over the last 30 days?
  • How many models have no description or no tests at all?

Who asks dbt questions

Business teams
Metrics defined once in the Semantic Layer, such as revenue or churn, sliced by the dimensions the semantic model allows.
Analytics engineers
Test failures, slow models, freshness breaches and downstream impact, by owner and by job.

How Nexatron connects to dbt

API and sign-in
The dbt platform APIs: the Semantic Layer GraphQL and JDBC APIs for metric queries, the Discovery API (GraphQL) for models, tests, lineage and run metadata, and the Administrative API for jobs. They authenticate with personal access tokens tied to a user or service tokens tied to an account.
User-level access
Users sign in with their own dbt account (or your SSO), and Nexatron inherits their existing permissions. Users only see data they are already authorized to see.
Read-only
Questions only read dbt; asking a question never changes dbt data.
Setup
An administrator enables dbt in Nexatron. Users link their own dbt account, or sign in through your SSO, the first time they ask. Queries run in dbt, with no warehouse to load.

dbt in Claude’s connector directory

Nexatron is listed in Claude’s MCP connector directory, so a Claude user can add it without a custom server URL. Its hosted MCP server answers dbt questions for Claude, ChatGPT and Microsoft Copilot with user-level access, and the same governed answer as the Nexatron app. It is Nexatron’s own server, not one published by the vendor.

  1. Connect dbt to your Nexatron workspace.
  2. In Claude, add Nexatron from Claude’s connector directory. In ChatGPT or Copilot, add a custom MCP connector with Nexatron’s server URL.
  3. Sign in with your own Nexatron identity (OAuth 2.1), then ask your dbt questions.

Server URL for a custom connector: https://api.nexatron.io/api/v1/mcp

dbt questions and answers

What does the dbt Labs MCP server expose?
dbt Labs publishes an MCP server that exposes Semantic Layer metric queries, Discovery API metadata and, on the self-hosted version, dbt CLI commands to assistants. Nexatron’s MCP server focuses on governed answers: the same metric definitions, an audit record and the source query.
What is the dbt Semantic Layer?
A service in the dbt platform, powered by MetricFlow, that turns metric definitions in your project into SQL for your warehouse. Tools query metrics by name with dimensions and time grains, so revenue means the same thing in every tool.
Can Nexatron answer from dbt Core without the dbt platform?
With dbt Core, the manifest and catalog artifacts describe models, tests and lineage, and Nexatron queries the built tables in your warehouse directly. Metric queries through the hosted Semantic Layer API need the dbt platform.
How do dbt tests help an answer?
Test results tell you whether the model behind a number passed its checks on the last run. Nexatron shows when a model used in an answer had failing or warning tests, so the reader can judge the figure.