Back to Home
enessari icon

metabase-ai-assistant

Verified Safe

by enessari

Overview

An AI-powered assistant for Metabase and PostgreSQL databases, facilitating natural language SQL generation, dashboard creation, and direct DDL operations via Model Context Protocol for Claude Desktop/Code.

Installation

Run Command
node src/mcp/server.js

Environment Variables

  • METABASE_URL
  • METABASE_USERNAME
  • METABASE_PASSWORD
  • ANTHROPIC_API_KEY

Security Notes

The server implements robust security for direct DDL operations (e.g., prefixing AI-created objects, requiring approval, dry runs, blocking dangerous commands). However, the MetabaseClient has a method (getRealCredentials) that directly queries Metabase's internal database (ID 6) to retrieve actual plaintext database connection passwords, which poses a significant security risk if the MCP server's access is compromised, even though the tool's output masks it.

Similar Servers

Stats

Interest Score39
Security Score6
Cost ClassHigh
Avg Tokens3000
Stars10
Forks1
Last Update2025-12-02

Tags

mcpmetabaseaidatabasesql-generation