datacub Docs
Connect your AI tool
Markdown

Connect Gemini CLI

Use datacub in Google's Gemini CLI: check your setup, add events in code, and ask about your numbers in the terminal.

Connect

  1. Paste this in your terminal and press Enter.
  2. In Gemini CLI, type /mcp auth datacub, sign in and press Allow.
  3. Ask.
gemini mcp add --transport http datacub https://datacub.to/mcp

The same command is in Settings, Connect and AI under Gemini CLI.

Good to know

  • /mcp lists datacub's tools and whether the connection is signed in.
  • To keep the connection read only, use https://datacub.to/mcp?readonly=1 as the address.

Try asking

  • "Using datacub, what are our top sources this month?"
  • "Check datacub is set up right in this project."
  • "Compare this week with last week."

More in Use cases.