MCP Server for Metabase - 111 tools for SQL generation, dashboards & PostgreSQL
SaferSkills independently audited metabase-ai-assistant (MCP Server) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Metabase AI Assistant is an enterprise-grade Model Context Protocol (MCP) server that connects Large Language Models (LLMs), AI coding assistants, and automated data workflows directly to your Metabase Business Intelligence instance.
Featuring 152 dedicated tools, native dbt Metadata & Metrics Auto-Syncer, Metabase to dbt Reverse Lineage Exposures, dbt-Smart Question Creator, Lightdash Code-as-BI YAML-to-Dashboard generation, Cube.js-style Pre-aggregations & Multi-Hop Lineage Joins, Omni.co Controlled Semantic-to-YAML bridge, autonomous self-healing SQL execution, full-scale dashboard architecting, proactive anomaly detection, query index advisory, zero-leak PII masking, and strict security guardrails. Works seamlessly with Claude, Cursor, ChatGPT, Gemini, and Google Antigravity.
Metabase AI Assistant transforms standard AI interfaces (Claude Desktop, Cursor, VS Code, ChatGPT, Gemini, automated agent frameworks) into full-fledged Metabase power users:
doc('...') resolution, and catalog.json table/column profiling.meta.metabase and meta.lightdash formatting options into collision-free 24-column Metabase Dashboards.schema.yml / semantic_models.yml code blocks.$$\mathbf{Gold\;Marts\;(fct\_,\;dim\_,\;rpt\_)} \;\gg\; \mathbf{Silver\;(int\_)} \;\gg\; \mathbf{Bronze\;Staging\;(stg\_)}$$
dbt_inspect_models: Parses dbt manifest.json and MetricFlow semantic models.dbt_prioritize_sources: Dynamically routes natural language questions to pre-aggregated, tested dimensional and fact tables.semantic_memory_propose: Proposes a business rule in PENDING_APPROVAL status.semantic_memory_approve: Explicitly activates the rule with required data steward comments.semantic_memory_deprecate: Safely soft-archives rules with mandatory audit reasons (DEPRECATED).semantic_memory_restore: Instantly restores archived rules.semantic_memory_list: Lists all rules with complete audit history and timestamps.ai_sql_execute_and_heal)GROUP BY clauses, and dialect quirks across Postgres, MySQL, BigQuery, Snowflake, and SQLite._provenance.healing_trail.Metabase AI Assistant provides backward and forward compatibility across all major Metabase architectures:
| Metabase Version Range | Compatibility Level | Key Features Supported |
|---|---|---|
| Metabase v0.55 – v0.61+ (Current) | Full Support | Modern MBQL 5 format (stages, lib/type), /api/upload/csv, updated collection permissions, multi-tab dashboards |
| Metabase v0.50 – v0.54 | Full Support | Collection tree hierarchies (/api/collection/tree), Model cards, API Key auth (x-api-key), sequential parametric queries |
| Metabase v0.43 – v0.49 | Full Support | Session token authentication (X-Metabase-Session), legacy MBQL query pipelines, database introspection |
| Metabase Open Source & Enterprise | Full Support | Automatic feature detection (whitelabeling, audit logs, granular data permissions) |
npx metabase-ai-assistantnpm install -g metabase-ai-assistant#### Option A: One-Click Extension (DXT / MCPB)
npx -y @smithery/cli install metabase-ai-assistant --client claude#### Option B: Manual JSON Configuration Add the server definition to claude_desktop_config.json:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json{
"mcpServers": {
"metabase": {
"command": "npx",
"args": ["-y", "metabase-ai-assistant"],
"env": {
"METABASE_URL": "https://your-metabase-instance.com",
"METABASE_API_KEY": "mb_your_api_key_here",
"METABASE_READ_ONLY_MODE": "true"
}
}
}
}Add to .cursor/mcp.json or VS Code MCP settings:
{
"mcpServers": {
"metabase": {
"command": "npx",
"args": ["-y", "metabase-ai-assistant"],
"env": {
"METABASE_URL": "https://your-metabase-instance.com",
"METABASE_API_KEY": "mb_your_api_key_here",
"METABASE_READ_ONLY_MODE": "true"
}
}
}
}Expose Metabase AI Assistant as an OpenAPI Action for ChatGPT Plus / Team / Enterprise:
npm run start:ssehttps://your-domain.com/tools/openapi.jsonPass tool definitions to Gemini Function Calling SDKs (@google/genai or google-generativeai):
Deploy directly to Cloudflare's edge network for free:
cd deploy/cloudflare
npx wrangler deployThe 143 MCP tools are categorized into 10 operational domains:
Backed by an automated multi-tier test suite covering unit logic, integration workflows, and security fuzzing:
# Run complete test suite (32 suites, 583 tests)
npm test
# Run unit tests
npm run test:unit
# Run integration workflows
npm run test:integration
# Run security & PII zero-leak fuzzing tests
npm run test:securityLicensed under the Apache License 2.0. See the LICENSE file for details.
Developed and maintained by Abdullah Enes SARI (ONMARTECH LLC).
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.