Hundreds of client contracts, subcontractor agreements and supplier terms sat in folders and a spreadsheet, so nobody could quickly answer what a subcontractor failing would mean downstream. We built a Neo4j knowledge graph linking clients, sites, contracts and subcontractors, so impact questions became a conversation with a checkable chain of clauses behind each answer.
Example engagement
Example: Letting analysts' AI assistants near the data, safely
Example engagement: for a research and insight consultancy whose analysts paste exports into chat tools to get help with analysis, we'd connect their AI assistant to the dbt Semantic Layer and warehouse read-only, through each analyst's own permissions, with free-form SQL limited to a sandbox and every query logged.
Example engagement
An illustration of work we can deliver. This is not a project we have delivered for a client, and no client names, quotes or invented numbers appear on this page.
- Sector
- Research and insight consultancy
- Services
- Data foundations Build
- Stack
- Claude
- Status
- Example engagement
- Evidence
- Not applicable, illustrative
Last updated

Illustrative interface and flow
Architecture
Analyst asks, in the assistant they already use "What was gross margin by region last month?"
MCP tool call
get_metric(gross_margin, region: all, period: last_month)
Resolved from the governed semantic layer
gross_margin (dbt Semantic Layer definition), not free-form SQL
Query logged for audit
Analyst asks a question in their assistant
MCP connects read-only, as that analyst
Metric resolved from the semantic layer, or a sandboxed query runs
Answer returned, query logged
At a glance
- Where: a research and insight consultancy whose analysts work in client data every day.
- What we’d build: read-only MCP connections from the analysts’ assistant to the dbt Semantic Layer and warehouse, logged and permissioned.
- What changed: analysts query the real data from the tool they already use, and nothing gets pasted anywhere.
The situation
Analysts at a firm like this need AI help with genuinely everyday analytical tasks: summarising a segment, sense-checking a trend, drafting the first pass of a chart’s commentary. The quickest way to get that help, in the absence of anything better, is to export a chunk of data and paste it into a chat tool, which works well enough for a single question but creates problems that compound. Client data leaves the warehouse in an ad hoc export every time someone does this, with no consistent record of what went where, or which client’s figures ended up in which chat history. Worse, whatever columns happen to be in that particular paste become the whole basis for the AI’s answer, so two analysts asking a similar question, from two slightly different exports, can get two different answers to something that should have had one. None of this is reckless on any individual analyst’s part; it’s simply the fastest tool available for a genuine, everyday need, used the way anyone would under deadline.
What we’d build
For analysts in this position, we’d connect their AI assistant to the dbt Semantic Layer and the underlying warehouse using the Model Context Protocol, an open standard for exactly this kind of tool-to-data connection, and make every connection read-only from the outset. Questions about a defined metric would be routed through the governed semantic layer, so “what was churn last quarter” resolves to the same figure the official dashboards use, rather than an improvised calculation. For genuinely exploratory questions that don’t map to an existing metric, analysts would get a separate sandboxed area where free-form SQL is allowed, kept deliberately apart from the live warehouse. Every connection would run under the asking analyst’s own permissions rather than a shared service account, and every query, whether it resolved a governed metric or ran in the sandbox, would be logged.
How we’d approach adoption
The habit this needs to break, pasting an export into a chat tool, is faster in the moment than any new process was ever going to beat by being more careful, so the new setup has to be faster too, not just safer, or nobody uses it. Once analysts can ask their assistant a question and get an answer straight from the real, current warehouse data, without exporting anything by hand first, the old habit should drop away on its own simply because it becomes the slower option. The adjustment likeliest to need active reinforcement is the boundary between governed metrics and the sandbox: analysts sometimes expect a sandbox to behave like the live warehouse, and need to be shown, concretely, why that separation exists and what it protects. Seeing their own query appear in the log, exactly as they asked it, should reassure rather than unsettle people, since it makes the access feel accountable rather than watched.
What would change
Before, getting AI help with an everyday analytical question means exporting data by hand and pasting it somewhere outside the warehouse’s own controls, with every analyst’s export slightly different from the last. After, the same question gets asked directly of the governed semantic layer or a proper sandbox, from inside the assistant analysts already use, with every connection read-only, permissioned to that analyst, and logged. The numbers analysts get back would match the official reports as a matter of course, because both draw on the same governed definitions, and nothing about how a query ran needs reconstructing after the fact, since the log already shows it. It would also change a conversation that otherwise happens after the fact, when a client asks how a figure was produced, into one the team can answer immediately, because the query behind it was never lost in a chat history to begin with. The sandbox is still there for genuine exploration; what changes is that reaching for it becomes a deliberate choice, not the only option available.
The 30-second version
What would change, at a glance
Before
Before, getting AI help with an everyday analytical question means exporting data by hand and pasting it somewhere outside the warehouse's own controls, with every analyst's export slightly different from the last.
After
After, the same question gets asked directly of the governed semantic layer or a proper sandbox, from inside the assistant analysts already use, with every connection read-only, permissioned to that analyst, and logged. The numbers analysts get back would match the official reports as a matter of course, because both draw on the same governed definitions, and nothing about how a query ran needs reconstructing after the fact, since the log already shows it. It would also change a conversation that otherwise happens after the fact, when a client asks how a figure was produced, into one the team can answer immediately, because the query behind it was never lost in a chat history to begin with. The sandbox is still there for genuine exploration; what changes is that reaching for it becomes a deliberate choice, not the only option available.
What it doesn't do
- It doesn't give the assistant write access or free rein over the warehouse; connections are read-only, and open-ended SQL is limited to a separate sandbox.
- It doesn't let an analyst see data their own warehouse permissions wouldn't already allow. The connection runs as them, not as an administrator.
What we'd watch for
- Routing metric questions through the governed definitions first, before falling back to a sandbox, should stop most of the temptation to write ad hoc SQL.
- Logging every query openly, rather than quietly, tends to make analysts more comfortable with the access, not less, because nothing about it is hidden.
Questions this answers
Can the assistant write to our warehouse?
No. The connection is read-only throughout. It can query governed metrics and a sandboxed area, and nothing more.
What is MCP, and why does it matter here?
MCP is an open standard that lets an AI assistant connect to tools and data in a consistent way, which is what let us give analysts one governed connection instead of a different risky workaround for each tool.
Does this stop analysts pasting data into chat tools?
It removes the reason to. Once the assistant they already use can query the data directly and safely, pasting exports stops being the fastest option, which is what actually changes the habit.
How is a query connected to who ran it?
Every connection runs under the analyst's own permissions and every query is logged, so a query is never anonymous and never runs with more access than that analyst already has.
Related work
- Example engagement
