QuerySail: Google Analytics MCP logo

QuerySail: Google Analytics MCP

Query Google Analytics 4 traffic, conversions, reports, properties, and realtime activity through a hosted read-only MCP endpoint.

Install QuerySail: Google Analytics MCP

Pick your client, then add it in one click or paste the config.

Streamable HTTP (Remote)
Server URL
https://mcp.querysail.com/ga4/mcp

Remote servers are added in the app, not the config file: Customize → Connectors → Add custom connector, then paste this URL.

Claude Code command
claude mcp add --transport http querysail-google-analytics-mcp https://mcp.querysail.com/ga4/mcp

Run in your terminal, then run /mcp in Claude Code to sign in if the server asks.

Hosted endpointLive · 4d agoLive Remote EndpointOur automated health check connected to this remote MCP endpoint successfully.Last checked 4d ago · Dec 1, 2026, 08:00 UTC

Clients with native remote MCP support can connect directly to this URL.

Remote endpoint
https://mcp.querysail.com/ga4/mcp

Overview

QuerySail: Google Analytics MCP connects AI clients to Google Analytics 4 through a hosted Streamable HTTP endpoint. After Google account authorization, it lets agents discover accessible properties and fields, run filtered reports, compare periods, and inspect realtime activity using natural language. Reach for it when you need read-only GA4 analysis without deploying a local server, creating a Google Cloud project, or managing an API key.

Use cases

  • Measure users, sessions, and engagement over a selected date range
  • Compare acquisition channels with a previous period or the same period last year
  • Find landing pages and events associated with key events
  • Inspect current activity by country, device, page, or event

Key features

  • Read-only Google Analytics 4 access
  • Property and report-field discovery
  • Filtered historical Data API reports
  • Period-over-period report comparisons
  • Uncached 30-minute realtime reports
  • Hosted Streamable HTTP with OAuth 2.1

Tools5

What QuerySail: Google Analytics MCP lets your agent do. Expand a tool for its parameters.

Self-reported~198 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

13/13 checks healthy over the last 54d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

Last commit1mo agoMost recent push to the default branch.
MaintenanceActively maintainedStatus declared by the project or listing owner.
Availability100%Our rolling endpoint + install checks that succeeded.
Tools exposed5Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How QuerySail: Google Analytics MCP works

What QuerySail: Google Analytics MCP does

QuerySail: Google Analytics MCP exposes Google Analytics 4 data through a hosted MCP service at https://mcp.querysail.com/ga4/mcp. It uses Streamable HTTP and OAuth 2.1 with dynamic client registration, allowing supported clients to connect to the remote endpoint and open a browser-based sign-in flow.

The service is designed for read-only analytics work. Agents can inspect account and property access, discover reportable dimensions and metrics, retrieve historical reports, compare date ranges, and view activity from the last 30 minutes. It supports questions about users, sessions, views, engagement, events, key events, revenue, acquisition sources, pages, devices, locations, and other Google Analytics Data API metrics.

How it works

Create a QuerySail account, connect Google Analytics from Account → Connections, and authorize the Google account that has access to the relevant GA4 properties. The MCP client then connects to the hosted endpoint and uses OAuth to authenticate. Multiple accessible Google Analytics accounts and properties can be discovered through the property-listing tool.

Reports are fetched from Google when requested. Non-realtime results may be cached for up to 15 minutes, while realtime reports are not cached. The service uses Google's analytics.readonly permission scope, separate from Search Console access.

Setup and configuration

No local server installation, Google Cloud project, or manually pasted API key is required. Add the endpoint as a remote HTTP MCP server in a compatible client:

  • Claude Desktop: use Customize → Connectors → Add custom connector.
  • Claude Code: add the endpoint with claude mcp add --transport http or install the QuerySail plugin.
  • Codex: use codex mcp add followed by codex mcp login.
  • Cursor: add a server entry to ~/.cursor/mcp.json.
  • VS Code: use MCP: Add Server with the HTTP transport or edit mcp.json.
  • Cline: add it under MCP Servers → Remote Servers using Streamable HTTP.
  • ChatGPT: enable Developer mode and add the endpoint as a connection URL.

Clients that only accept local commands can use the mcp-remote Node.js bridge. The repository also includes a Claude Code plugin and a querysail-google-analytics agent skill for routing analytics questions to the appropriate tool.

Tools and capabilities

  • list_properties finds readable GA4 properties and shows their exact property IDs and Analytics accounts.
  • list_fields returns available dimensions and metrics, including custom dimensions, custom metrics, and key events for a selected property.
  • run_report retrieves metrics such as users, sessions, views, engagement, events, key events, and revenue. Results can be broken down by dates, channels, source and medium, landing pages, pages, countries, devices, events, and other supported fields, with filters.
  • compare_report compares a period with the previous period, matching weekdays from the prior year, or custom dates. It identifies channels, sources, pages, or countries with the largest gains or losses.
  • run_realtime_report reports active users, views, and events from the previous 30 minutes, grouped by country, city, device, page, or event.

Limitations and notes

The tools cannot create or modify properties, data streams, key events, audiences, or other Google Analytics settings. Universal Analytics properties are not supported. Google may apply sampling or thresholding to some reports, and the service passes those indicators to the assistant. Google Analytics property API quotas still apply.

The hosted service is separate from the public repository, which contains listing files, client configurations, and related integration files rather than the service implementation. Google refresh tokens are encrypted at rest; users can hide properties, disconnect Google, or delete their account. The repository files use the MIT license, while use of the hosted service is governed by QuerySail's terms.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about QuerySail: Google Analytics MCP

QuerySail: Google Analytics MCP is an MCP server that connects AI clients to Google Analytics 4 through a hosted Streamable HTTP endpoint. Its read-only tools list accessible properties and reportable fields, run standard and comparative reports, and show realtime activity. Users authenticate with Google OAuth through QuerySail.

You do not install a local server; add `https://mcp.querysail.com/ga4/mcp` as a remote HTTP MCP endpoint in your client. First create a QuerySail account, connect Google Analytics under Account → Connections, then authenticate when the client opens the browser sign-in flow.

Yes, it works with Cursor by adding the hosted endpoint to `~/.cursor/mcp.json`. Use a server entry with the URL `https://mcp.querysail.com/ga4/mcp`, then sign in when prompted so the tools can access your readable GA4 properties.

No, QuerySail: Google Analytics MCP is read-only. Its tools can list properties and fields, run reports, compare periods, and inspect realtime activity, but they cannot create or edit properties, data streams, key events, audiences, or other Google Analytics settings.

No, it supports Google Analytics 4 properties rather than Universal Analytics properties. Google may also apply sampling or thresholding to some GA4 reports, and Google's per-property API quotas apply.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewQuerySail: Google Analytics MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/querysail-google-analytics-mcp?style=directory)](https://allmcps.com/mcp/querysail-google-analytics-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/querysail-google-analytics-mcp"><img src="https://allmcps.com/api/badge/querysail-google-analytics-mcp?style=directory" alt="QuerySail: Google Analytics MCP on AllMCPs" /></a>