CAT
/MCP
SkillsMCPMarketplacesDigestToolsAdvertise

This week in Claude

Every Monday: Claude Code, Agent SDK, MCP, and the Anthropic platform moves worth your time.

Skills by Category
Frontend DevelopmentBackend & APIsTesting & QASecurityDevOps & CI/CDGit & Pull RequestsDocumentationCode Review & QualityAI & Agent BuildingSkill Development
MCP Servers by Category
Sales & MarketingWeb & Browser AutomationDatabasesAI & LLM ToolsCloud & InfrastructureCommunication & MessagingDeveloper ToolsDesign & CreativeDocuments & KnowledgeSearch & Web Crawling
Marketplaces by Category
AI Agents & OrchestrationLLM IntegrationDevelopment ToolsFrontend & UIBackend & APIsDatabasesTesting & Code QualityDevOps & CloudSecurity & ComplianceGit & Version Control

Cross AI Tools

Discover Claude Code plugins, extensions, and tools. Automatically updated directory of Anthropic Claude AI marketplaces with development tools, productivity plugins, and integrations.

Resources

  • Browse Skills
  • Browse MCP Servers
  • Browse Marketplaces
  • Plugins Reference

Community

  • About
  • Tools
  • Feedback
  • Privacy Policy
  • Advertise

Built for the Claude Code community with Claude Code by @mertduzgun

Independent project, not affiliated with Anthropic

Metabase Ai Assistant

enessari/metabase-ai-assistant
43authSTDIOregistry active
Summary

A comprehensive bridge to Metabase that exposes 134 tools across database operations, dashboard management, and AI-powered SQL generation. You get direct access to the Metabase API for creating questions and dashboards, managing users and permissions, plus Postgres-specific operations like table creation, indexing, and VACUUM commands. The standout features are AI tools that convert natural language to SQL, optimize queries, and auto-generate dashboard templates. It includes read-only mode by default to prevent accidental destructive operations, activity logging for audit trails, and metadata analytics for tracking query performance and content usage. Reach for this when you need to automate BI workflows, generate SQL through conversation, or manage Metabase infrastructure programmatically without switching to the web interface.

CodeRabbit
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Try For Free →
Keep your Mac awake
Keep your Mac awake
Keep your Mac awake while Claude Code and 40+ AI agents run. Sleeps when they're idle.
One time payment $9 →
Context.devContext.dev
Context.dev
Integrate web data into your AI product. One API to scrape website & brand data.
Get API Key Now →
Make your agent a DeFi expert
Make your agent a DeFi expert
Agent, run crypto. Access onchain data & trade routes via 1inch.
Install now →
Make money from your Skills
Make money from your Skills
On Capafy, your Skill runs online 24/7 as an agent product, and you get paid every time someone uses it.
Start earning →
AppSignal
AppSignal
Monitor with ease. Code with confidence.
Start Free Trial →
CodeRabbit
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Try For Free →
Keep your Mac awake
Keep your Mac awake
Keep your Mac awake while Claude Code and 40+ AI agents run. Sleeps when they're idle.
One time payment $9 →
Context.devContext.dev
Context.dev
Integrate web data into your AI product. One API to scrape website & brand data.
Get API Key Now →
Make your agent a DeFi expert
Make your agent a DeFi expert
Agent, run crypto. Access onchain data & trade routes via 1inch.
Install now →
Make money from your Skills
Make money from your Skills
On Capafy, your Skill runs online 24/7 as an agent product, and you get paid every time someone uses it.
Start earning →
AppSignal
AppSignal
Monitor with ease. Code with confidence.
Start Free Trial →

🚀 Metabase AI Assistant

The Most Powerful MCP Server for Metabase

134 Tools • MCP SDK v1.26.0 • AI-Powered SQL • Structured Output • Enterprise Security

npm version npm downloads GitHub stars License

MCP Compatible Claude Cursor Node.js MCP Badge

Turn your AI assistant into a Metabase power user.
Generate SQL from natural language, create dashboards, manage users, and automate BI workflows.

📦 Install Now • 📖 Documentation • 🎯 Features • ⭐ Star Us


⭐ Why This Project?

"I analyzed every Metabase MCP server on the market. This one has 4x more tools and features than any competitor."

FeatureThis ProjectOther MCP Servers
Total Tools134 ✅6-30
AI SQL Generation✅❌
AI SQL Optimization✅❌
Dashboard Templates✅❌
User Management✅❌
Workspace Export/Import✅❌
Read-Only Security Mode✅✅
Response Caching✅✅
Activity Logging✅❌
Metadata Analytics✅❌
Parametric Questions✅❌
Environment Comparison✅❌
Structured Output (JSON)✅❌
Tool Annotations✅❌

🚀 Quick Start

One-Line Install

npx metabase-ai-assistant

Add to Claude Desktop / Cursor

{
  "mcpServers": {
    "metabase": {
      "command": "npx",
      "args": ["-y", "metabase-ai-assistant"],
      "env": {
        "METABASE_URL": "https://your-metabase.com",
        "METABASE_API_KEY": "mb_your_api_key"
      }
    }
  }
}

That's it! Your AI assistant now has full Metabase superpowers. 🦸


🎯 What Can You Do?

💬 Natural Language → SQL

You: "Show me total revenue by product category for the last 30 days"
AI: Uses ai_sql_generate → Runs query → Returns formatted results

📊 Instant Dashboard Creation

You: "Create an executive dashboard for our e-commerce sales"
AI: Uses mb_dashboard_template_executive → Creates fully configured dashboard

🔍 Deep Database Exploration

You: "What tables are related to 'orders' and show their relationships"
AI: Uses db_relationships_detect → Returns complete ER diagram info

🛡️ Enterprise-Grade Security

You: "DROP TABLE users" 
AI: 🔒 Blocked - Read-only mode active

🔧 Complete Tool List (134)

🆕 All tools include MCP annotations and title. 16 priority tools support outputSchema + structuredContent for typed JSON responses.

📊 Database Operations (25 tools)
ToolDescription
db_listList all databases
db_schemasGet schemas in a database
db_tablesGet tables with fields
sql_executeExecute SQL queries
db_table_createCreate tables (AI-prefixed)
db_view_createCreate views
db_matview_createCreate materialized views
db_index_createCreate indexes
db_vacuum_analyzeVACUUM and ANALYZE
db_query_explainEXPLAIN query plans
db_table_statsTable statistics
db_index_usageIndex usage analysis
db_schema_exploreFast schema exploration
db_schema_analyzeDeep schema analysis
db_relationships_detectDetect foreign keys
...and more
🤖 AI-Powered Features (5 tools)
ToolDescription
ai_sql_generateNatural language → SQL
ai_sql_optimizeQuery optimization suggestions
ai_sql_explainExplain SQL in plain English
ai_relationships_suggestSuggest table relationships
mb_auto_describeAuto-generate descriptions
📋 Question/Card Management (12 tools)
ToolDescription
mb_question_createCreate new questions
mb_questionsList all questions
mb_question_create_parametricParametric questions
mb_card_getGet card details
mb_card_updateUpdate cards
mb_card_deleteDelete cards
mb_card_archiveArchive cards
mb_card_dataGet card data as JSON
mb_card_copyCopy cards
mb_card_cloneClone cards
...and more
📈 Dashboard Management (14 tools)
ToolDescription
mb_dashboard_createCreate dashboards
mb_dashboardsList all dashboards
mb_dashboard_getGet dashboard details
mb_dashboard_updateUpdate dashboards
mb_dashboard_deleteDelete dashboards
mb_dashboard_add_cardAdd cards to dashboard
mb_dashboard_add_filterAdd filters
mb_dashboard_layout_optimizeOptimize layout
mb_dashboard_template_executiveExecutive templates
...and more
👥 User & Permission Management (10 tools)
ToolDescription
mb_user_listList users
mb_user_getGet user details
mb_user_createCreate users
mb_user_updateUpdate users
mb_user_disableDisable users
mb_permission_group_listList groups
mb_permission_group_createCreate groups
...and more
📊 Metadata Analytics (14 tools)
ToolDescription
mb_meta_overviewInstance health check
mb_meta_query_performanceQuery analytics
mb_meta_content_usageContent usage stats
mb_meta_user_activityUser activity
mb_meta_table_dependenciesTable dependencies
mb_meta_impact_analysisBreaking change analysis
mb_meta_optimization_recommendationsIndex suggestions
mb_meta_export_workspaceBackup to JSON
mb_meta_import_previewImport dry-run
mb_meta_compare_environmentsDev vs Prod diff
mb_meta_auto_cleanupSafe cleanup
...and more

🛡️ Security Features

FeatureDescription
🔒 Read-Only ModeBlocks INSERT, UPDATE, DELETE, DROP (default: enabled)
🏷️ AI PrefixAll AI-created objects use claude_ai_ prefix
✅ Explicit ApprovalDestructive operations require confirmation
📝 Activity LoggingFull audit trail of all operations
🔐 Env ValidationZod-validated environment variables
💾 Auto-BackupPrompts for backup before destructive ops
# Enable/disable read-only mode
METABASE_READ_ONLY_MODE=true  # Default: blocks write ops
METABASE_READ_ONLY_MODE=false # Allow write operations

⚙️ Configuration

Create a .env file:

# Required
METABASE_URL=https://your-metabase.com
METABASE_API_KEY=mb_your_api_key

# Or use username/password
# METABASE_USERNAME=admin@example.com
# METABASE_PASSWORD=your_password

# Security (defaults to true)
METABASE_READ_ONLY_MODE=true

# AI Features (optional)
ANTHROPIC_API_KEY=sk-ant-...
OPENAI_API_KEY=sk-...

# Performance (optional)
CACHE_TTL_MS=600000  # 10 minutes

📦 Installation Options

npm (Recommended)

npm install -g metabase-ai-assistant

Docker

docker run -e METABASE_URL=... -e METABASE_API_KEY=... ghcr.io/enessari/metabase-ai-assistant

From Source

git clone https://github.com/enessari/metabase-ai-assistant.git
cd metabase-ai-assistant
npm install
npm run mcp

🏗️ Architecture

metabase-ai-assistant/
├── src/
│   ├── mcp/
│   │   ├── server.js              # MCP Server entry point
│   │   ├── tool-registry.js       # 134 tool definitions + annotations + outputSchema
│   │   ├── tool-router.js         # Dynamic routing with read-only gate
│   │   └── handlers/              # 15 modular handler files
│   ├── utils/
│   │   ├── structured-response.js # Structured output (MCP 2025-06-18)
│   │   ├── cache.js               # TTL-based caching
│   │   ├── config.js              # Zod validation
│   │   └── response-optimizer.js  # Compact response formatting
│   └── metabase/
│       └── client.js              # Metabase API client

🤝 Contributing

We welcome contributions! See CONTRIBUTING.md for guidelines.

# Fork, clone, install
git clone https://github.com/YOUR_USERNAME/metabase-ai-assistant.git
npm install

# Create feature branch
git checkout -b feature/amazing-feature

# Test and submit PR
npm test
git push origin feature/amazing-feature

📚 Resources

  • 📖 Full Documentation
  • 🐛 Report Issues
  • 💬 Discussions
  • 📦 npm Package

📄 License

Apache License 2.0 - see LICENSE


⭐ Star this repo if it helps you!

Built with ❤️ by Abdullah Enes SARI @ ONMARTECH LLC

Star History


Keywords: Metabase MCP Server, Model Context Protocol, AI SQL Generation, Business Intelligence, Claude AI, Cursor AI, Natural Language SQL, Dashboard Automation, PostgreSQL, Data Analytics, LLM Tools

Featured
CodeRabbit
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Try For Free →
Keep your Mac awake
Keep your Mac awake
Keep your Mac awake while Claude Code and 40+ AI agents run. Sleeps when they're idle.
One time payment $9 →
Context.devContext.dev
Context.dev
Integrate web data into your AI product. One API to scrape website & brand data.
Get API Key Now →
Make your agent a DeFi expert
Make your agent a DeFi expert
Agent, run crypto. Access onchain data & trade routes via 1inch.
Install now →
Make money from your Skills
Make money from your Skills
On Capafy, your Skill runs online 24/7 as an agent product, and you get paid every time someone uses it.
Start earning →
AppSignal
AppSignal
Monitor with ease. Code with confidence.
Start Free Trial →

Configuration

METABASE_URL*

Metabase instance URL (e.g., http://localhost:3000)

METABASE_USERNAME

Metabase username for authentication

METABASE_PASSWORDsecret

Metabase password for authentication

METABASE_API_KEYsecret

Metabase API key (alternative to username/password)

DATABASE_HOST

PostgreSQL database host for direct SQL execution

DATABASE_PORT

PostgreSQL database port

DATABASE_NAME

PostgreSQL database name

DATABASE_USER

PostgreSQL database user

DATABASE_PASSWORDsecret

PostgreSQL database password

Categories
Databases
Registryactive
Packagemetabase-ai-assistant
TransportSTDIO
AuthRequired
UpdatedJan 23, 2026
View on GitHub

Related Databases MCP Servers

View all →
Postgres

ai.waystation/postgres

Connect to your PostgreSQL database to query data and schemas.
54
Read Only Local Postgres Mcp Server

hovecapital/read-only-local-postgres-mcp-server

MCP server for read-only PostgreSQL database queries in Claude Desktop
2
Database Mcp

cocaxcode/database-mcp

MCP server for database connectivity. Multi-DB (PostgreSQL, MySQL, SQLite), 19 tools.
1
Mcp Mysql

io.github.infoinlet-marketplace/mcp-mysql

Read-only MySQL/MariaDB for AI agents — query, list/describe tables, health. SQL-guarded.
Database Admin

io.github.cybeleri/database-admin

Database admin MCP: schema inspection, query optimization for PostgreSQL and MySQL
Postgres Secured (Aegis Zero-Trust)

io.github.yash-0620/postgres-mcp-secured

Enterprise PostgreSQL MCP secured by Aegis Zero-Trust to block unauthorized SQL injections.