Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, email [email protected] and we’ll put it right.

io.github.enessari/metabase-ai-assistant

NPM · METABASE-AI-ASSISTANT · SCANNED AUG 3

MCP Server for Metabase - 111 tools for SQL generation, dashboards & PostgreSQL

+10 this week 34 Trust /100
Trust breakdown (6 categories)

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score →

Supply Chain Security84
  • No malware found by supply-chain analysis.Pass
  • Only part of the dependency tree could be resolved (250 of 289), so this covers what we could see, not the whole tree.Partial
  • No install/post-install scripts declared.Pass
  • Only part of the dependency tree could be resolved (250 of 289), so this covers what we could see, not the whole tree. View diagnostics → Partial
Provenance & Transparency45
Schema Quality & AI Usability0
  • Schema quality not yet verified: our sandbox run of this package did not complete, so we have no schema to assess.Unverified
Stability & Change Management0
  • Stability not yet verified: our sandbox run of this package did not complete, so we have no schema to compare.Unverified
Tool Coverage0
  • Tool coverage not yet verified: our sandbox run of this package did not complete, so we have no tool definitions to assess.Unverified
Capabilities0
  • Protocol version not yet verified: our sandbox run of this package did not complete, so we never saw its MCP handshake.Unverified

Unverified: 4 categories

Categories scored 0 because our sandbox run of this package has not given us the schema these checks need to read. That is a gap on our side rather than a finding about the package, and we only credit what we can confirm, so the score stands at 0 until the capture succeeds. We are working through the fleet, so this normally clears without any action from you. How we score packages →

Install

Add this component to your MCP client. Where a client-specific snippet is available, pick your client below and copy it straight into your config; otherwise use the connection detail shown.

npm · metabase-ai-assistant

# add to Claude Code
claude mcp add enessari-metabase-ai-assistant -- npx -y metabase-ai-assistant
# add to Codex CLI
codex mcp add enessari-metabase-ai-assistant -- npx -y metabase-ai-assistant
// opencode.json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "enessari-metabase-ai-assistant": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "metabase-ai-assistant"
      ],
      "enabled": true
    }
  }
}
# add to OpenClaw
openclaw mcp add enessari-metabase-ai-assistant --command npx --arg -y --arg metabase-ai-assistant
# ~/.hermes/config.yaml
mcp_servers:
  enessari-metabase-ai-assistant:
    command: "npx"
    args: ["-y", "metabase-ai-assistant"]
// mcp.json
{
  "mcpServers": {
    "enessari-metabase-ai-assistant": {
      "command": "npx",
      "args": [
        "-y",
        "metabase-ai-assistant"
      ]
    }
  }
}
Changelog

Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.

  • 2 Aug 26 +29
    • Provenance: unverified → fail security
    • Install scripts: unverified → pass security
    • Known CVEs: unverified → partial security
    • Malware scan: unverified → pass security
    • Stability: Stability not yet verified: we do not have a sandbox capture of the MCP schema this version of the package serves yet. security
    • Security disclosure: fail → unverified functional
    • Dependency health: unverified → partial functional
    • Maintenance: unverified → pass functional
    • License: unverified → pass functional
    • Schema quality: Schema quality not yet verified: we do not have a sandbox capture of the MCP schema this version of the package serves yet. functional
    • Capabilities: Protocol version not yet verified: we do not have a sandbox capture of the MCP handshake this version of the package performs yet. functional
    • Tool coverage: Tool coverage not yet verified: we do not have a sandbox capture of the tool definitions this version of the package serves yet. functional
    • Licence: Apache-2.0 functional
  • 31 Jul 26 −19
    • We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
  • 28 Jul 26 0
    • Tool coverage: Tool coverage not yet verified: our sandbox run of this package did not complete, so we have no tool definitions to assess. functional
    • Schema quality: Schema quality not yet verified: our sandbox run of this package did not complete, so we have no schema to assess. functional
  • 27 Jul 26 24

    First indexed and scored.

Diagnostics

Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.

Captured 3 Aug 2026 · Analysed npm/[email protected]

Provenance none

Ecosystem: npm · Outcome: none

Dependencies 250 packages

250 packages in the resolved dependency tree · 244 deprecated · 81 stale.

The dependency tree was only partially resolved, so these counts may be incomplete.

MCP tools — 122 exposed · ~7,745 tokens

The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability.

Tool Tokens
mb_card_clone ~76

Clone a card and retarget to a different table (for template cards)

NameTypeReqDescription
card_idnumberyesSource card ID
collection_idnumberDestination collection ID
column_mappingsobjectColumn name mappings from source to target table
target_table_idnumberyesNew target table ID

No output schema declared.

No examples provided.

mb_card_copy ~62

Copy a card/question to a new location

NameTypeReqDescription
card_idnumberyesSource card ID
collection_idnumberDestination collection ID
new_namestringName for the copy (optional, defaults to "Copy of [original]")

No output schema declared.

No examples provided.

mb_card_data ~55

Execute a card/question and get the results in specified format

NameTypeReqDescription
card_idnumberyesCard/Question ID
formatstringOutput format
parametersobjectOptional parameters for parametric questions

No output schema declared.

No examples provided.

mb_card_delete ~30

Permanently delete a card/question

NameTypeReqDescription
card_idnumberyesCard/Question ID to delete

No output schema declared.

No examples provided.

mb_card_get ~30

Get detailed information about a specific card/question

NameTypeReqDescription
card_idnumberyesCard/Question ID

No output schema declared.

No examples provided.

mb_card_update ~77

Update an existing card/question

NameTypeReqDescription
card_idnumberyesCard/Question ID
collection_idnumberMove to collection ID
descriptionstringNew description
displaystringChart type
namestringNew name
visualization_settingsobjectNew visualization settings

No output schema declared.

No examples provided.

mb_collection_copy ~52

Copy an entire collection with all contents

NameTypeReqDescription
collection_idnumberyesSource collection ID
destination_idnumberDestination parent collection ID
new_namestringName for the copy

No output schema declared.

No examples provided.

mb_collection_create ~68

Create a new collection in Metabase for organizing questions and dashboards

NameTypeReqDescription
colorstringCollection color (hex code)
descriptionstringCollection description
namestringyesCollection name
parent_idnumberParent collection ID (null for root level)

No output schema declared.

No examples provided.

mb_collection_list ~48

List all collections with hierarchy and item counts

NameTypeReqDescription
include_itemsbooleanInclude items in each collection
parent_idnumberFilter by parent collection ID (null for root)

No output schema declared.

No examples provided.

mb_collection_move ~64

Move questions, dashboards, or collections to a different collection

NameTypeReqDescription
item_idnumberyesID of the item to move
item_typestringyesType of item to move
target_collection_idnumberyesTarget collection ID (null for root)

No output schema declared.

No examples provided.

mb_collection_permissions_get ~35

Get permissions graph for a collection

NameTypeReqDescription
collection_idnumberyesCollection ID (use "root" for root collection)

No output schema declared.

No examples provided.

mb_collection_permissions_update ~48

Update permissions for a collection

NameTypeReqDescription
collection_idnumberyesCollection ID
group_idnumberyesPermission group ID
permissionstringyesPermission level to set

No output schema declared.

No examples provided.

mb_dashboard_add_card ~83

Add a question card to a dashboard with specific positioning, sizing, and layout

NameTypeReqDescription
dashboard_idnumberyesDashboard ID to add card to
parameter_mappingsarrayConnect dashboard filters to question parameters
positionobjectCard position and size on dashboard grid
question_idnumberyesQuestion ID to add as card

No output schema declared.

No examples provided.

mb_dashboard_add_filter ~112

Add a filter to a dashboard for interactive data filtering across multiple cards

NameTypeReqDescription
dashboard_idnumberyesDashboard ID to add filter to
default_valueDefault filter value (optional)
field_idnumberField ID to filter on (optional for some filter types)
namestringyesFilter display name
positionobjectFilter position in dashboard header
requiredbooleanWhether filter is required
typestringyesFilter type and operator

No output schema declared.

No examples provided.

mb_dashboard_card_remove ~40

Remove a card from a dashboard

NameTypeReqDescription
card_idnumberyesDashboard card ID to remove
dashboard_idnumberyesDashboard ID

No output schema declared.

No examples provided.

mb_dashboard_card_update ~84

Update card position and size on a dashboard

NameTypeReqDescription
card_idnumberyesDashboard card ID
colnumberNew column position
dashboard_idnumberyesDashboard ID
rownumberNew row position
size_xnumberWidth in grid units
size_ynumberHeight in grid units

No output schema declared.

No examples provided.

mb_dashboard_copy ~74

Copy a dashboard with all its cards

NameTypeReqDescription
collection_idnumberDestination collection ID
dashboard_idnumberyesSource dashboard ID
deep_copybooleanIf true, also copies all cards. If false, links to existing cards.
new_namestringName for the copy

No output schema declared.

No examples provided.

mb_dashboard_create ~81

Create a new dashboard in Metabase with layout options

NameTypeReqDescription
collection_idnumberCollection ID to save dashboard to (optional)
descriptionstringyesDashboard description
namestringyesDashboard name
templatestringDashboard template type
widthnumberDashboard width in grid units (default: 12)

No output schema declared.

No examples provided.

mb_dashboard_delete ~25

Delete a dashboard

NameTypeReqDescription
dashboard_idnumberyesDashboard ID to delete

No output schema declared.

No examples provided.

mb_dashboard_get ~26

Get detailed information about a dashboard

NameTypeReqDescription
dashboard_idnumberyesDashboard ID

No output schema declared.

No examples provided.

mb_dashboard_layout_optimize ~76

Automatically optimize dashboard layout for better visual hierarchy and user experience

NameTypeReqDescription
dashboard_idnumberyesDashboard ID to optimize
grid_widthnumberDashboard grid width (default: 12)
layout_stylestringLayout optimization style
preserve_orderbooleanKeep existing card order when optimizing

No output schema declared.

No examples provided.

mb_dashboard_template_executive ~127

Create an executive dashboard with standard KPIs, metrics, and layout - auto-generates questions and arranges them professionally

NameTypeReqDescription
business_domainstringBusiness domain (e.g., ecommerce, saas, retail, finance)
collection_idnumberCollection ID to save dashboard to (optional)
database_idnumberyesDatabase ID to analyze and create dashboard for
namestringyesDashboard name
schema_namestringTarget schema name for analysis (optional)
time_periodstringDefault time period for metrics

No output schema declared.

No examples provided.

mb_dashboard_update ~62

Update dashboard properties

NameTypeReqDescription
collection_idnumberMove to collection
dashboard_idnumberyesDashboard ID
descriptionstringNew description
enable_embeddingbooleanEnable embedding
namestringNew name

No output schema declared.

No examples provided.

mb_dashboards ~13

List existing dashboards

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

mb_embed_settings ~21

Get embedding settings and enabled features for the Metabase instance

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

mb_embed_url_generate ~115

Generate signed embedding URL for a dashboard or question

NameTypeReqDescription
borderedbooleanShow border around embed
exp_minutesnumberToken expiration in minutes
paramsobjectLocked parameter values for the embedding
previewbooleanInclude preview-mode frame styles
resource_idnumberyesID of the dashboard or question
resource_typestringyesType of resource to embed
themestringEmbed theme
titledbooleanShow title in embed

No output schema declared.

No examples provided.

mb_field_metadata ~97

Get or update field metadata including display name, description, and semantic type

NameTypeReqDescription
descriptionstringField description
display_namestringHuman-readable display name
field_idnumberyesField ID to get/update
has_field_valuesstringHow to show field values in filters
semantic_typestringSemantic type for the field
visibility_typestringField visibility

No output schema declared.

No examples provided.

mb_field_values ~35

Get distinct values for a field (for filter dropdowns)

NameTypeReqDescription
field_idnumberyesField ID to get values for

No output schema declared.

No examples provided.

mb_meta_auto_cleanup ~191

🧹 Auto-cleanup unused content with SAFETY CHECKS. ⚠️ DRY-RUN by default, requires approved:true for execution. Finds unused questions (180+ days), orphaned cards, empty collections, broken questions. Requires MB_METADATA_ENABLED=true.

NameTypeReqDescription
approvedboolean🔒 SAFETY: Requires explicit approval (default: false). Set true to execute
broken_questionsbooleanInclude questions with 100% error rate (default: true)
dry_runboolean🔒 SAFETY: Dry-run mode (default: true). Set false to execute
empty_collectionsbooleanInclude empty collections (default: true)
orphaned_cardsbooleanInclude orphaned cards (not in dashboards) (default: true)
unused_daysnumberDays without usage to consider content unused (default: 180)

No output schema declared.

No examples provided.

mb_meta_compare_environments ~59

🔄 Compare current environment with another (dev → staging → prod). Identifies drift, missing items, and differences. READ-ONLY operation. Requires MB_METADATA_ENABLED=true.

NameTypeReqDescription
target_workspaceobjectyesWorkspace export from target environment

No output schema declared.

No examples provided.

mb_meta_content_usage ~100

Analyze content usage patterns - find popular questions/dashboards, unused content, orphaned cards. Great for content cleanup and optimization. Requires MB_METADATA_ENABLED=true.

NameTypeReqDescription
daysnumberNumber of days to analyze (default: 30)
limitnumberNumber of top items to return (default: 20)
unused_threshold_daysnumberDays without usage to consider content "unused" (default: 90)

No output schema declared.

No examples provided.

mb_meta_dashboard_complexity ~36

Analyze dashboard complexity - card counts, load times, performance issues. Identify dashboards that need optimization. Requires MB_METADATA_ENABLED=true.

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

mb_meta_database_usage ~63

Analyze database usage patterns - query counts, performance, errors by database and table. Requires MB_METADATA_ENABLED=true.

NameTypeReqDescription
database_idnumberOptional: analyze specific database tables
daysnumberNumber of days to analyze (default: 30)

No output schema declared.

No examples provided.

mb_meta_error_patterns ~96

Analyze error patterns and categorize recurring errors - identify systemic issues, suggest resolutions, find questions with high error rates. Proactive error management. Requires MB_METADATA_ENABLED=true.

NameTypeReqDescription
daysnumberNumber of days to analyze (default: 30)
include_recurring_questionsbooleanInclude questions with recurring errors (default: true)
include_timelinebooleanInclude temporal error analysis (default: true)

No output schema declared.

No examples provided.

mb_meta_export_workspace ~120

📤 Export workspace to JSON (questions, dashboards, collections). READ-ONLY operation - safe to execute. Perfect for backups and migrations. Requires MB_METADATA_ENABLED=true.

NameTypeReqDescription
archivedbooleanInclude archived items (default: false)
collection_idsarrayOptional: Export specific collections only (array of IDs)
include_collectionsbooleanInclude collections (default: true)
include_dashboardsbooleanInclude dashboards (default: true)
include_questionsbooleanInclude questions (default: true)

No output schema declared.

No examples provided.

mb_meta_impact_analysis ~82

Analyze impact of removing a table - breaking changes, affected questions/dashboards, severity assessment, and recommendations. Critical for safe database migrations. Requires MB_METADATA_ENABLED=true.

NameTypeReqDescription
database_idnumberyesDatabase ID
schema_namestringSchema name (optional)
table_namestringyesTable name to analyze for removal impact

No output schema declared.

No examples provided.

mb_meta_import_preview ~58

🔍 Preview import impact WITHOUT making changes (dry-run). Analyzes conflicts, detects issues, provides recommendations. ALWAYS run this before actual import. Requires MB_METADATA_ENABLED=true.

NameTypeReqDescription
workspaceobjectyesWorkspace data from export_workspace

No output schema declared.

No examples provided.

mb_meta_info ~37

Get overview of Metabase metadata database - active users, questions, dashboards, recent activity. Quick health check. Requires MB_METADATA_ENABLED=true.

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

mb_meta_optimization_recommendations ~108

Get comprehensive optimization recommendations - index suggestions, materialized view candidates, and cache optimization. Data-driven performance improvements. Requires MB_METADATA_ENABLED=true.

NameTypeReqDescription
database_idnumberyesDatabase ID to analyze
daysnumberNumber of days to analyze (default: 30)
include_cache_recommendationsbooleanInclude cache optimization suggestions (default: true)
include_matview_candidatesbooleanInclude materialized view recommendations (default: true)

No output schema declared.

No examples provided.

mb_meta_query_performance ~100

Get comprehensive query performance statistics from Metabase metadata - analyze execution times, cache hit rates, error rates, and identify slow queries. Requires MB_METADATA_ENABLED=true.

NameTypeReqDescription
daysnumberNumber of days to analyze (default: 7)
include_slow_queriesbooleanInclude detailed slow query analysis (default: true)
slow_threshold_msnumberThreshold for slow queries in milliseconds (default: 10000)

No output schema declared.

No examples provided.

mb_meta_table_dependencies ~85

Analyze table dependencies - find all questions and dashboards that depend on a specific table. Essential for impact analysis before schema changes. Requires MB_METADATA_ENABLED=true.

NameTypeReqDescription
database_idnumberyesDatabase ID containing the table
schema_namestringSchema name (optional, recommended for disambiguation)
table_namestringyesName of the table to analyze

No output schema declared.

No examples provided.

mb_meta_user_activity ~99

Get user activity statistics - active users, inactive users, query patterns, login history. Useful for license optimization and user engagement analysis. Requires MB_METADATA_ENABLED=true.

NameTypeReqDescription
daysnumberNumber of days to analyze (default: 30)
inactive_threshold_daysnumberDays without activity to consider user "inactive" (default: 90)
include_login_historybooleanInclude login timeline data (default: true)

No output schema declared.

No examples provided.

mb_metric_create ~83

Create a custom metric definition in Metabase for KPI tracking and business intelligence

NameTypeReqDescription
aggregationobjectyesMetric aggregation definition
descriptionstringyesMetric description and business context
filtersarrayOptional filters to apply to metric calculation
namestringyesMetric name
table_idnumberyesBase table ID for the metric

No output schema declared.

No examples provided.

mb_permission_group_add_user ~42

Add a user to a permission group

NameTypeReqDescription
group_idnumberyesPermission group ID
user_idnumberyesUser ID to add

No output schema declared.

No examples provided.

mb_permission_group_create ~28

Create a new permission group

NameTypeReqDescription
namestringyesName of the permission group

No output schema declared.

No examples provided.

mb_permission_group_delete ~27

Delete a permission group

NameTypeReqDescription
group_idnumberyesGroup ID to delete

No output schema declared.

No examples provided.

mb_permission_group_list ~18

List all permission groups in Metabase

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

mb_permission_group_remove_user ~42

Remove a user from a permission group

NameTypeReqDescription
group_idnumberyesPermission group ID
user_idnumberyesUser ID to remove

No output schema declared.

No examples provided.

mb_pulse_create ~87

Create a scheduled report (pulse) that sends dashboards/questions on a schedule

NameTypeReqDescription
cardsarrayyesCards to include in the pulse
channelsarrayyesDelivery channels (email/slack)
collection_idnumberCollection to save pulse in
namestringyesPulse name
skip_if_emptybooleanSkip sending if no results

No output schema declared.

No examples provided.

mb_question_create ~79

Create new question/chart

NameTypeReqDescription
collection_idnumberCollection ID to save the question to (optional)
database_idnumberyesDatabase ID to query
descriptionstringyesDescription of what the question shows
namestringyesName for the question
sqlstringyesSQL query for the question

No output schema declared.

No examples provided.