DATA ANALYST FIELD NOTES · 17 SEPTEMBER 2026
MCP for Data Analysts: How dbt Connects AI to Trusted Metrics
Connect AI tools to analytics without confusing access with accuracy.
What is MCP in data analytics?
Model Context Protocol (MCP) is a standard way for an AI application to connect to tools and context. For an analyst, that can mean discovering a metric definition, inspecting model metadata or requesting a permitted query. MCP does not decide what revenue means and does not make an answer correct by itself.
The official MCP architecture separates the host application, its clients and the servers that expose capabilities. Think of the connection separately from the business rules and permissions behind it.
Why learn this now?
dbt Summit’s September 2026 programme includes governed agentic analytics and semantic-layer workflows. That makes MCP a timely learning topic for analysts working with AI-assisted reporting. It is evidence of current industry attention, not proof of a particular keyword’s search volume. See the official programme overview.
The practical question is changing from “Can an assistant write SQL?” to “Which definitions and actions can it access, and how will we verify the result?” You still need SQL, business understanding and the ability to challenge a plausible number.
MCP, a semantic layer and SQL do different jobs
- MCP: provides a common interaction interface between the AI application and exposed capabilities.
- Semantic layer: supplies maintained definitions for measures, dimensions and their relationships.
- SQL: expresses the computation that a database executes.
- Access controls: determine what the requesting identity can read or change.
An assistant can connect successfully while still choosing the wrong period or metric. A valid SQL statement can return a misleading total. Review each layer independently.
Start with our revenue-based semantic layer example if metric definitions are new to you.
Worked example: the assistant reports $300
This is a synthetic exercise, not a production result. Suppose three completed orders total $120, $80 and $100. A $20 refund belongs to the first order. Under the exercise’s definition, net order revenue is completed order value less refunds associated with those orders: $300 − $20 = $280. This simplified operational measure is not an accounting revenue-recognition policy.
The user asks, “What was net order revenue for these three orders?” The assistant answers $300. The connection worked, but the answer used gross value.
- Ask which metric definition and version were selected.
- Confirm that refunds are included and that the order population matches the question.
- Inspect the data freshness and any missing refund records.
- Check the join grain: multiple refund rows must not repeat the order’s original value.
- Reconcile the result to the three orders and state the $280 answer with its definition.
If the question instead asks for refunds processed during a calendar month, the time attribution changes. Clarify that before reusing the same result.
Where the dbt MCP server fits
The dbt MCP documentation describes access to project metadata and supported dbt capabilities, including Semantic Layer queries. It distinguishes self-hosted and remote setups; available tools depend on configuration and access to the underlying platform APIs. Check the current documentation for your environment rather than assuming every integration exposes the same tools.
For a learning exercise, use synthetic data and the smallest necessary set of permissions. Keep query access separate from development or administrative actions. Record the question, selected metric, filters, tool result and final explanation so you can inspect a failure.
A small portfolio exercise you can actually demonstrate
Build a five-question test set around the three orders: gross value, net value, refund total, an unsupported customer segment and a period with no data. Write the expected response before connecting an assistant. For the unsupported segment, a good response requests more data; it should not invent a breakdown.
Compare numeric correctness, definition selection and whether unsupported requests are handled honestly. A five-question demo is a debugging exercise, not evidence of general production reliability. Expand it with duplicate rows, missing values and restricted data before making broader claims.
Document one failure and its repair. Explain whether you changed a metric definition, permissions or the question. Our AI data-agent evaluation guide covers a broader test project.
Questions to practise
Does MCP replace SQL?
No. It changes how an application reaches capabilities; analysts still need to understand the computation and validate its output.
Does connecting a semantic layer guarantee accurate AI answers?
No. Maintained definitions help, but the assistant can still choose the wrong metric, filter or time window.
What should I say in an interview?
Explain the failure boundary: “I would verify the metric and data population before trusting the answer, then reconcile it against a small known example.” Follow with evidence from your own exercise.
Practise explaining your decisions
Use the example as an interview exercise: state the question, show your checks and explain what the evidence cannot tell you.
Explore interview preparation plans. Booking remains coming soon. All mock interviews and feedback are in English.