src ▸ site opened 0

Turn Google Analytics into MCP tools

Give your AI agent Google Analytics tools. Writ turns your Google Analytics workflows into authenticated MCP tools your agent can call, taking real actions on your own account.

Writ runs on your own accounts, with your own credentials and data, on sites you are authorized to use.
claude_desktop_config.jsonMCP · writ-google-analytics
json
{
  "mcpServers": {
    "writ-google-analytics": {
      "url": "https://api.usewrit.app/mcp/your-workspace",
      "headers": { "Authorization": "Bearer wt_8f2c...a91" }
    }
  }
}
MCP server any client authenticated
new ▸ tool minted 01
02
create

No Google Analytics MCP server yet? Build one in minutes

Record the Google Analytics task once, or describe it to an AI session, and Writ turns it into an MCP tool your agent can call, taking real actions on your own Google Analytics account.

  1. 1
    Record a Google Analytics action once

    Open the recorder and open a report on Google Analytics in a real browser. Writ captures the steps, login and 2FA included, into a workflow.

  2. 2
    Publish it as an MCP tool

    One click exposes the workflow as an MCP tool with a typed input schema, alongside a REST endpoint. Your agent picks it by its description.

  3. 3
    Call it from any MCP client

    Point Claude Desktop, Claude Code, Cursor, or any MCP client at your Writ server. The Google Analytics tool acts on your own account and returns structured output.

Browse supported MCP clients, see what's possible on workflows, or search for another site. Free to start. See pricing.

gap ▸ no official mcp 02
03
why

Google Analytics has no MCP server

Read-only website-to-MCP tools can summarize a Google Analytics page, but they can't do anything on it. Writ turns the Google Analytics workflows you build into MCP tools your agent calls to take real actions (search, extract, submit), authenticated, on your own Google Analytics account.

Writ runs on your own accounts, with your own credentials and data, on sites you are authorized to use.

tools ▸ actions named 03
04
named tools

Google Analytics tools your agent can call

Each tool is a real Google Analytics workflow with a typed input schema and structured output. Your agent picks the right one by its description.

{ }ga.read_reportRead a report metric for a date range.

Example tool schema

ga.read_report.jsonschema
json
{
  "name": "ga.read_report",
  "description": "Read a report metric for a date range.",
  "input_schema": {
    "type": "object",
    "properties": {
      "query": { "type": "string", "description": "What to look up on Google Analytics." }
    },
    "required": ["query"]
  }
}
wire ▸ any client 04
05
connect

Add the server to any MCP client

Copy the config into your client and authenticate with a wt_ key. Tools appear automatically.

Your key (wt_)
json
{
  "mcpServers": {
    "writ-google-analytics": {
      "url": "https://api.usewrit.app/mcp/your-workspace",
      "headers": { "Authorization": "Bearer wt_8f2c...a91" }
    }
  }
}
Downstream caller (csk_)
json
{
  "mcpServers": {
    "writ-google-analytics": {
      "url": "https://api.usewrit.app/mcp/your-workspace",
      "headers": { "Authorization": "Bearer csk_3a90...f4d" }
    }
  }
}
>_

Per-client setup. Step-by-step config for each client lives on the per-client pages: Claude Desktop, Claude Code, Cursor, Windsurf.

auth ▸ logged-in web 05
06
authenticated

Your agent acts on your own Google Analytics account

Writ signs into your own Google Analytics property through a Persona, including 2FA, and reads reports inside that session.

PersonasTOTP & mailbox OTP Scoped wt_ / csk_ keysStructured output

Use Writ on your own Google Analytics property. Authorized automation of your own account.

faq ▸ questions answered 07
08
faq

Google Analytics MCP questions

Is there an official Google Analytics MCP server?
Google Analytics does not publish an MCP server. Writ lets you turn the Google Analytics workflows you build (recorded, described, or discovered) into MCP tools your agent can call. They take real actions, not just read page text.
Are there ready-made Google Analytics MCP tools I can install?
Record the Google Analytics task once in the recorder, or describe it to an AI session, then publish it. Writ exposes it as both an MCP tool and a REST endpoint, usually in minutes.
How is this different from a read-only website-to-MCP tool?
Most website-to-MCP tools are readability crawlers that return page text. Writ tools act and transact: they log in, fill forms, click, extract, and complete multi-step Google Analytics tasks, then return structured output your agent can use.
Does it work with Google Analytics login and 2FA?
Writ signs into your own Google Analytics property through a Persona, including 2FA, and reads reports inside that session. Because each MCP tool is a real browser workflow, it runs inside your own authenticated Google Analytics session, with TOTP and mailbox-OTP two-factor handled by Personas.
Which MCP clients can use these Google Analytics tools?
Any MCP-compatible client: Claude Desktop, Claude Code, Cursor, Windsurf, and others. Point the client at your Writ MCP URL and authenticate with a wt_ key (or a csk_ consumer key for downstream callers).
Is it allowed to use Google Analytics this way?
Use Writ on your own Google Analytics property. Authorized automation of your own account. Writ runs on your own accounts, with your own credentials and data, on sites you are authorized to use.
rec ▸ ready

Give your agent Google Analytics tools

Build a workflow, publish it as an MCP tool, and call it from any MCP client. Get started free.