Maven Analytics

Live workshop

AI-PoweredSelf-ServiceAnalytics

Build Self-Service Analytics You Can Trust with Claude + MCP

December 3rd, 2026

Workshop introduction

Self-Service Analytics with Claude + MCP

Data teams lose much of their time to ad hoc requests. Connecting AI to your warehouse can finally make self-service analytics real, but without context and guardrails it can expose sensitive data, return wrong answers and burn tokens.

What you’ll learn

  • Configure a local environment with Docker and open-source Metabase
  • Set up an MCP connection that safely links AI to your database
  • Build a basic semantic layer that gives AI the business context
  • Monitor and benchmark text-to-SQL performance and accuracy
Stephen Tracy
Stephen Tracy

Plan of Attack

  1. 1
    Intro, concepts and trends10 min
  2. 2
    What is MCP?5 min
  3. 3
    Environment and setup15 min
  4. 4
    Workshop40 min
  5. 5
    Tips5 min
  6. 6
    Q&A15 min

Pre-read

Tools setup guide

A step-by-step walkthrough for getting set up with Metabase or MotherDuck, so you can follow along.

Pre-read setup guideclaude-mcp-workshop.pages.dev

Bonus content

Self-Service Analytics Playbook

A framework and blueprint for safe deployment, covering key governance considerations and guardrails.

Evals Template

Plug-and-play resources for setting up text-to-SQL performance evals.

Introduction

Self-Service Analytics

Self-service analytics, defined

Business users answer their own data questions in plain language, using governed data and agreed definitions, without waiting on the data team.

What it should be

What it shouldn’t be

A managed program, with ownership and boundaries

A connector that’s turned on and left unchecked

One shared definition of “revenue” and “active customer”

Everyone (or their AI) calculating their own version of a metric

Guardrails, so people see only what they’re allowed to

A free-for-all with customer data

Analysts freed up for deeper analysis

A replacement for the data team

Answers you can trace back to a definition

Faster answers that nobody trusts

The bar has been raised

A Looker dashboard snapshot posted into a Slack channel
LookML in Slack

Self-service analytics adoption

Before LLMs~30%
With generative AI~30%

Costs on the rise

As usage climbs, so do inference costs.

$0.21

average cost per query on Sonnet

$0.38

average cost per query on Opus

$50K

a year in unsubsidized inference for 50 employees sending 10 queries a day

Cost figures come from a real-world experiment run at scale with a client.

The risks of getting it wrong

Wrong answers

AI makes mistakes. When messy data isn’t properly described, it can join the wrong tables, miscalculate metrics or skip the cleaning your data needs.

Rising costs

AI isn’t free. As more people consume inference and hit your warehouse, both your AI bill and your data infrastructure bill go up.

Overconfidence

AI makes people comfortable in domains they haven’t trained in. Non-data users take on complex analysis or machine learning, and bad decisions follow.

Case study: the surprise warehouse bill

  • A mid-sized US fintech

    120 employees and a heavy Snowflake user, spending about $100K a year before AI.

  • AI agents, connected to the warehouse

    Every employee could query the warehouse through Claude.

  • The surprise

    The AI bill rose, as expected. The Snowflake bill jumped 72%, which nobody expected.

Annual spend

SnowflakeAI inference
$100K
The year before AI
+72%Snowflake
$217K
$45KAI inference
$172KSnowflake
The first year with AI

Key concept

Model Context Protocol

What is MCP?

Model Context Protocol (MCP) is an open standard that connects AI applications and agents to external tools, data sources and workflows.

AI apps

Claude
ChatGPT
Other AI apps
MCP

Tools and data

Databases and warehouses
BI tools
Files and apps

How does MCP work for text-to-SQL?

1

You ask

A question in plain language: “What were sales last month?”

2

Claude reads the context

Through MCP tools, it looks up tables, descriptions and glossary terms.

3

Claude writes the SQL

It picks the right tables and builds the query.

4

The server runs it

The MCP server runs the query with the permissions it was given.

5

Claude answers

Results come back and Claude explains them, often with a chart.

Not all MCP servers are equal

Read

Lower risk

Query data, list tables and open dashboards.

Write

Higher risk

Create and edit questions, dashboards or tables.

Delete

Highest risk

Remove or overwrite content, sometimes with no undo.

Before you connect, check

Which tools does it expose?

Can it only read, or can it also write and delete?

How does it authenticate?

Does it inherit the permissions of the signed-in user?

A cautionary tale

A customer of mine connected their BI tool through an MCP server with full read and write access, signed in with an admin account. They asked AI to migrate dashboards from one data source to another. It deleted an entire workbook by mistake.

Framework

Unlocking Self-Service with MCP

Self-Service Analytics Framework

Five things to get right before you connect an MCP server.

D

Data

What data can the agent see?

The riskConnect everything and you may expose sensitive data, like PII, to the model and to the wrong people.

C

Context

What does the agent know about your business?

The riskWithout enough context, queries run longer, burn more tokens and can return wrong results.

G

Governance

What governance controls are in place?

The riskWithout clear policies, data can be leaked, misused or end up in the wrong hands.

G

Guardrails

What guardrails have been implemented?

The riskWithout limits, your bills can skyrocket and your keys can be exposed or stolen.

E

Evals

How do you measure performance and accuracy?

The riskWithout evals, you can’t be sure the AI is returning the right answers.

Environment & setup

Let’s get set up

ToolWhat it doesAlternative

Metabase

Open source, v65

BI tool with a built-in MCP server. It isn’t a database or warehouse, but it ships with a sample dataset.

MotherDuck

Docker Desktop

Runs Metabase in a container on your laptop.

n/a

ngrok

A secure tunnel that gives your local Metabase an address Claude can reach.

Cloudflare Tunnel

Claude Desktop

Pro plan recommended

The AI assistant. It reaches your data through MCP connectors.

ChatGPT, Cursor, VS Code

Anthropic API key

Optional

Powers Metabot, the AI assistant inside Metabase. The Claude connector doesn’t need it.

OpenAI, OpenRouter, etc.

Live demo

Let’s build!

Wrapping up

Tips

Tips

Start small

Don’t connect an MCP server to your entire warehouse. Create an mcp_safe schema or views, and keep PII away from model providers.

Remember DCGGE

Data, context, governance, guardrails and evals. Get these in order before you roll out broadly.

Track spend

Watch both your infrastructure bill and your AI bill closely, so you know you’re getting value.

Build observability early

Track how teams and individual users prompt. You may not need it on day one, but you’ll be glad it’s there.

Mind query complexity

Models handle easy and moderate queries well. Keep hard ones with your experts, or make sure the work can be audited and evaluated.

Consider distributed data

Not everything has to sit in central infrastructure. A DuckDB warehouse on MotherDuck can serve specific or smaller use cases.

Q&A

Any Questions?

Thank you

Please share your feedback!

mavenanalytics.io

QR code for the feedback form

bit.ly/maven-feedback