@nalyk/gacli

general MCP Server

Production-grade Google Analytics 4 CLI + MCP server. OAuth/SA auth, multiple output formats, Data + Admin API.

VerifiedInstall Ready
generalgeneralgcp
2 views0 stars0 forksv1.1.0MIT

Why This Matters

Discovered via github-topic:model-context-protocol and last synced 3mo ago.

VerifiedInstall Ready
Source
github-topic:model-context-protocol
Stars
0
Last synced
3mo ago
Install
Instructions detected

Install

1. Install the package

npx @nalyk/gacli

2. Add to claude_desktop_config.json

{
  "mcpServers": {
    "-nalyk-gacli": {
      "command": "npx",
      "args": [
        "@nalyk/gacli"
      ]
    }
  }
}

Config file location: ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) / %APPDATA%\Claude\claude_desktop_config.json (Windows)

25
Tools
0
Resources
0
Prompts
Standard I/O
Transport

Available Tools (25)

get

list explore mcp serve ``` ## Output formats

property

Default GA4 property ID

GACLI_RETRY_BASE_MS

`500`

create

update

noColor

Disable colors (`true`/`false`)

logout

status report run

chart

ASCII bar chart in terminal

format

Default output format

Flag

Description

csv

Properly escaped CSV, import into spreadsheets

GA4_PROPERTY_ID

—

table

Colored ASCII table (default)

verbose

Verbose logging (`true`/`false`)

funnel

cohort metadata get

credentials

Path to service account JSON file

GACLI_MAX_RETRIES

`3`

pivot

batch-pivot

Key

Description

GACLI_VERBOSE

`0`

json

`{rowCount, data:[{...}]}` shape — pipe to `jq`

oauthClientSecretFile

Path to OAuth client secret JSON file

ndjson

One JSON object per line, newline-separated — clean piping into `jq -c`, ClickHouse, BigQuery loads

Variable

Default

GOOGLE_APPLICATION_CREDENTIALS

—

File

Purpose