Metabase AI Assistant is an MCP server that enables users to generate SQL from natural language, create dashboards, manage users, and automate business intelligence workflows.
From the registry: MCP Server for Metabase - 111 tools for SQL generation, dashboards & PostgreSQL
Please install the `metabase-ai-assistant` MCP server into my current AI client (that's you).
Required prerequisites (do these first if not already done):
- **Node.js 18+** — Node.js version 18 or higher
- **Metabase account** — Metabase instance URL and API key
Canonical MCP server config (stdio transport):
- command: `npx`
- args: ["-y","metabase-ai-assistant"]
- required environment variables:
- `METABASE_URL`: Metabase instance URL (example: `https://your-metabase.com`)
- `METABASE_API_KEY`: Metabase API key (starts with mb_) (example: `<your-api-key>`)
- optional environment variables:
- `METABASE_READ_ONLY_MODE`: Block write operations (default: true) (example: `true`)
- `ANTHROPIC_API_KEY`: For AI SQL generation
- `OPENAI_API_KEY`: For AI SQL generation
- `CACHE_TTL_MS`: Cache TTL in ms (example: `600000`)
Note: Alternative: METABASE_USERNAME + METABASE_PASSWORD instead of METABASE_API_KEY.
Add this MCP server to my current client's config in the correct format for you. If you need secrets or credentials I haven't provided, ASK me — do not invent values or leave raw placeholders. After adding it, tell me how to verify the server is connected.METABASE_URLrequiredURL of the Metabase instanceMETABASE_API_KEYrequiredAPI key for accessing Metabase