Metabase MCP Server

Metabase MCP Server
Featured

mcp metabase. Contribute to imlewc/metabase-server development by creating an account on GitHub.

imlewc

Databases
JavaScript
Visit Server

README

metabase-server/README.md at main · imlewc/metabase-server · GitHub

Skip to content

Navigation Menu

Toggle navigation

Sign in

Search or jump to...

Search code, repositories, users, issues, pull requests...

Search

Clear

Search syntax tips

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Cancel Submit feedback

Saved searches

Use saved searches to filter your results more quickly

Name

Query

To see all available qualifiers, see our documentation.

Cancel Create saved search

Sign in

Sign up Reseting focus

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

{{ message }}

imlewc / metabase-server Public

Additional navigation options

Files

main

  • src

  • .gitignore

  • Dockerfile

  • README.md

  • package-lock.json

  • package.json

  • smithery.yaml

  • tsconfig.json

Breadcrumbs

  1. metabase-server

/

README.md

Copy path

Blame

Blame

Latest commit

Image 2: smithery-ai[bot]smithery-ai[bot]

Update README

Mar 2, 2025

03f7e2a · Mar 2, 2025

History

History

98 lines (71 loc) · 2.76 KB

Breadcrumbs

  1. metabase-server

/

README.md

Top

File metadata and controls

  • Preview

  • Code

  • Blame

98 lines (71 loc) · 2.76 KB

Raw

metabase-server MCP Server

Image 3: smithery badge

A Model Context Protocol server for Metabase integration.

This is a TypeScript-based MCP server that implements integration with Metabase API. It allows AI assistants to interact with Metabase, providing access to:

  • Dashboards, questions/cards, and databases as resources
  • Tools for listing and executing Metabase queries
  • Ability to view and interact with Metabase data

Features

Resources

  • List and access Metabase resources via metabase:// URIs
  • Access dashboards, cards/questions, and databases
  • JSON content type for structured data access

Tools

  • list_dashboards - List all dashboards in Metabase
  • list_cards - List all questions/cards in Metabase
  • list_databases - List all databases in Metabase
  • execute_card - Execute a Metabase question/card and get results
  • get_dashboard_cards - Get all cards in a dashboard
  • execute_query - Execute a SQL query against a Metabase database

Configuration

Before running the server, you need to set the following environment variables:

# Required environment variables
export METABASE_URL=https://your-metabase-instance.com
export METABASE_USERNAME=your_username
export METABASE_PASSWORD=your_password

You can set these environment variables in your shell profile or use a .env file with a package like dotenv.

Development

Install dependencies:

npm install

Build the server:

npm run build

For development with auto-rebuild:

npm run watch

Installation

To use with Claude Desktop, add the server config:

On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json On Windows: %APPDATA%/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "metabase-server": {
      "command": "/path/to/metabase-server/build/index.js",
      "env": {
        "METABASE_URL": "https://your-metabase-instance.com",
        "METABASE_USERNAME": "your_username",
        "METABASE_PASSWORD": "your_password"
      }
    }
  }
}

Note: You can also set these environment variables in your system instead of in the config file if you prefer.

Installing via Smithery

To install metabase-server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @imlewc/metabase-server --client claude

Debugging

Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:

npm run inspector

The Inspector will provide a URL to access debugging tools in your browser.

Footer

© 2025 GitHub, Inc.

Footer navigation

You can’t perform that action at this time.

Recommended Servers

Claude Code MCP

Claude Code MCP

claude-code-mcp. Contribute to auchenberg/claude-code-mcp development by creating an account on GitHub.

Featured
Local
JavaScript
Supabase MCP Server

Supabase MCP Server

Contribute to JoshuaRileyDev/supabase-mcp-server development by creating an account on GitHub.

Featured
JavaScript
Linear MCP Server

Linear MCP Server

A server that integrates Linear's project management system with the Model Context Protocol (MCP) to allow LLMs to interact with Linear. - jerhadf/linear-mcp-server

Featured
JavaScript
MCP DuckDB Knowledge Graph Memory Server

MCP DuckDB Knowledge Graph Memory Server

MCP Memory Server with DuckDB backend. Contribute to IzumiSy/mcp-duckdb-memory-server development by creating an account on GitHub.

Featured
TypeScript
mcp-shodan

mcp-shodan

MCP server for querying the Shodan API. Contribute to BurtTheCoder/mcp-shodan development by creating an account on GitHub.

Featured
JavaScript
dbt Semantic Layer MCP Server

dbt Semantic Layer MCP Server

MCP Server for querying DBT Semantic Layer. Contribute to TommyBez/dbt-semantic-layer-mcp-server development by creating an account on GitHub.

Featured
TypeScript
@kazuph/mcp-gmail-gas

@kazuph/mcp-gmail-gas

Contribute to kazuph/mcp-gmail-gas development by creating an account on GitHub.

Featured
JavaScript
Airtable MCP Server

Airtable MCP Server

Search, create and update Airtable bases, tables, fields, and records using Claude Desktop and MCP (Model Context Protocol) clients - felores/airtable-mcp

Featured
JavaScript
Verodat MCP Server

Verodat MCP Server

Verodat MCP Server Implementation. Contribute to Verodat/verodat-mcp-server development by creating an account on GitHub.

Official
Local
TypeScript
nile-mcp

nile-mcp

MCP server for Nile Database - Manage and query databases, tenants, users, auth using LLMs - niledatabase/nile-mcp-server

Official
TypeScript