Article

BI Is Dead? Building Claude Dashboards on Live Data

Claude dashboards beat our own editor. We built one on live production data, and Claude's SQL went from 21% to 96% correct once it had our data definitions.

QueryPanel Team
11 min read
AI dashboardsClaudeMCPNL-to-SQLBIAI agents
BI Is Dead? Building Claude Dashboards on Live Data

We sell an AI dashboard product. This week we asked Claude Code to build a Claude dashboard of our own customers, and the result was better than what our product makes. Below is how we built it, which parts QueryPanel handled, and what we think it means for BI tools.

Short answer: Claude dashboards now do most of what we use BI tools for. Claude writes the queries, picks the charts and writes the text around them. It stores the queries in the dashboard, so the charts refresh from live data. The same data can be shown as a classic dashboard, a scrolling story or a visual analysis, and the dashboard can be shared and commented on. SQL accuracy is the weak spot. On our data Claude answered 21% of questions correctly with no knowledge of the database, 92% with a skill file of glossary terms and example queries, and 96% with the QueryPanel MCP server. Almost all of that gain came from giving Claude definitions and example queries.

Key takeaways

  • Claude dashboards cover the usual BI features: live charts, layout, text, comments and sharing.
  • With no knowledge of our data, Claude Code got 21% of our benchmark questions right.
  • A skill file with glossary terms and gold SQL raised that to 92%. The QueryPanel MCP server got 96%, a 4-point gain over the skill file.
  • QueryPanel did not write any of the dashboard's SQL. Claude wrote it. QueryPanel stored the knowledge, served the schema and ran the queries.
  • People can now build a good dashboard in the tool they already use, so BI vendors need another reason for them to open a separate one.

Our editor, and what Claude added

QueryPanel has a Notion-like dashboard editor. You edit a dashboard the way you edit a document: write notes between charts, add charts by hand, or ask the built-in AI agent to generate them. We like it, and its agent compares well with other AI chart tools.

QueryPanel's Notion-like dashboard editor showing a "Querypanel users" dashboard with signup source, survey role and feature interest charts

This is the dashboard we had for our own signups. It shows who signs up. We wanted to know who keeps using QueryPanel after signing up, and this dashboard doesn't show that.

So we asked Claude to build one that does.

Step 1: teach Claude the data

Claude Code had our codebase and the QueryPanel MCP server, connected to our production database.

Before it wrote any dashboard queries, Claude read the migrations and the queries the app already runs. From those it worked out definitions you can't get from the schema alone:

  • A customer is a workspace other than our own.
  • An AI question is a logged query with no parent. Rows with a parent are retries of the same question.
  • A question is answered if it ran, with or without a chart. Drafts that were generated but never reported as run don't count.
  • A workspace is activated when it asks its first question. Connecting a datasource doesn't count, because one of our largest customers uses the headless SDK and has no datasource connected.

It then saved this to QueryPanel through the MCP server: a glossary entry for each term, gold SQL for the funnel, the weekly trend and the customer health table, and schema annotations. It ran each query against production with execute_sql before saving it.

The QueryPanel knowledge base showing a glossary entry and a gold SQL example for a customer health table, both written by Claude through the MCP server

These definitions are now used by anyone, person or agent, who asks QueryPanel about customers.

Step 2: Claude wrote the SQL, QueryPanel ran it

We expected Claude to call QueryPanel's text-to-SQL engine, but it never did. Afterwards we asked it which steps it did and which QueryPanel did:

A table showing which steps Claude Code did and which the QueryPanel MCP did: Claude wrote the three queries by hand, QueryPanel searched the schema, ran the SQL and stored the glossary and gold SQL; generate_sql was never called

Claude wrote all three queries itself. QueryPanel searched the schema, stored the knowledge and ran the SQL.

Step 3: the Claude dashboard

Claude built a one-line summary, six totals, a signup funnel, new workspaces per week, AI questions per week by outcome, and a table with each customer's plan, datasources, dashboards, questions, answer rate and last question date.

A Claude dashboard titled "QueryPanel customers" with a summary sentence, six totals, a signup funnel and a weekly signups chart, next to the Claude Code conversation that built it

The first time you open the dashboard, it asks for permission to use the QueryPanel connector, which it uses to run the queries.

The permission dialog a Claude dashboard shows on first open, asking to use the Claude Data and QueryPanel connectors

Refreshing from live data

The dashboard stores the tool call behind each chart. When the page opens, each chart re-runs its query through the QueryPanel connector. The refresh button re-runs all of them.

The refresh data button on a Claude dashboard, with "Updated 2 min. ago"

The numbers in the text come from the same queries, so the text updates along with the charts.

Three layouts from the same queries

We tried three formats on the same data:

  • Dashboard: totals and charts in a grid.
  • Scrollyteller: text in chapters. On a wide screen the chart stays next to the text and changes as you scroll.
  • Visual analysis: large headline numbers, with chart headings that state what each chart shows.

The Scrollyteller version of the same data, titled "Who actually uses QueryPanel", with a signup funnel beside the text

The visual analysis version, with a large 2.6% headline and a design panel offering Dashboard, Scrollyteller, Visual short and Visual analysis formats

A new format stays a draft until you press Save, and History keeps earlier versions. Switching formats changed only the presentation. Claude reused the same queries each time. In the BI tools we've used, each of these would have been built separately.

SQL accuracy

A dashboard with a wrong number in it is worse than having no dashboard, so we measured how often Claude writes correct SQL on our data:

SetupCorrect answers
Claude, no knowledge of the data21%
Claude with a skill file (glossary + gold SQL)92%
Claude with the QueryPanel MCP server96%

Without any knowledge of the data, Claude has to guess what terms like "active" mean, and on our data it often guessed wrong. The SQL usually ran without errors and returned wrong numbers.

The skill file took Claude from 21% to 92%. QueryPanel added 4 more points. Most of the improvement came from the definitions and example queries, and the model was already good enough to use them.

QueryPanel's part is producing and maintaining that knowledge. It builds it from your code and data, stores it next to the schema, and lets every agent and every customer-facing dashboard use it. A skill file lives in one person's setup.

So is BI dead?

Not yet. A BI tool lets you connect data, define metrics, build charts, lay them out and share them. Claude now does all of that inside a tool people already use every day. Layout, design and the written analysis used to take the most time, and Claude now handles them well. What still takes real work is defining what the data means.

Many BI products also come with infrastructure or domain logic that a chat dashboard doesn't have:

  • Power BI runs on Microsoft Fabric. Its Direct Lake models read Delta tables from the OneLake data lake without importing them, so the data platform comes with the BI tool.
  • Sigma lets people edit data in input tables, and the edits are written back to the warehouse. Teams use it for planning and forecasting as well as reporting.
  • Apptio Cloudability, now IBM Cloudability, is a cloud cost tool. It includes calculations a general tool would have to rebuild, such as amortized AWS cost: upfront Reserved Instance and Savings Plan fees spread across the hours of the term and charged to the accounts that used them.

Claude doesn't replace those. It can query a lakehouse or a Cloudability export like any other datasource, but someone still has to build and run the lakehouse, the writeback tables and the cost model.

We expect analytics tools to separate into two layers:

  • Where people look at data. More and more, that will be the AI tool they already use.
  • What the data means and how to query it safely. Definitions, example queries, permissions and tenant isolation.

QueryPanel works on the second layer: for your team through the MCP server, and for your customers through embedded dashboards.

Try it yourself

  1. Connect your database to QueryPanel.
  2. Add the QueryPanel MCP server to Claude Code, and open the repository that owns the database.
  3. Ask Claude to read the code, find the queries the app runs, and write glossary entries and gold SQL for the metrics you care about. Approve each write.
  4. Ask it to build a Claude dashboard on that data.

To see QueryPanel before connecting your own database, try it on sample data. You ask a question and get a chart, the same way your customers would.

If you want to embed dashboards like these in your own product, with each customer seeing only their own data, book a 30-minute demo.

FAQ

What are Claude dashboards?

They are dashboards Claude builds from a conversation. Claude writes the queries, picks the charts and writes the text. The dashboard stores the tool calls behind each chart and re-runs them through a connector when it opens, so the data stays current. The same data can be shown as a dashboard, a scrolling story or a visual analysis, and the dashboard can be shared and commented on.

Can Claude build a dashboard from my database?

Yes, if Claude can reach the database through a connector such as an MCP server. In our case that was the QueryPanel MCP server, which searched the schema and ran the SQL. Correct numbers depend on context: Claude got 21% of our benchmark questions right with no knowledge of the data and 96% with glossary terms and example queries.

Did QueryPanel's AI write the SQL in this dashboard?

No. Claude Code wrote every query. QueryPanel provided schema search, the knowledge base and SQL execution. Claude never called its generate_sql tool.

Why did Claude score only 21% without help?

It could see the schema but not what the data meant. In our database, retries are logged as separate rows, our own workspace sits next to customer workspaces, and "activated" isn't stored anywhere. Queries that ignore these return wrong numbers without any error.

Do I need QueryPanel to get good SQL from Claude?

Not necessarily. A skill file with good glossary entries and gold SQL got Claude to 92% on our data, and QueryPanel got 96%. QueryPanel also helps you build that knowledge, keeps it next to the schema, and makes it available to every agent and to customer-facing dashboards.

Do the charts update when the data changes?

Yes. The dashboard stores the queries and re-runs them through the QueryPanel connector when the page opens or when you press refresh.

Who can see the data in a shared Claude dashboard?

By default, each viewer's queries run with that viewer's own QueryPanel access. Check who you're sharing with before you share a dashboard that shows production data.

Is BI really dead?

The title is deliberately provocative. BI tools still handle governance, scheduling and scale well. Building and presenting a dashboard has become easy, though, so we think BI tools will have to compete on how well they capture what the data means.

Further reading