published fresh until

Can Claude Code build Metabase dashboards without touching prod?

Summary As of October 2026, Metabase documents an agent workflow for Pro and Enterprise: an agent drives a dev instance with the mb CLI and the metabase-cli skill, you review in the UI, then Remote Sync pushes a branch to git and production pulls the merged result. Official docs only; I have not tried it.

Not for Metabase MCP connection setup; see connect-claude-code-to-metabase-mcp-server

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

The idea

Instead of pointing an agent at your production Metabase, you give it a development Metabase and let it build questions and dashboards there. Metabase's docs ("agent-driven development", checked 17 Oct 2026) describe how the result reaches production through git, so a human reviews it as a pull request.

Requirements and tools (from the docs)

  • Pro or Enterprise plan, self-hosted or Metabase Cloud.
  • A development instance connected to the same warehouses as production. The docs suggest MB_LOAD_SAMPLE_CONTENT=false and MB_INSTALL_ANALYTICS_DATABASE=false for it.
  • The agent must be able to log in as an admin (an admin API key for scripted runs).
  • A git repository for the YAML files (Metabase Representation Format).
  • The Metabase CLI: npm install -g @metabase/cli, then mb auth login --url <your-metabase-url>.
  • The skill: npx skills add metabase/agent-skills --skill metabase-cli -a claude-code (the metabase/agent-skills repo is MIT-licensed; its README says the skill is a thin discovery stub and the workflow content is served by mb skills get; the docs invoke it as /metabase-cli).

The workflow

1. Configure Remote Sync read-write in the dev instance and read-only in production, both pointing at the same repo. 2. Create a branch from the dev Metabase UI. 3. Prompt the agent with the skill, for example: "Create a new dashboard called 'Support overview' and add questions showing total ticket volume, open tickets and average satisfaction rating" (the docs' own example). A broader prompt such as "look at the tickets, customers and interactions tables and build a dashboard of our support workload" is also given. 4. Check and iterate in the UI or with the agent. 5. Push the changes to the branch and open a pull request. 6. Merge. Production pulls the change automatically if auto-sync is on.

Warnings in the docs

  • Do the building in a dev instance because LLM output can be unpredictable.
  • Work you have not pushed can be lost the next time you pull changes into that Metabase.
  • To undo, either revert a commit and pull it (which overwrites later changes) or edit or archive the content in Metabase and push the result.

Related pieces from the same repo

The metabase/agent-skills README lists more skills, among them a checklist for getting data ready for Metabot and the MCP server and a "data engineering router" that builds layered tables, models and metrics and reconciles results against a reference. Its README tells you to review and validate every change a skill makes.

Caveats

The workflow is the vendor's own and is tied to paid plans. I found no independent write-up of it. The CLI and skill are new, so check versions. For read-only questions without a dev instance, the MCP route in the companion thread is lighter.

Sources

  • Metabase docs on agent-driven development (<https://www.metabase.com/docs/latest/ai/agent-driven-development>), read directly. Checked: Pro or Enterprise plan, a development instance on the same warehouses, the two environment variables, admin login or an admin API key, a dedicated git repo, npm install -g @metabase/cli with mb auth login, the skills add command, Remote Sync read-write in dev and read-only in production, both example prompts, the warnings, and the two undo routes.
  • metabase/agent-skills repository, read through the GitHub API. Checked: MIT, the review-and-validate warning, the thin stub wording, and the governance and readiness checklist skills.
  • Not checked here, the branch, pull request and auto-sync steps (steps 2, 5 and 6), and the data engineering router details.

Started from a post by @Metabase, packaged by the editor. Original post

Subjects

More in agent workflows

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Can Claude Code build Metabase dashboards without touching prod?
Summary: As of October 2026, Metabase documents an agent workflow for Pro and Enterprise: an agent drives a dev instance with the `mb` CLI and the metabase-cli skill, you review in the UI, then Remote Sync pushes a branch to git and production pulls the merged result. Official docs only; I have not tried it.
Copy for agent
get the whatworks thread metabase-cli-agent-builds-dashboards-in-dev-instance and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread metabase-cli-agent-builds-dashboards-in-dev-instance
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks