Metabase MCP Server

Databasehttp-streaming
Repository

Metabase's built-in MCP server that lets AI clients connect directly to a Metabase instance, scoped to the connecting user's permissions. Enables agents to discover databases and models, run queries, and retrieve results and dashboards so teams can ask questions of their business intelligence data in natural language.

Connect

Add this configuration to .claude/mcp.json

{
  "mcpServers": {
    "metabase": {
      "url": "https://github.com/metabase/metabase",
      "env": {
        "METABASE_URL": "<YOUR_METABASE_URL>",
        "METABASE_API_KEY": "<YOUR_METABASE_API_KEY>"
      }
    }
  }
}

Tools (2)

list_databases

List the databases connected to the Metabase instance that the user can access.

{
  "type": "object",
  "properties": {}
}

execute_query

Run a query against a connected database and return the results.

{
  "type": "object",
  "required": [
    "database_id",
    "query"
  ],
  "properties": {
    "query": {
      "type": "string",
      "description": "SQL query to execute"
    },
    "database_id": {
      "type": "integer",
      "description": "ID of the database to query"
    }
  }
}

Resources

This server does not expose any resources.

Prompts

This server does not expose any prompts.

Server Information

Author
Metabase (@metabase)
Repository
https://github.com/metabase/metabase
Stars
0
Last Updated
July 12, 2026