ME

Metabase MCP (headless) MCP Server

Published by Serdnaley

Headless Metabase MCP: API-key auth, no OAuth. 178 tools, toolsets, stdio or HTTP, all tiers.

Website
CATEGORY
More to explore
DEPLOYMENT
Local package
LATEST SOURCE VERSION
0.5.0
SOURCE CHECKED
Nov 30, 2026

Quick answers

How do I add Metabase MCP (headless) MCP Server to Claude Code, Cursor or Codex?

Claude CodeCommand

Run this in your terminal:

claude mcp add --env 'METABASE_URL=<your-metabase-url>' --env 'METABASE_API_KEY=<your-metabase-api-key>' --env 'METABASE_PASSWORD=<your-metabase-password>' --env 'METABASE_CUSTOM_HEADERS=<your-metabase-custom-headers>' --transport stdio metabase-headless -- npx -y @serdnaley/metabase-mcp

Replace the <your-…> placeholder with your own METABASE_URL and METABASE_API_KEY and METABASE_PASSWORD and METABASE_CUSTOM_HEADERS.

Claude Code setup guide
CursorConfig

Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project:

{
  "mcpServers": {
    "metabase-headless": {
      "command": "npx",
      "args": [
        "-y",
        "@serdnaley/metabase-mcp"
      ],
      "env": {
        "METABASE_URL": "<your-metabase-url>",
        "METABASE_API_KEY": "<your-metabase-api-key>",
        "METABASE_PASSWORD": "<your-metabase-password>",
        "METABASE_CUSTOM_HEADERS": "<your-metabase-custom-headers>"
      }
    }
  }
}

Replace the <your-…> placeholder with your own METABASE_URL and METABASE_API_KEY and METABASE_PASSWORD and METABASE_CUSTOM_HEADERS.

Cursor setup guide
CodexCommand

Run this in your terminal:

codex mcp add metabase-headless --env 'METABASE_URL=<your-metabase-url>' --env 'METABASE_API_KEY=<your-metabase-api-key>' --env 'METABASE_PASSWORD=<your-metabase-password>' --env 'METABASE_CUSTOM_HEADERS=<your-metabase-custom-headers>' -- npx -y @serdnaley/metabase-mcp

Replace the <your-…> placeholder with your own METABASE_URL and METABASE_API_KEY and METABASE_PASSWORD and METABASE_CUSTOM_HEADERS.

Codex setup guide
VS CodeConfig

Add this to .mcp.json at the root of your workspace:

{
  "mcpServers": {
    "metabase-headless": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@serdnaley/metabase-mcp"
      ],
      "env": {
        "METABASE_URL": "<your-metabase-url>",
        "METABASE_API_KEY": "<your-metabase-api-key>",
        "METABASE_PASSWORD": "<your-metabase-password>",
        "METABASE_CUSTOM_HEADERS": "<your-metabase-custom-headers>"
      }
    }
  }
}

Replace the <your-…> placeholder with your own METABASE_URL and METABASE_API_KEY and METABASE_PASSWORD and METABASE_CUSTOM_HEADERS.

VS Code setup guide
Claude DesktopConfig

Add this to claude_desktop_config.json, then restart Claude:

{
  "mcpServers": {
    "metabase-headless": {
      "command": "npx",
      "args": [
        "-y",
        "@serdnaley/metabase-mcp"
      ],
      "env": {
        "METABASE_URL": "<your-metabase-url>",
        "METABASE_API_KEY": "<your-metabase-api-key>",
        "METABASE_PASSWORD": "<your-metabase-password>",
        "METABASE_CUSTOM_HEADERS": "<your-metabase-custom-headers>"
      }
    }
  }
}

Replace the <your-…> placeholder with your own METABASE_URL and METABASE_API_KEY and METABASE_PASSWORD and METABASE_CUSTOM_HEADERS.

Claude Desktop setup guide
ChatGPTNot available

ChatGPT can't add it from its published details: it connects from the cloud and needs a public address, and this server runs on your computer.

ChatGPT setup guide

Which apps can use Metabase MCP (headless) MCP Server?

Claude Code, Cursor, Codex, VS Code and Claude Desktop can add it from its published details. ChatGPT can't: it connects from the cloud and needs a public address, and this server runs on your computer.

Does Metabase MCP (headless) MCP Server need an API key?

To run it on your computer, set METABASE_URL, METABASE_API_KEY, METABASE_PASSWORD and METABASE_CUSTOM_HEADERS first, with values from the publisher.

Is Metabase MCP (headless) MCP Server official?

It's published by Serdnaley. The Official MCP Registry accepts names under io.github.Serdnaley only from the GitHub account or organisation Serdnaley. We last checked its listing on Nov 30, 2026. A listing shows where a server comes from; it isn't a security review.

Published packages

npm · @serdnaley/metabase-mcp@0.5.0
View source repository