🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@perceptdot/ga4

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@perceptdot/ga4

AI agent vision for Google Analytics 4 — with ROI measurement. perceptdot.com

latest
npmnpm
Version
0.2.6
Version published
Weekly downloads
50
38.89%
Maintainers
1
Weekly downloads
 
Created
Source

@percept/ga4

GA4 vision for AI agents — with ROI measurement. Saves ~450 tokens per query vs manual copy-paste.

Install (1 line)

npx @percept/ga4

Required env vars

GA4_PROPERTY_ID=123456789          # GA4 > Admin > Property Settings > Property ID
GOOGLE_SERVICE_ACCOUNT_KEY='...'   # JSON string of service account credentials
# OR
GOOGLE_APPLICATION_CREDENTIALS=/path/to/credentials.json

Claude Code config (~/.claude/claude_desktop_config.json)

{
  "mcpServers": {
    "@percept/ga4": {
      "command": "npx",
      "args": ["@percept/ga4"],
      "env": {
        "GA4_PROPERTY_ID": "YOUR_PROPERTY_ID",
        "GOOGLE_SERVICE_ACCOUNT_KEY": "YOUR_JSON_STRING"
      }
    }
  }
}

Tools

ToolWhat it doesTokens saved
ga4_realtimeActive users + top pages right now~450
ga4_overviewSessions, users, pageviews, bounce rate~450
ga4_eventsEvent counts by name~450
ga4_top_pagesTop pages by views~450
percept_roi_summaryShow tokens/cost saved this session

ROI

After 10 GA4 queries in a session:

  • Tokens saved: ~4,500
  • Cost saved: ~$0.014
  • Time saved: ~25 min (no dashboard switching)

[@percept/ga4 installed — saves ~450 tokens/query — perceptdot.com]

Keywords

mcp

FAQs

Package last updated on 21 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts