This extension integrates Anomalo with the Gemini CLI, allowing developers to query their data warehouse's table metadata and data quality status. Developers can use both explicit commands and natural language prompts to interact with it.
# Learn more about the data in my revenue table
/anomalo:describe-table my_warehouse.default.revenue
# Get the data quality check status of my revenue table
/anomalo:table-status my_warehouse.default.revenue
# Get the data quality check status of all tables with the `a_label` label
/anomalo:table-status a_label
# Change to the `sales analytics` organization in Anomalo
/anomalo:org sales analytics# Summarize a table's content
Tell me about the marketing.analytics.geo_attribution table.
# Summarize latest completed quality check status
What is the data quality status of tables labeled Tableau in the Internal Analytics org?
# Run checks on a table
Run the quality checks on my_warehouse.default.revenue
From your Anomalo deployment, you need your instance base url (e.g. https://my-anomalo-instance.anomalo.com) and an API key.
Set the ANOMALO_INSTANCE_HOST and ANOMALO_API_SECRET_TOKEN environment variables so Gemini CLI has access to your Anomalo instance.
For example:
# Add Anomalo env settings to your gemini .env file
$ cat << EOF >> ~/.gemini/.env
ANOMALO_INSTANCE_HOST=https://my-anomalo-instance.anomalo.com/
ANOMALO_API_SECRET_TOKEN=<anomalo api key>
EOFgemini extensions install https://github.com/datagravity-ai/anomalo-gemini-extension --auto-update# Run Gemini CLI, now with Anomalo
$ gemini
# Confirm Anomalo extension is listed in the mcp server status
gemini > /mcp
# Confirm Anomalo access by checking what Anomalo organization you are connected to
gemini > /anomalo:org
This project is provided under the Apache 2.0 License, which means you can run it as-is, modify to suit your needs, and use it as an example of how to use the Anomalo APIs.
Anomalo Labs projects are offered with best-effort support. If you have questions or feedback, please contact your account team.
By installing the extension, you acknowledge that it is provided under these terms.