metabase-api

Manage Metabase dashboards, cards, collections, and queries via the Analytics API.

1|Updated Apr 6, 2026
One-click install
npx skills add https://github.com/pkoka888/server-infra-templates --skill metabase-api
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: metabase-api
Source: https://github.com/pkoka888/server-infra-templates/tree/main/.kilo/skills/metabase-api
Command: npx skills add https://github.com/pkoka888/server-infra-templates --skill metabase-api

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Metabase automation and analytics can be complex; this skill provides a guided approach to interacting with the Metabase Analytics API to manage dashboards, questions, collections, and database queries.

Core Features & Use Cases

  • Create, update, and list dashboards, cards (questions), and collections via the API.
  • Fetch and analyze data by running saved questions and queries against connected databases.
  • Use cases include building automated analytics workflows, standardizing dashboard provisioning, and integrating Metabase operations into CI/CD.

Quick Start

Connect to your Metabase instance and retrieve the list of dashboards and questions via the API.

Frequently Asked Questions about metabase-api

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

FAQPage Schema
How do I automate Metabase dashboard creation through the API?

Automate Metabase dashboards by using the Metabase Analytics API to programmatically create, update, and list dashboards, cards, and collections. You can standardize dashboard provisioning and integrate these operations into automated workflows.

What is needed to authenticate and connect to the Metabase API?

To connect to the Metabase API, you need an MB_API_KEY for authentication. You must also configure database connection details using MB_DB_TYPE, MB_DB_HOST, MB_DB_PORT, and MB_DB_NAME environment variables to securely perform API operations.

Can I fetch and run saved Metabase questions via the API?

Yes, you can fetch and analyze data by running saved Metabase questions and queries against connected databases via the API. This allows you to retrieve results programmatically and integrate data extraction into routine analytics workflows.

Does this approach support exporting Metabase metadata for CI/CD pipelines?

Yes, exporting Metabase metadata is supported. You can manage dashboards, questions, and collections through the API, allowing you to integrate Metabase operations and standardize analytics configurations into CI/CD pipelines.

What are the limitations of automating Metabase analytics workflows via API?

Automating Metabase workflows via API requires proper configuration of MB_API_KEY and database connection variables like MB_DB_HOST. Operations are limited to managing dashboards, cards, collections, and queries supported by the Metabase Analytics API.