MCP Catalogs
Home

metabase-mcp

by hluaguo·64·Score 47

Metabase MCP server enables AI assistants to query databases, execute SQL, and manage dashboards through Metabase API.

databaseai-llmdeveloper-tools
27
Forks
5
Open issues
1 mo ago
Last commit
2d ago
Indexed

Overview

Metabase MCP server is a high-performance Model Context Protocol implementation that bridges AI assistants with Metabase analytics platforms. It provides comprehensive tools for database operations, SQL and MongoDB query execution, card management, and collection organization. The server supports multiple authentication methods including API keys and email/password, and is designed for seamless integration with popular AI clients like Claude Desktop and Cursor IDE.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:Natural language database queries using AI assistants
you:Automated report generation and dashboard management
you:SQL query assistance and optimization through AI
you:What authentication methods are supported?
you:Which AI assistants are compatible with this MCP server?

When to choose this

Choose this server when you're already using Metabase for analytics and want AI assistants to directly query your databases through their API without needing additional data preparation.

When NOT to choose this

Don't choose this if you need direct database access outside of Metabase or if your Metabase instance doesn't have API access enabled.

Tools this server exposes

11 tools extracted from the README
  • list_databases

    List all configured databases in Metabase

  • list_tables

    Get all tables in a specific database with metadata

  • get_table_fields

    Retrieve field/column information for a table

  • execute_query

    Execute native SQL queries with parameter support

  • execute_mongodb_query

    Execute native MongoDB queries with automatic JSON conversion

  • execute_card

    Run saved Metabase questions/cards

  • list_cards

    List all saved questions/cards

  • create_card

    Create new questions/cards with SQL queries

  • create_mongodb_card

    Create new MongoDB questions/cards with native query support

  • list_collections

    Browse all collections

  • create_collection

    Create new collections for organization

Comparable tools

metabase-mcpdatabase-mcpsql-mcp

Installation

Installation

Option 1: Using uvx (Easiest - No Installation Required)

# Run directly without installing (like npx for Python)
uvx metabase-mcp

# With environment variables
METABASE_URL=https://your-instance.com METABASE_API_KEY=your-key uvx metabase-mcp

Option 2: Install from PyPI

# Install globally
uv tool install metabase-mcp

# Or with pip
pip install metabase-mcp

# Then run
metabase-mcp

Claude Desktop Integration

Add this to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
    "mcpServers": {
        "metabase-mcp": {
            "command": "uvx",
            "args": ["metabase-mcp"],
            "env": {
                "METABASE_URL": "https://your-metabase-instance.com",
                "METABASE_API_KEY": "your-api-key-here"
            }
        }
    }
}

FAQ

What authentication methods are supported?
The server supports API key authentication (recommended) and email/password authentication. Credentials can be provided via environment variables.
Which AI assistants are compatible with this MCP server?
The server is compatible with Claude Desktop, Cursor IDE, and any other MCP clients that support the Model Context Protocol.

Compare metabase-mcp with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.