Google Analytics MCP for ChatGPT
Add one custom MCP server to ChatGPT and ask about your Google Analytics in a chat, including how many visits ChatGPT itself sends to your site.
Get started free- 1
Open Plugins, choose +, then Add custom MCP server.
- 2
Name it seoskill and enter the server URL under Connection:
https://seoskill.dev/mcp - 3
Choose OAuth for authentication, confirm, and choose Create as a plugin. Sign in with Google when ChatGPT asks.
- 4
In a chat, type @ and pick seoskill.
ChatGPT opens the Google sign-in while it sets up the plugin, and refreshes the token after that.
Prompts to try in ChatGPT
Ask in plain words and your agent picks the tool. Only visits that pass a referrer or tag count as coming from an AI assistant. An AI app that sends neither shows up as Direct.
The Google Analytics MCP server page has more prompts and a worked example.
How much traffic does ChatGPT send us?
The AI assistants rows with chatgpt.com as its own source, beside Perplexity, Claude, Gemini and Copilot, and the pages each one sends people to.
Did ChatGPT visits grow after we published the guide?
Sessions in equal periods before and after the publish date, with visits from AI assistants counted in each.
Which landing pages from search lead to sign-ups?
Landing pages from Organic Search with sessions, engaged sessions and key events. A key event is whatever you marked as one in Google Analytics, such as a sign-up.
Do clicks and sessions agree for the last 28 days?
Search Console clicks beside Organic Search sessions for the same dates. They count different things, so expect a gap.
See the visits ChatGPT sends you
When someone clicks a link in a ChatGPT answer, the visit usually arrives with chatgpt.com as its referrer, and the report counts it under AI assistants. The answer gives the total against the previous period and the pages those visitors land on.
Some visits slip through. The ChatGPT app does not always pass a referrer, and those visits show up as Direct in Google Analytics. Treat the number as a floor (the real figure can only be higher).
What you need before you add it to ChatGPT
You need Viewer access to the Google Analytics property on the Google account you sign in with, and a ChatGPT plan that allows custom MCP servers. OpenAI lists Business, Enterprise and Edu workspaces and Pro accounts.
You do not pick a property ID. Name the site and the server finds the property whose web stream matches it, then names that property in the answer.
Google Analytics in other AI clients
The same server and sign-in, with each client's own setup steps.
Claude Code
One command in your terminal.
Google Analytics in Claude CodeClaude
A custom connector, added once for web, desktop and mobile.
Google Analytics in ClaudeCodex
Two commands in your terminal.
Google Analytics in CodexCursor
One entry in mcp.json.
Google Analytics in CursorVS Code
The Add Server command, or one entry in .mcp.json.
Google Analytics in VS CodeGemini CLI
One command in your terminal.
Google Analytics in Gemini CLIWindsurf
Two commands, or one entry in mcp_config.json.
Google Analytics in WindsurfLe Chat
A custom MCP connector.
Google Analytics in Le ChatMore data for ChatGPT
One server reads all of these. Add a key or a site and your agent can use it.
Google Search Console
Clicks, impressions, CTR, positions, queries, pages and URL Inspection.
Google Search Console in ChatGPTDataForSEO
Keyword metrics, rankings, SERPs, competitors, backlinks and AI answer checks with your own login.
DataForSEO in ChatGPTAhrefs
Keyword metrics, ranked keywords, SERPs, competitors and backlinks with your own key.
Ahrefs in ChatGPTClicky
Visits by landing page, with the traffic sources and search engines that sent them.
Clicky in ChatGPT