Marketing & social

Google Analytics for your AI agent

Give Claude Code, Cursor, Codex or your own agent Google Analytics through one MCP URL and one key. Your team signs in to Google Analytics once and the agent never holds a token. Reads run at once; anything that changes Google Analytics waits for your approval.

82
Google Analytics actions your agent gets as tools
1 URL
one endpoint for every assistant
60/min
calls per key, hard caps on top
0
Google Analytics credentials inside your agent

Actions

What your agent can do in Google Analytics

A sample of the 82 actions. Your agent sees the full list with tools/list.

Reads · run at once

  • Check Compatibility
  • Get Account
  • Get Attribution Settings
  • Get Audience
  • Get Audience List
  • Get Custom Dimension
  • Get Data Redaction Settings
  • Get Data Retention Settings

Writes · wait for your approval

  • Archive Custom Dimension
  • Batch Run Pivot Reports
  • Batch Run Reports
  • Create Audience
  • Create Audience Export
  • Create Audience List
  • Create Channel Group
  • Create Custom Dimension

Quickstart

Add Hub to your agent

  1. Create your account and connect Google Analytics with its normal sign-in page.
  2. Open Developers and create an agent key (you can limit it to Google Analytics).
  3. Add the server to your client:

Claude Code · Terminal

claude mcp add --transport http vellarin https://hub.vellarin.ai/api/hub/mcp --header "Authorization: Bearer <key>"

Cursor · ~/.cursor/mcp.json (or .cursor/mcp.json in a project)

{
  "mcpServers": {
    "vellarin": {
      "url": "https://hub.vellarin.ai/api/hub/mcp",
      "headers": {
        "Authorization": "Bearer ${env:VELLARIN_HUB_KEY}"
      }
    }
  }
}

Codex · ~/.codex/config.toml

[mcp_servers.vellarin]
url = "https://hub.vellarin.ai/api/hub/mcp"
bearer_token_env_var = "VELLARIN_HUB_KEY"

Questions

Google Analytics and AI agents

How do I connect Google Analytics to Claude Code, Cursor or Codex?

Create a free Vellarin account, connect Google Analytics with its normal sign-in, create an agent key on the Developers page and add the Vellarin Hub MCP server to your client with one line. Your agent then sees the Google Analytics actions as tools.

Can my agent change things in Google Analytics without asking me?

No. Read actions run at once. Any action that sends, creates, changes or deletes something in Google Analytics waits for the workspace owner's approval and then runs exactly once.

Does my agent get my Google Analytics password or token?

No. The sign-in lives on the server side. Your agent holds only a Vellarin Hub key or sign-in, which you can scope, cap per day and per month, and revoke at any moment.

What does it cost?

Hub Free includes 500 app calls a month and 1 agent key, with no card. Over the cap the answer is "upgrade or wait", never a charge.

More behind the same address

All 104 →

Google Analytics is a trademark of its owner. Vellarin Hub is an independent product and is not affiliated with or endorsed by it.