Skip to content
Tools and automation

Gemini CLI with Reveata analytics

1 min read · Updated · By the Reveata team

Short answerRun gemini mcp add with Reveata's server URL, start gemini and run /mcp auth reveata. Reveata opens in your browser to choose websites and permissions, and Gemini CLI can then answer questions about your analytics.

Gemini CLI (opens in a new tab) is Google's open-source agent for the terminal, and it speaks MCP. Adding Reveata lets it read your traffic and revenue with the same permissions model as every other Reveata client.

What you get

  • Analytics answers in the terminal: visitors, sources, countries, pages, goals, funnels and revenue for the websites you approve.
  • OAuth sign-in started from inside Gemini CLI.
  • Read-only by default, with your role on each website as the upper limit.

How to connect it

bash
gemini mcp add --transport http reveata https://reveata.com/api/mcp

Then start gemini and run /mcp auth reveata. Reveata opens in your browser: pick the websites and permissions, then approve. /mcp lists the Reveata tools once you are connected.

To add it by hand, in ~/.gemini/settings.json:

json
{
  "mcpServers": {
    "reveata": { "httpUrl": "https://reveata.com/api/mcp" }
  }
}

Note the key name: Gemini CLI's file uses httpUrl, not url.

Questions to try

Ask What comes back
"Which countries brought the most revenue last month?" Revenue by country
"What were the top referrers this week?" Ranked sources
"How did the signup funnel convert in October?" Funnel steps and drop-off

Permissions and safety

Read access to settings, the team, API keys and payments is never part of a default connection. If you grant change permissions, tools that change goals, funnels, segments, notes or alerts require confirmation and are recorded in the audit log (MCP server). Money values come back as integer minor units in the website's currency.

Frequently asked questions

How do I disconnect Gemini CLI?

Remove the server from settings.json and revoke it under Account → API / MCP → Connected apps in Reveata.

Does it work with several websites?

Yes. You choose which websites to share when you approve, and can reconnect to change that.

Which other terminal agents are supported?

Codex and Claude Code use the same server.

See it with your own numbersReveata ties every visit and sale to the source that brought it. Add your website in a minute.
Get started
Was this page useful?
IntegrationOpenAI Codex with Reveata analyticsRun codex mcp add with Reveata's server URL, then codex mcp login reveata to sign in through your browser and choose websites and permissions. Codex, in the terminal and the IDE extension, can then read your Reveata analytics.IntegrationConnect Claude to your analytics with MCPAdd Reveata as a connector in Claude's settings, or with one command in Claude Code, and sign in through Reveata to choose websites and permissions. Claude then reads your analytics through Reveata's MCP server and shows inline cards for overviews, rankings, realtime, goals and funnels.IntegrationCaddy analytics proxy for ReveataTwo handle routes in your Caddyfile serve the Reveata script and pass events on from your own domain, with your proxy secret taken from Caddy's environment. If you can't edit the pages, the replace-response plugin can insert the snippet into every HTML response.IntegrationConnect ChatGPT to your website analyticsAdd Reveata in ChatGPT's Apps and Connectors settings, or create it in developer mode with Reveata's MCP server address and OAuth. You pick which websites to share, and ChatGPT answers questions about traffic, revenue, goals and funnels with cards and charts, reading only.IntegrationDiscord alerts for website traffic and revenueCreate a webhook in a Discord channel's Integrations settings, paste its URL into a Reveata alert, and Reveata posts to that channel when the alert fires. Posts never ping anyone, even if your message contains @everyone.IntegrationGitHub commits on your analytics chartConnect a GitHub repository and Reveata imports the last 90 days of commits on its default branch, then adds new ones within seconds through a push webhook. Each day with commits gets a marker on your main chart, so you can see what shipped when traffic or revenue moved.