Experimental local MCP server from Google Analytics: account details, core, funnel and realtime reports through the GA Admin and Data APIs.

How it works

Foe: Fickle Harpy, an audience whose attention you have to win.

Foes

  • Fickle Harpy

Party · Context

  • HeraldYour agent100/100
  1. Fickle Harpy

    The Fickle Harpy blocks the way.

    What really happensIt stands for an audience whose attention you have to win.

    Herald: Context 100/100.

  2. Swoop

    The harpy swoops, screeches and is gone before the hero turns.

    What really happensAttention is short, so a message that doesn't land in seconds gets skipped.

    Herald takes 4. Herald takes 4. Herald: Context 92/100.

  3. Google Analytics MCP Server

    A read-only seal is pressed before the board opens.

    What really happensYou set up Application Default Credentials with the analytics.readonly scope and enable the GA Admin and Data APIs.

    Fickle Harpy takes 10. Herald: Ward.

  4. Google Analytics MCP Server

    The tally board is hung in camp.

    What really happensclaude mcp add starts analytics-mcp with pipx, using your credentials file and project ID.

    Fickle Harpy takes 38.

  5. Swoop

    The ward takes the blow.

    What really happensA test or check catches the problem before it lands.

    Herald blocks the hit. Herald blocks the hit.

  6. Google Analytics MCP Server

    The crowd is counted: who came, from where, and who stayed.

    What really happensrun_report, run_funnel_report and run_realtime_report pull GA4 data for the property you name.

    Fickle Harpy takes 17.

  7. Google Analytics MCP Server

    The herald learns which call drew the harpy in.

    What really happensYou get answers such as your most popular events in the last 180 days, read straight from GA.

    Fickle Harpy takes 35. Fickle Harpy falls.

  8. Victory

    The Fickle Harpy falls.

Learn this spell

Claude Code

claude mcp add analytics-mcp --scope user -e "GOOGLE_APPLICATION_CREDENTIALS=PATH_TO_CREDENTIALS_JSON" -e "GOOGLE_PROJECT_ID=YOUR_PROJECT_ID" -- pipx run analytics-mcp

Notes

Marked experimental. Needs pipx, a Google Cloud project with the Analytics Admin and Data APIs enabled, and Application Default Credentials with the analytics.readonly scope for a user who can see your properties. Read-only by default; --allow-write plus the analytics.edit scope adds create_property_annotation. Codex setup is not documented.

This spell has no recorded sessions in the curator's logs. Tried it? Send a spell report.