Description
Metabase Copilot is an AI-powered Chrome extension designed to enhance the user experience within the Metabase business intelligence platform. Its primary function is to assist users in writing and understanding SQL queries by leveraging artificial intelligence. This tool integrates seamlessly with Metabase's native query editor, providing a suite of features aimed at making data exploration more efficient and accessible.
The extension offers three core functionalities. Firstly, 'query prompts' allow users to input natural language descriptions of the data they need, and the AI will generate the corresponding SQL query. This significantly reduces the learning curve for users who may not be SQL experts. Secondly, the 'error explanation' feature helps users understand why their SQL queries might be failing. By analyzing the error message, the AI provides a clear explanation, enabling users to identify and correct issues more effectively. Thirdly, the 'error fixing' capability allows users to ask the AI to automatically modify their query to resolve any identified errors, saving time and reducing frustration.
To ensure the AI-generated queries are as accurate and relevant as possible, Metabase Copilot provides an option to select specific schemas and tables that should be included in the system prompt sent to the AI. This contextual information helps the AI understand the user's data environment better. To utilize the extension's AI capabilities, users are required to provide an API key from one of the supported AI providers: OpenAI, Anthropic, or Gemini. The developers have made this extension open-source, with the codebase available on GitHub, fostering transparency and community contribution. The extension is developed by robin.picard and is available for installation via the Chrome Web Store.
Metabase Copilot's Core Features
AI-powered SQL query generation from natural language prompts.
Explanation of SQL query errors.
Automatic fixing of SQL query errors.
Integration with Metabase's native query editor.
Option to specify schemas and tables for AI context.
Requires API key from OpenAI, Anthropic, or Gemini.
Open-source project available on GitHub.
Developed by robin.picard.
How to use Metabase Copilot?
Install the Metabase Copilot extension from the Chrome Web Store.
Navigate to your Metabase instance.
Open the native query editor.
Enter a natural language prompt for your desired query.
Select relevant schemas and tables for AI context.
Click to generate the SQL query.
Use error explanation or fixing features if needed.
Provide your API key from OpenAI, Anthropic, or Gemini to enable AI features.
Metabase Copilot's Use Cases
- SQL Query Generation
- Error Debugging
- Data Analysis Assistance
- Learning SQL
- Improving Efficiency







