Skip to main content
MCP server CX Codex

Metabase · 1luvc0d3 — Claude Code MCP server: features and setup

This MCP server for Claude Code connects an AI agent to Metabase. It reads and edits dashboards and cards, runs SQL queries, and analyzes data.

MIT ★ 5 updated 2026-11-16

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add --env METABASE_URL=<METABASE_URL> --env METABASE_API_KEY=<METABASE_API_KEY> --env MCP_MODE=<MCP_MODE> --env ANTHROPIC_API_KEY=<ANTHROPIC_API_KEY> --env MCP_REDACT_COLUMNS=<MCP_REDACT_COLUMNS> --transport stdio 1luvc0d3-metabase -- npx -y @ai-1luvc0d3/metabase-mcp
Open on GitHub

What Metabase does

The server gives an agent tools to read and change Metabase dashboards, cards, and collections. It runs SQL with safeguards against dangerous operations, groups actions into parallel batches or sequential workflows, and records tool calls. Its modes are read, write, and full; access can be controlled per tool, and query results can have selected columns redacted.

A reachable Metabase instance, its URL, and an API key are required. NLQ and insight features use ANTHROPIC_API_KEY; the server starts through npx with Node.js installed. Queries use SQL rather than MBQL. The server also supports Metabase instances accessed through a VPN and versions older than v0.60.

What it helps with

  • read data from Metabase dashboards and cards
  • run SQL against a database through an agent
  • create a card and add it to a dashboard in one workflow
  • restrict tool access and redact result columns
  • turn a natural-language question into SQL

Example prompts for the agent

  • Show data from the sales dashboard in Metabase.
  • Write a SQL query about revenue and explain its results.
  • Create a query card and add it to a dashboard.

How to install Metabase

Platform CLI

claude mcp add --env METABASE_URL=<METABASE_URL> --env METABASE_API_KEY=<METABASE_API_KEY> --env MCP_MODE=<MCP_MODE> --env ANTHROPIC_API_KEY=<ANTHROPIC_API_KEY> --env MCP_REDACT_COLUMNS=<MCP_REDACT_COLUMNS> --transport stdio 1luvc0d3-metabase -- npx -y @ai-1luvc0d3/metabase-mcp

Replace <…> with your own values. 1 more environment variable is in the server README

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about Metabase

How do I install Metabase in Claude Code?

Run `claude mcp add metabase-mcp -e METABASE_URL=<METABASE_URL> -e METABASE_API_KEY=<METABASE_API_KEY> -e ANTHROPIC_API_KEY=<ANTHROPIC_API_KEY> -- npx -y @ai-1luvc0d3/metabase-mcp`. You need the Metabase URL and API keys.

What does the Metabase MCP server do?

It lets an agent read and edit dashboards and cards, run SQL, and combine several operations into a batch or a sequential workflow.

What is required to run the Metabase MCP server?

You need an accessible Metabase instance, METABASE_URL, and METABASE_API_KEY. AI features also require ANTHROPIC_API_KEY, and running through npx requires Node.js.

Similar MCP servers

All MCP servers for Data and databases →

Metabase by other authors comes first.

Metabase metabase Connects AI assistants directly to a Metabase instance to search catalog items, execute SQL queries, and build charts under user permissions. CX Codex +1 ★ 50,467repo stars Metabase easecloudio Connects an AI agent to Metabase to inspect and manage dashboards, cards, and databases. Tool modes let you narrow which operations the agent can use. CX Codex +1 metabase-cli metabase metabase-cli controls a Metabase instance through the mb CLI: runs card queries, manages dashboards, traverses collections, and triggers schema syncs from the terminal. CX Codex +1 890installs metabase-database-metadata metabase The metabase-database-metadata skill for Claude Code reads Metabase YAML metadata from .metadata/databases/ and explains database schemas on demand. CX Codex +1 613installs metabase-ai-assistant enessari metabase-ai-assistant — an MCP server that wires your AI assistant into Metabase: SQL, dashboards, dbt models and PII masking. CX Codex +1 ★ 47repo stars Google BigQuery bigquery The Google BigQuery MCP server connects an agent to BigQuery for dataset discovery, schema checks, and read-only SQL queries. CX Codex +1 6,986installs ResultRail by LarryBuildsAI larrybuildsai ResultRail by LarryBuildsAI — an MCP server that fetches public data about domains and URLs, charging only for successful results. Returns sources, confidence scores, and receipt hashes—for quick data enrichment and lookup workflows. CX Codex +1 6,708installs cap-rate-signals capratesignals The cap-rate-signals MCP server for Claude Code compares US real estate markets by corporate investment, entry prices, and worker arrival signals. Search by industry and budget or assess a specific market. CX Codex +1 6,543installs

Project sponsors

Companies that keep this analytics open