Skip to main content

AI-powered Metabase interface via MCP

Project description

Metaverse

AI-powered interface for Metabase — query your data, build dashboards, and set up alerts using natural language.

Skills

Use these Claude Code slash commands from any project connected to Metaverse:

Skill Description Example
/metaask Ask a data question, get a table back "How many customers do we have in the US?"
/metaquery Build and save a custom query "Show me the latest orders by customer #100"
/metaboard Build a dashboard from a description "Monthly overview of Gift Card sales"
/metametric Create or explore a reusable named metric "Create a Total Revenue metric on orders"
/metalert Set up a metric alert "Notify me when any provider has more than 10 refunds in an hour"

What it solves

  • Extracting data from databases without writing SQL manually
  • Building dashboards and alerts without navigating the Metabase UI
  • Exploring data structures and relationships through conversation
  • Spotting patterns and anomalies by just asking

Integrations

Works wherever Claude agents run:

  • Claude Code — local CLI (primary target)
  • Claude Desktop — local app via ngrok tunnel
  • Claude in Slack — team-wide data questions (planned)
  • Claude in GitHub — data questions in issues and PRs (planned)

How it works

An MCP server exposes Metabase as a set of tools Claude can call — browsing databases and tables, running SQL queries, creating saved questions, assembling dashboards, and managing alerts. Claude handles the natural language layer; Metabase handles the data layer.

Stack

  • Python + FastMCP — MCP server (HTTP transport)
  • Metabase OSS + Postgres — data layer, both run locally via Docker
  • Justfile — task runner for starting services, seeding data, and config

Agent integration

Claude Code

Add to .mcp.json in your project root:

{
  "mcpServers": {
    "metaverse": {
      "type": "http",
      "url": "http://localhost:8000/mcp"
    }
  }
}

Run just up to start the stack, then open Claude Code. The slash commands (/metaask, /metaquery, /metaboard, /metalert) and all MCP tools are available immediately.

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS):

{
  "mcpServers": {
    "metaverse": {
      "command": "uvx",
      "args": ["--from", "metaverse-mcp", "metaverse"],
      "env": {
        "METABASE_URL": "https://your-metabase.example.com",
        "METABASE_API_KEY": "mb_xxxx"
      }
    }
  }
}

Restart Claude Desktop. The metaask, metaquery, metaboard, and metalert prompts appear in the UI — no slash commands needed.

Local Metabase only? Claude Desktop requires HTTPS even for localhost. Run ngrok http 3000 and use the tunnel URL as METABASE_URL.

Any MCP-compatible agent

Point the agent at the running HTTP server:

http://localhost:8000/mcp

The server exposes 14 tools and 3 schema resources (metaverse://schema, metaverse://database/{id}, metaverse://table/{id}) that any MCP client can discover and use.


Getting started

See HOWTO.md for full setup instructions.

just up       # start Postgres + Metabase + MCP server
just setup    # first-run: create admin account + API key
claude        # open Claude Code — skills and MCP tools are ready

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

metaverse_mcp-0.1.1.tar.gz (94.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

metaverse_mcp-0.1.1-py3-none-any.whl (18.6 kB view details)

Uploaded Python 3

File details

Details for the file metaverse_mcp-0.1.1.tar.gz.

File metadata

  • Download URL: metaverse_mcp-0.1.1.tar.gz
  • Upload date:
  • Size: 94.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for metaverse_mcp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 1207da0ead668ebb72328775c6cf6b50fb64fe4d93bc370bde8a6e5c65ac7c51
MD5 4a6c19e6e4f640b25a8fc27e4f3f91f8
BLAKE2b-256 fdd6f1749224d96d4a7ea2af0ba31fb775226e76fd1607ed09da3d40b8bdec8d

See more details on using hashes here.

File details

Details for the file metaverse_mcp-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: metaverse_mcp-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 18.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for metaverse_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c5f34ce054ccccc871407ca8dd52c7ff5f6d6c0a216a1777d7c79702f89fefca
MD5 fde202937844d543b28e7a602fe4941f
BLAKE2b-256 52d33deee88c5e7ec348bc3f9bb3fdbc35b1c68f5fc9ac351800a53569e250a0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page