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.2.tar.gz (93.3 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.2-py3-none-any.whl (20.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: metaverse_mcp-0.1.2.tar.gz
  • Upload date:
  • Size: 93.3 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.2.tar.gz
Algorithm Hash digest
SHA256 9c5fe82c420434e016057d3c67680965af1c2331dc69c73a8d78cd5ecf619558
MD5 f77ba5dd5d832472e4c62bc13b03a86c
BLAKE2b-256 c8901e157293043b2092027b22fb3af799f720e272335a6ead3050ffaf75f322

See more details on using hashes here.

File details

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

File metadata

  • Download URL: metaverse_mcp-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 20.3 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b5eb9964e9a4f490d58671dc3552b2ee7b40625ea2b9b7aaae338ccd9a369b08
MD5 19db52044fb42dd249ea99b2993ef216
BLAKE2b-256 c8fe23489ee4bffdbd3176beebcb788563ebf326568a512e0e8e1cde02ecef58

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