A GA4 and Search Console MCP
for the agent you already use.
Connect Claude, ChatGPT, Grok or Cursor to BlackOps, and your agent can read Google Analytics 4 and Search Console for your sites. Ask what changed, which pages convert and what Google hasn’t indexed. It remembers what it found last time.
Ten GA4 tools and seven Search Console tools on one MCP server.
What your agent can do with it.
Each tool takes the domain of a site you own. The Google property behind it is looked up on the server, so your agent never handles a property ID or a key.
Google Analytics 4
10 tools, read only
Traffic overview. Sessions, users, pageviews, bounce rate and session length.
Top pages. Pages ranked by pageviews, with time on page.
Traffic sources. Source, medium and channel, ranked by sessions.
Trend. A daily series for sessions, users, pageviews or new users.
Site comparison. Several of your sites side by side in one call.
Events. Counts for events like sign_up or start_trial.
Conversions. Key events with converting sessions and rates.
Landing page conversions. Which entry pages actually convert.
Campaign performance. UTM campaigns by sessions and conversion rate.
Site search. What visitors type into your own search box.
Google Search Console
5 read tools, 2 that act
Search performance. Queries, pages, countries and devices with clicks, impressions, CTR and position.
Period comparison. Two date ranges with the winners, losers and net change worked out.
Index status. A list of URLs sorted into indexed, crawled but not indexed, and the rest.
URL inspection. Last crawl, canonical, robots, mobile and structured data for one URL.
Sitemaps. Submitted sitemaps with errors, warnings and indexed counts.
Submit a sitemap. Send a new sitemap, or ask Google to fetch a stale one again.
Request indexing. Push up to 10 URLs to the crawl queue per call, 200 a day per site.
It remembers the last look.
Most analytics chats start cold, so you get the same advice every time. Here, every GA4 and Search Console answer comes with what changed since your last session, the recommendations still open, and recent findings for that site.
When you finish, your agent logs what it found. Advice it already gave counts up instead of coming back as new. See analytics with memory.
Deltas, not snapshots
Numbers arrive next to the last reading, so the conversation starts at what moved.
One recommendation ledger
Open advice per site, with how often it came up and whether it was done.
Credentials stay on the server
Stored per site and encrypted. Never sent to the browser or the agent.
Run your SEO from the chat.
Questions you can ask once it is connected.
“Which queries gained or lost the most clicks this month compared with last month?”
Compares the two periods in Search Console and lists the winners and losers.
“Which of my pages rank between 5 and 15 and get the most impressions?”
Pulls queries and pages with their positions, so you know what is close to page one.
“Check every URL in my sitemap. Which ones are not indexed, and why?”
Reads the sitemap, checks index status, then inspects the URLs that are missing.
“Which landing pages bring the most sign-ups, and where does that traffic come from?”
Ranks landing pages by conversion rate in GA4 and breaks down the sources.
“What changed since we last looked?”
Answers from analytics memory: the deltas since your last session and the open recommendations.
The answers can feed the rest of BlackOps too: a note, a brain, a draft post.
What it does not do.
It works from your own Google data. It is not a backlink or keyword database.
- No backlink index or referring domains.
- No keyword search volume or difficulty scores.
- No data on competitors’ sites.
If you use a tool for those, keep it. Your agent handles the Search Console and GA4 side.
How to connect GA4 and Search Console.
Once per site. The docs have every click.
- 1
Connect your agent to BlackOps
Add the BlackOps MCP server to Claude, ChatGPT, Grok or Cursor. One URL to copy, no API key. Connect your agent
- 2
Create a Google service account
In Google Cloud, enable the Analytics Data API and the Search Console API, then download a JSON key. One key works for both.
- 3
Give it access to your property
Add the service account as a Viewer on your GA4 property. Search Console needs one extra step, which the docs walk through. Search Console setup
- 4
Save it on your site
Paste the property ID and the JSON into your site’s Analytics settings, and switch the Search Console tools on. GA4 setup
- 5
Ask in plain language
Name the site and ask your question. Your agent picks the tools and brings back the numbers.
Full reference: GA4 docs, Search Console docs and analytics memory docs.
GA4 MCP questions.
What is a GA4 MCP server?
MCP (Model Context Protocol) is the standard AI agents use to call outside tools. A GA4 MCP server gives an agent tools for reading Google Analytics 4, so you can ask about traffic and conversions in a chat instead of building a report. BlackOps runs one MCP server that covers GA4 and Google Search Console for every site you add.
Which AI agents work with it?
Any agent that speaks MCP. BlackOps has click-by-click steps for Claude, Claude Desktop, ChatGPT, Grok and Cursor, and Claude Code and other MCP clients connect with the same server URL.
How do I connect Google Analytics to Claude or ChatGPT?
Connect your agent to BlackOps first, then save a Google service account for your site: give it Viewer access in GA4 and paste the property ID and JSON key into your site’s Analytics settings. After that, ask your agent about the site by name.
Is there a Search Console MCP too?
Yes, on the same server. Your agent can read Search Console performance, compare periods, check index status, inspect a URL and list sitemaps, and it can take two actions: submitting a sitemap and requesting indexing. The Search Console tools stay off until you switch them on for the site.
Can my agent change anything in Google Analytics?
No. The GA4 tools only read reports. The only actions are the two Search Console ones, submitting a sitemap and requesting indexing, and you can switch the Search Console tools off for a site at any time without deleting its credentials.
Where are my Google credentials stored?
On the BlackOps server, per site, encrypted. They are never sent back to the browser or to your agent. The agent gets answers, not keys.
Does it replace Ahrefs or Semrush?
No. It works from your own Google Analytics and Search Console data. It has no backlink index, keyword volume or competitor data. If you rely on those, keep that tool and let your agent handle the Search Console and GA4 side.
Ask your agent what changed
and get a real answer.
Connect one site, then ask which queries moved this week.
Start your free trial