Google Analytics MCP server for AI agents

Let Claude, ChatGPT or your own agent read Google Analytics: 3 typed functions through one MCP server. No Google Analytics API key needed.

Functions
3
Sign-in
For account actions
Works with
MCP, HTTP, Node, Python

Connect

Just Google Analytics

An MCP server for Google Analytics alone, with one tool per function. Paste it into Claude, ChatGPT, Cursor or any MCP client as a remote server.

https://api.bowmark.ai/mcp/site/analytics_google
Every site

One MCP server for Google Analytics and every other site Bowmark covers. Your agent looks up what it needs and calls it.

https://api.bowmark.ai/mcp
Set it up in your client

Both need a Bowmark API key. The quickstart gets you one and a first result in a few minutes. Functions that need a login use the person's own account: how sign-in works.

Functions

Open a function to see its arguments, what it returns and how to call it.

Read 3
  • getOverviewReads a property's rendered overview: sessions, active users, and event count.

    Arguments

    NameTypeRequired
    propertyIdstring
    GoogleAnalyticsProperty.propertyId; omitted = Analytics' selected property.
    No

    Returns GoogleAnalyticsOverview

    interface GoogleAnalyticsOverview {
      propertyId: string | null; sessions: number | null; activeUsers: number | null; eventCount: number | null;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/analytics_google/getOverview

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.analytics_google.getOverview({});
  • listPropertiesLists every Google Analytics property the signed-in caller can open, with its numeric property id.

    Arguments

    None.

    Returns GoogleAnalyticsProperty[]

    interface GoogleAnalyticsProperty {
      propertyId: string; // Google Analytics' numeric property id
      name: string | null;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/analytics_google/listProperties

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.analytics_google.listProperties();
  • listTrafficSourcesReads a property's rendered traffic-acquisition table: source, sessions, users, and engagement rate.

    Arguments

    NameTypeRequired
    propertyIdstring
    GoogleAnalyticsProperty.propertyId; omitted = Analytics' selected property.
    No

    Returns GoogleAnalyticsTrafficSource[]

    interface GoogleAnalyticsTrafficSource {
      source: string; sessions: number | null; users: number | null; engagementRate: number | null; // percent
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/analytics_google/listTrafficSources

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.analytics_google.listTrafficSources({});

Use it from code