Skip to content
Tools and automation

OpenAI Codex with Reveata analytics

1 min read · Updated · By the Reveata team

Short answerRun 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.

Codex works where developers already are: the terminal and the editor. With Reveata connected, a question about your users' behaviour doesn't need a browser tab.

What you get

  • Codex reads Reveata: traffic, sources, pages, goals, funnels and revenue for the websites you approve.
  • One setup for terminal and IDE. The Codex IDE extension reads the same configuration file.
  • OAuth sign-in, so no secret is stored in your shell history.

How to connect it

bash
codex mcp add reveata --url https://reveata.com/api/mcp
codex mcp login reveata

codex mcp login opens Reveata in your browser: pick the websites and permissions, then approve. Start codex and run /mcp to see the Reveata tools, or run codex mcp list.

To add it by hand, in ~/.codex/config.toml:

toml
[mcp_servers.reveata]
url = "https://reveata.com/api/mcp"

Then run codex mcp login reveata. OpenAI documents this in Codex's MCP guide (opens in a new tab).

Questions to try

  • "Which pages brought the most new customers last month?"
  • "Which campaigns sent visitors who signed up this week?"
  • "Is anyone on the site right now?"

Permissions and safety

Permission Default
Read analytics, goals and funnels Yes
Change goals or funnels Only if you grant it
Settings, team, API keys, payments Never in a default connection

A connection never has more access than your role on each website, and every change made through MCP lands in the audit log (MCP server).

Frequently asked questions

How do I revoke Codex's access?

Under Account → API / MCP → Connected apps in Reveata. It stops working immediately.

Do I need to log in again later?

If you revoke access or want different permissions, run codex mcp login reveata again.

Which other terminal agents work?

Claude Code and Gemini CLI connect to 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?
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.IntegrationGemini CLI with Reveata analyticsRun 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.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.