SEO Tools: Google Analytics 4
CommunityMCP server by antohins · updated · ★ 8
Google Analytics 4: reports, traffic sources, landing pages, events, realtime (read-only). SEO Tools: Google Analytics 4 is a community project by antohins, not verified by a company domain.
Last commit 20 days ago
MIT: permissive, fine for commercial use
Clear description, published package or server URL, original repository
Not checked yet. What we check
What you need
| Setting | Needed | What it is |
|---|---|---|
GOOGLE_Environment variable | Optional | Google OAuth client ID (Desktop app), shared with the gsc server. |
GOOGLE_Environment variable, secret | Optional | Google OAuth client secret. |
GA4_Environment variable, secret | Optional | OAuth refresh token (obtained via ga4_oauth_start / ga4_oauth_finish). |
GA4_Environment variable | Optional | Path to a service-account JSON key (alternative to OAuth). |
GA4_Environment variable | Optional | Default GA4 property id (numeric, e.g. 123456789). |
GA4_Environment variable | Optional | Loopback port for the OAuth flow (default 8586). |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Install SEO Tools: Google Analytics 4
Built from the published package, never by AIclaude mcp add seo-tools-google-analytics-4 -- npx -y seo-tools-mcp-ga4Run in your terminal. Add --scope user to use it in every project.
Step-by-step: install SEO Tools: Google Analytics 4 in Claude Code
{
"mcpServers": {
"seo-tools-google-analytics-4": {
"command": "npx",
"args": [
"-y",
"seo-tools-mcp-ga4"
]
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
Step-by-step: install SEO Tools: Google Analytics 4 in Claude Desktop
{
"mcpServers": {
"seo-tools-google-analytics-4": {
"command": "npx",
"args": [
"-y",
"seo-tools-mcp-ga4"
]
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
Step-by-step: install SEO Tools: Google Analytics 4 in Cursor
{
"servers": {
"seo-tools-google-analytics-4": {
"command": "npx",
"args": [
"-y",
"seo-tools-mcp-ga4"
]
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
Step-by-step: install SEO Tools: Google Analytics 4 in VS Code
codex mcp add seo-tools-google-analytics-4 -- npx -y seo-tools-mcp-ga4Step-by-step: install SEO Tools: Google Analytics 4 in Codex
{
"mcpServers": {
"seo-tools-google-analytics-4": {
"command": "npx",
"args": [
"-y",
"seo-tools-mcp-ga4"
]
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
Step-by-step: install SEO Tools: Google Analytics 4 in Antigravity CLI
gemini mcp add seo-tools-google-analytics-4 npx -y seo-tools-mcp-ga4Gemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
Step-by-step: install SEO Tools: Google Analytics 4 in Gemini CLI
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the seo-tools-google-analytics-4 block.
Weekly newsletter
Like SEO Tools: Google Analytics 4? Get the best new MCP servers every week
The best new tools, security warnings before you install something risky, and one practical tip. Free, three minute read.
Alternatives to SEO Tools: Google Analytics 4
All alternatives →The Power BI Authoring MCP server lets an AI agent create and change Power BI semantic models.
Agent-Native Amplitude/Mixpanel - connect data sources, prompt for charts
Google Ads, Meta Ads, Google Analytics (GA4) & Search Console MCP server by Ryze AI
A Model Context Protocol (MCP) server that provides chat functionality with Cube's AI agent for analytics and data exploration
Create and edit Excel files with AI: charts, PivotTables, formulas. No Excel needed.
MCP server for AI-assisted Deepnote notebook creation and manipulation
SEO Tools: Google Analytics 4: common questions
How do I install SEO Tools: Google Analytics 4?
In Claude Code run claude mcp add seo-tools-google-analytics-4 -- npx -y seo-tools-mcp-ga4. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is SEO Tools: Google Analytics 4 the official server?
SEO Tools: Google Analytics 4 is a community project by antohins, not verified by a company domain.
Is SEO Tools: Google Analytics 4 free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is SEO Tools: Google Analytics 4 safe to use?
It scores 57 of 100. Grades: maintenance A, licence A, quality C. The security check has not run for it yet. Review the code before you install. How grades work.
What are alternatives to SEO Tools: Google Analytics 4?
Similar MCP servers: Power BI Authoring MCP Server (Local), Agent-Native Analytics, Google Ads + Meta Ads + SEO/GEO MCP, Cube Dev MCP Server.
Does SEO Tools: Google Analytics 4 work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
