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": ["metaverse-mcp"],
      "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.0.tar.gz (94.0 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.0-py3-none-any.whl (18.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: metaverse_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 94.0 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.0.tar.gz
Algorithm Hash digest
SHA256 2bc05eb875ab56d504e535ba76526514d56c64792ac992496c950f4a05c87cc0
MD5 418373b73f6fa4594fe68eaf3293ff54
BLAKE2b-256 3a657cb875efb96e503fc34f6c3e5f834505a2d1625b07eb5cb6a893d8142064

See more details on using hashes here.

File details

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

File metadata

  • Download URL: metaverse_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 18.5 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 51ea94f45bcdc2eb7da88451d5b48cb4635c219f42dc3d8d675a0216788c3231
MD5 1df67d071890b738a58fbc5ecc6d413f
BLAKE2b-256 ce9ca017c465a84d2f900c628d2c4578bb0df81e34b1315d356b0f95759a8b75

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