npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@arvoretech/metabase-mcp

v1.0.1

Published

Metabase MCP Server for querying data, managing cards, dashboards and collections

Readme

Metabase MCP Server

A Model Context Protocol (MCP) server that provides AI assistants with access to Metabase analytics — query data, manage cards (reports), dashboards, and collections.

Features

  • Cards (Questions/Reports): List, create, update, delete, and run card queries
  • Dashboards: List, create, delete dashboards and add cards to them
  • Collections: List and create collections to organize content
  • Databases: List connected databases and their tables
  • SQL Queries: Execute native SQL queries against any connected database

Installation

npm install -g @arvoretech/metabase-mcp

Configuration

Set the required environment variables:

export METABASE_URL="https://your-metabase-instance.com"
export METABASE_API_KEY="your-metabase-api-key"

Getting an API Key

  1. Go to your Metabase instance
  2. Navigate to Admin > Settings > Authentication > API Keys
  3. Create a new API key with the appropriate permissions

Usage

Direct Execution

node dist/index.js

MCP Client Configuration

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

Available Tools

list_cards

List all cards (questions/reports). Filter by: all, mine, bookmarked, archived, recent, popular.

get_card

Get full details of a specific card by ID.

create_card

Create a new card with a query definition and visualization type (table, bar, line, pie, etc).

update_card

Update a card's name, description, display type, or visualization settings.

delete_card

Delete a card by ID.

run_card_query

Execute a saved card's query and return the results (limited to 100 rows).

list_dashboards

List all dashboards.

get_dashboard

Get dashboard details including its cards and layout.

create_dashboard

Create a new empty dashboard.

add_card_to_dashboard

Add an existing card to a dashboard at a specific grid position (row, col, size).

delete_dashboard

Delete a dashboard by ID.

list_collections

List all collections (folders).

create_collection

Create a new collection to organize cards and dashboards.

list_databases

List all databases connected to Metabase.

run_query

Execute a native SQL query against a specific database (limited to 200 rows).

list_tables

List all tables in a specific database.

Development

pnpm install
pnpm build
pnpm dev
pnpm lint
pnpm test:cov

License

MIT