Google Analytics

live DataSaaS

Google Analytics MCP Pack

4 tools
0ms auth
free tier 50 calls/day

Tools

ga_run_report

Run a report on a Google Analytics 4 property. Specify dimensions (e.g., "city", "pagePath"), metrics (e.g., "activeUsers", "sessions"), and date ranges to retrieve analytics data.

No parameters required.

Try it
ga_list_properties

List all Google Analytics 4 properties accessible by the authenticated user. Uses the Admin API to fetch account summaries with property details.

No parameters required.

Try it
ga_get_realtime

Get a realtime report for a Google Analytics 4 property. Shows currently active users and realtime metrics.

No parameters required.

Try it
ga_get_metadata

List all available dimensions and metrics for a Google Analytics 4 property. Useful for discovering what fields can be used in reports.

No parameters required.

Try it

Test with curl

The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/google_analytics/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
curl -X POST https://gateway.pipeworx.io/google_analytics/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"ga_run_report","arguments":{}}}'

Use with the SDK

Install @pipeworx/sdk to call tools from any TypeScript/Node project.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("ga_run_report", {});
ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("google analytics mcp pack");