metabase-query

Create Metabase queries and dashboards with structure and index checks.

Updated Mar 9, 2026
One-click install
npx skills add https://github.com/hugogu/skills --skill metabase-query-hugogu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: metabase-query
Source: https://github.com/hugogu/skills/tree/main/skills/metabase-query
Command: npx skills add https://github.com/hugogu/skills --skill metabase-query-hugogu

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Metabase MCP 安全地创建查询和仪表板,自动进行结构和索引检查,避免高成本的慢查询和性能问题。

Core Features & Use Cases

  • 自动进行表结构与索引检查,确保 WHERE 条件使用高选择性列,减少全表扫描。
  • 支持 Metabase Question 与 Dashboard 的创建、组织和部署,提供可重复的安全工作流。
  • 适用于数据分析、报表和监控场景,帮助团队在数据驱动决策中快速获得可验证的结果。

Quick Start

Create a safe Metabase Question or Dashboard for your data source using MCP and pre-checks.

Frequently Asked Questions about metabase-query

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent slow queries when creating Metabase dashboards?

To prevent slow queries when creating Metabase dashboards, apply automated table structure and index checks to ensure WHERE conditions use high-selectivity columns, limiting exploration outputs to avoid full table scans and performance issues.

What is the best way to optimize SQL queries for Metabase data exploration?

The best way to optimize SQL queries for Metabase data exploration is using pre-checks that validate table structures and indexes, providing SQL templates that enforce high-selectivity WHERE conditions to reduce full table scans.

Can I automate Metabase Question and Dashboard deployment safely?

Yes, you can automate Metabase Question and Dashboard deployment safely by utilizing Metabase MCP workflows that enforce structural pre-checks and index validation across databases and connections before query execution.

Does Metabase MCP work with multiple database connections for data visualization?

Metabase MCP works across multiple databases and connections for data visualization, applying consistent table structure and index checks to ensure safe query execution and dashboard deployment workflows.

Why do my Metabase queries cause performance issues on large datasets?

Metabase queries cause performance issues on large datasets when WHERE conditions lack high-selectivity columns, triggering full table scans; enforcing index checks and limiting exploration outputs prevents these high-cost slow queries.

What SQL templates are recommended for safe Metabase query optimization?

Recommended SQL templates for safe Metabase query optimization enforce WHERE conditions on high-selectivity indexed columns, apply structure pre-checks, and limit exploration outputs to prevent performance degradation across connected databases.