seoclaude
Provides tools for Google Ads: list accessible accounts, retrieve keyword ideas from seeds or a URL, get search volume, trend, competition, and bid ranges for exact keywords, and run read-only GAQL queries for paid vs organic and campaign analysis.
Provides tools for interacting with Google Analytics 4: list properties, run reports on dimensions and metrics (channels, landing pages, conversions, revenue), view realtime activity, join page performance with Search Console, and analyze traffic from AI assistants.
Provides tools for accessing Google Search Console data and managing properties: list sites, run search analytics by query, page, country, device, date, or search appearance; compare periods; find SEO opportunities and detect traffic drops; inspect URL index status and canonicals; bulk inspect URLs; list and submit sitemaps.
Provides a tool to fetch PageSpeed Insights data: category scores, Core Web Vitals field data (CrUX) for page and origin, lab metrics, top opportunities, and failing SEO/accessibility audits.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@seoclaudewhen did search traffic drop, and which pages lost it?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
seoclaude
An MCP server that gives Claude (Claude Code, Claude Desktop or any MCP client) your SEO data and the tools to act on it: Google Search Console, Google Analytics 4, Bing Webmaster Tools, IndexNow, PageSpeed Insights, AdSense and Google Ads Keyword Planner, plus live technical SEO audits of your pages.
Ask in plain language — "when did search traffic drop, and which pages lost it?", "are my canonicals and hreflang set up right?", "how much traffic comes from ChatGPT?" — and Claude pulls the numbers live and works out the answer.
Nothing is stored: every question is answered from the APIs in real time. The only things kept on disk are your Google OAuth token and any API keys you add, in ~/.config/seoclaude/.
Tools
Search Console
Tool | What it does |
| Every Search Console property you can access |
| Clicks, impressions, CTR and position by query, page, country, device, date or search appearance |
| Two date ranges side by side, with the biggest gainers and losers |
| Quick wins: low CTR for the position, queries ranking 8–20 (striking distance), keyword cannibalization |
| Finds sudden shifts in the daily series (e.g. impressions −93% from one week to the next) and lists the pages and queries behind the largest one |
| Google's index status for a URL: coverage, user vs Google canonical, last crawl, rich results |
| URL Inspection over many URLs (a list, a sitemap sample or your top pages), summarized: coverage states, canonical mismatches, crawl dates |
| Submitted sitemaps with errors, warnings and submitted/indexed counts |
| Submits or resubmits a sitemap |
Technical audits (no account needed)
Tool | What it does |
| Fetches a live page and checks redirect chain, status, noindex (meta and header), canonical (missing, multiple, other host, redirecting target), hreflang (self-reference, host, return links), title/description, |
| Checks every sitemap URL is on one host, then audits an evenly spaced sample of pages and groups the issues |
| PageSpeed Insights: category scores, Core Web Vitals field data (CrUX) for page and origin, lab metrics, top opportunities, failing SEO/accessibility audits |
Google Analytics 4
Tool | What it does |
| Every GA4 property you can access |
| Any GA4 dimensions and metrics: channels, landing pages, conversions, revenue… |
| Activity in the last 30 minutes |
| Search Console and GA4 joined per page; flags low CTR, low engagement, and search clicks with no GA sessions (a tracking gap) |
| Traffic from AI assistants (ChatGPT, Perplexity, Claude, Gemini, Copilot, DeepSeek, Grok and more), matched by source: totals, share, per-assistant breakdown, landing pages, daily trend |
Bing and IndexNow
Tool | What it does |
| Your Bing Webmaster Tools sites |
| Bing queries and pages, daily traffic, crawl stats and crawl issues |
| Submits a sitemap and/or URLs to Bing, returns the remaining quota |
| Sends URLs, or a whole sitemap, to IndexNow (Bing, Yandex, Seznam, Naver…), after checking the key file is live |
AdSense and Google Ads
Tool | What it does |
| AdSense accounts and their sites |
| Any AdSense dimensions and metrics: earnings, RPM, page views, by page, country, ad unit… |
| AdSense earnings joined with Search Console per page; flags high-RPM pages ranking 8–20 or with low CTR |
| Google Ads accounts you can access |
| Keyword Planner ideas from seed keywords or a URL: monthly searches, 12-month trend, competition, bid range |
| Search volume, trend, competition and bids for an exact keyword list |
| Read-only GAQL queries (paid vs organic, search terms, campaigns…) |
The AdSense and Google Ads tools are new and have not yet been tested against live accounts. Reports are welcome.
Related MCP server: Google Search Console MCP Server
Setup
You need Node.js 20 or newer and a Google Cloud OAuth client of your own (free, about five minutes). Only the Google services you enable are used; everything else is optional.
1. Create a Google OAuth client
In the Google Cloud Console, create a project (or pick one).
Under APIs & Services → Library, enable the APIs you want:
Google Search Console API
Google Analytics Data API and Google Analytics Admin API
PageSpeed Insights API
AdSense Management API (optional)
Google Ads API (optional)
OAuth consent screen: user type External; add your own Google account under Test users.
Credentials → Create credentials → OAuth client ID → Application type: Desktop app.
Download the JSON and save it as
~/.config/seoclaude/credentials.json(or setGSC_CLIENT_IDandGSC_CLIENT_SECRET).
While the app is in Testing, Google expires the refresh token every 7 days and you will need to sign in again. To avoid that, set the consent screen to In production; for personal use no verification is needed, you just click through a warning.
2. Sign in
npx seoclaude authA browser window opens; approve access with the Google account that owns your properties. It asks for read-only access to GA4 and AdSense, the openid scope PageSpeed Insights uses for quota, and full Search Console access. Google has no narrower scope that allows submitting sitemaps; seoclaude only writes to Search Console when you call submit_sitemap.
3. Connect it to Claude
Claude Code
claude mcp add seoclaude -- npx -y seoclaudeClaude Desktop: add this to claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\):
{
"mcpServers": {
"seoclaude": {
"command": "npx",
"args": ["-y", "seoclaude"]
}
}
}4. Optional: other services
Keys for non-Google services, and Google Ads settings, are read from environment variables or from ~/.config/seoclaude/config.json:
{
"bingApiKey": "",
"indexNowKey": "",
"pagespeedApiKey": "",
"googleAdsDeveloperToken": "",
"googleAdsLoginCustomerId": "",
"googleAdsCustomerId": "",
"googleAdsApiVersion": ""
}Setting | Env var | Where to get it |
|
| Bing Webmaster Tools → Settings → API access → API key |
|
| Make one up (8–128 characters of |
|
| Not needed: without it, PageSpeed calls use your Google sign-in. Set one only if you prefer a key |
|
| See below |
|
| Your manager account ID, e.g. |
|
| The ad account tools use by default ( |
|
| Defaults to |
Restart the MCP server after changing these.
Google Ads
The ads_* tools need a developer token on top of OAuth:
Open or create a Google Ads manager account (free).
In the manager account, go to Admin → API Center and request a developer token. Higher access levels are needed for real data; apply from the same page if your token is limited to test accounts.
Put the token (and your manager account ID) in
config.json.Sign in again with Google Ads access:
npx seoclaude auth --ads. Ads access is only requested when you ask for it, because Google's consent screen words it as managing your campaigns.
Example questions
"Which sites do I have?"
"Top 20 queries on example.com in the last 28 days?"
"When did search traffic drop, and which pages lost it?"
"Find quick SEO wins."
"Audit example.com's sitemap for technical SEO problems."
"Summarize the index status of my 50 most-shown pages."
"Is https://example.com/blog/x indexed? What canonical did Google pick?"
"How much traffic do ChatGPT and other AI assistants send?"
"Which pages show up in Google but don't get clicked, or get clicked and abandoned?"
"Mobile Core Web Vitals for the home page?"
"Resubmit the sitemap and send all its URLs to IndexNow."
"Monthly search volume for these keywords in Turkey?"
Notes
Search Console data is finalized with a ~3 day delay; by default the last 28 finalized days are used. CTR is returned as a percentage.
URL Inspection allows 2,000 inspections per property per day and 600 per minute;
bulk_inspectcounts against it.Search Console has no API for the Request indexing button.
Google does not take part in IndexNow; for Google, sitemaps and Search Console are the route.
audit_pageandaudit_sitemapfetch pages with a plain HTTP client and don't run JavaScript, so they see the server-rendered HTML.
Development
git clone https://github.com/muhammeddilaver/seoclaude.git
cd seoclaude
npm install
npm run build
node dist/index.js auth
claude mcp add seoclaude -- node "$PWD/dist/index.js"License
MIT
Related MCP Connectors
SEO audits, Search Console, GA4, keyword and backlink data for Claude, ChatGPT and Cursor.
GA4, Google Ads and Search Console in Claude. Read-only OAuth, multi-account for agencies.
Live SEO workflow tools for Claude Code, Codex, and AI agents.
Live Google Ads, GA4, Search Console, Meta Ads and GBP data in Claude, ChatGPT and any MCP client
Related MCP Servers
- AlicenseBqualityCmaintenanceConnects Google Search Console with Claude AI to enable SEO professionals to analyze their SEO data through natural language conversations, providing access to property information, search analytics, URL inspection, and sitemap management.8,322 PyPI1,979MIT
- AlicenseNot gradedqualityDmaintenanceConnects Google Search Console with Claude AI to analyze SEO data through natural language, enabling search analytics reporting, URL inspection, indexing status checks, sitemap management, and data visualization for SEO professionals.MIT
- AlicenseNot gradedqualityDmaintenanceEnables Claude to access Google Search Console data including search performance, URL indexation, sitemaps, and built-in SEO analysis tools such as trending queries, cannibalization detection, and traffic drop diagnostics.94 npm11MIT
- AlicenseNot gradedqualityDmaintenanceEnables querying Google Search Console data, including search analytics, indexing status, and sitemap management, through natural language conversations with Claude.94 npm6MIT