SEO Advisor
Reads Google's public Trending Now feed to surface current search spikes by country, filterable to a niche.
Runs GA4 reports and realtime checks, e.g. engagement by device or landing page, to connect site performance with user behaviour.
Reads Search Console properties and search analytics by query, page, country, device and date; lists sitemaps, inspects URL indexing and canonical selection, and finds SEO opportunities such as striking-distance queries, low CTR, zero-click queries and cannibalisation.
Fetches PageSpeed Insights/Lighthouse performance scores, Core Web Vitals lab and real-user data, and top failing audits for a URL.
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., "@SEO Advisor run the SEO health check for example.com and tell me what to fix first"
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.
seo-advisor-mcp
An MCP server that turns Claude into an SEO, AEO and site-performance advisor for your own website. It pulls real data from Google Search Console, Google Analytics 4 and Lighthouse, audits your pages, finds the gaps, and tells Claude how to reason about them and what to recommend.
Runs on your machine. Your credentials never leave it and are never sent to Claude. Claude only sees the results of each tool call.
Read-only. It uses read-only Google scopes and cannot change your site, your Search Console or your Analytics.
Bring your own credentials. Nothing is hosted. Each user supplies their own key.
AEO (answer-engine optimisation) means making your site easy for AI search and answer engines to find, trust and cite. It is newer and less measurable than classic SEO, and this tool says so when it gives AEO advice.
What it can do
Tool | Needs | What it gives you |
| Google key | Search Console properties you can read |
| Google key | Clicks, impressions, CTR and position by query, page, country, device or date |
| Google key | Gap analysis: striking-distance queries (rank 4-20), low-CTR results, zero-click queries, keyword cannibalisation, with estimated clicks to gain |
| Google key | Submitted sitemaps, errors and warnings |
| Google key | Is a URL indexed? Which canonical did Google choose? |
| Google key | Any GA4 report, e.g. engagement rate by device or landing page |
| Google key | Last 30 minutes, to confirm your tracking tag fires |
| Bing API key | Bing Webmaster Tools: queries, pages, daily traffic, crawl stats, crawl issues, inbound links |
| PSI key (free) | Lighthouse scores, Core Web Vitals lab and real-user data, top failing audits |
| nothing | Title, meta, canonical, headings, alt text, links, Open Graph, JSON-LD, plus AEO signals |
| nothing | robots.txt, sitemaps, which AI crawlers you block, |
| nothing | What is spiking in Google Search right now in a country, filterable to your niche |
| nothing | Reads a competitor's public sitemap and newest articles, and lists topics they cover that you don't |
| nothing | Saves article drafts as Markdown files in a local folder and lists them as a content calendar. Nothing is published |
It also ships six prompts (ready-made workflows you can start from Claude's prompt menu) and built-in advisor instructions, so Claude ranks recommendations by impact over effort, cites the data, and doesn't promise rankings:
seo_health_check: runs everything and writes a prioritised reportfind_traffic_opportunities: where small changes could win clickscontent_ideas_from_trends: timely content ideas that fit your niche, using trends plus your Search Console datacompetitor_content_plan: finds a competitor's topics you haven't covered, plans one article a week, and saves reviewable drafts (never publishes)aeo_check: can AI search find, trust and cite this page?performance_vs_engagement: is a slow or heavy page driving visitors away?
Related MCP server: seo-geo
Install as a Claude Desktop extension (no folder needed)
Build a one-click bundle, then open it in Claude Desktop:
./pack.sh # writes seo-advisor.mcpb (production dependencies only, no credentials)
open seo-advisor.mcpbClaude Desktop shows an install dialog asking for your Search Console property, GA4 property ID, key files and so on, and then lists SEO Advisor under Settings > Extensions. The values are stored by Claude on your machine, and everything still runs locally. If you previously added seo-advisor by hand (e.g. claude mcp add), remove that entry to avoid two copies.
Quick start
You need Node.js 20 or newer and git.
git clone https://github.com/<your-github-user>/seo-advisor-mcp.git
cd seo-advisor-mcp
npm installThen:
Set up Google access (about 15 minutes): docs/google-setup.md. For Bing: docs/bing-setup.md
Add it to Claude on macOS, Windows or Linux: docs/install.md
Ask Claude something like:
"Run the
seo_health_checkprompt for https://example.com""Which queries am I ranking 4-20 for, and what should I change first?"
"Is my site's heavy 3D homepage hurting mobile engagement?"
"Can ChatGPT and Perplexity crawl my site?"
Only want the audit and Lighthouse tools? Skip step 1 except the free PageSpeed key. The page and site audits need no credentials at all.
Configuration
All settings are environment variables, set when you register the server with Claude.
Variable | Required | Meaning |
| for | Path to your service-account JSON key |
| optional | Default Search Console property, e.g. |
| optional | Default GA4 property id (digits only) |
| for | Your Bing Webmaster API key, or the path to a file that holds it (the file is safer) |
| optional | Default Bing site, e.g. |
| optional | Default country code for trends, e.g. |
| optional | Absolute path of the drafts folder. Defaults to |
| recommended | Free key for PageSpeed Insights. Without it you share an anonymous quota that is often exhausted |
Security and privacy
Read-only scopes:
webmasters.readonlyandanalytics.readonly.The key file stays on your disk. Keep it out of git (the included
.gitignorehelps) and give the service account the lowest role (Restricted in Search Console, Viewer in GA4).seo_audit_pageandseo_audit_sitefetch whatever URL you give them, from your machine. Point them at your own sites.Tool results, including your search queries and traffic numbers, are sent to Claude as part of the conversation, so treat them like anything else you paste into a chat.
Competitor gaps and drafts: what they do and don't do
Do: read the competitor's public sitemap (any site's
/sitemap.xml), fetch their newest article pages, and compare their topics with your own pages and the Search Console queries you pass in. Drafts go to a local folder as Markdown withstatus: draftand an optionalpublishOndate, whichcontent_list_draftsshows as a calendar.Don't: see the competitor's traffic or search volume (that needs a paid keyword database), publish anything, or overwrite a draft you've changed to another status. Auto-publishing is deliberately left out: Google's spam policies target mass-produced AI articles, and answer engines favour pages with real first-hand experience. The prompt asks Claude to leave
[ADD ...]placeholders for the experience, photos and numbers only you have.Be polite with other people's sites: the tool reads at most 100 pages, five at a time, with an identifying user agent. Use it on sites you may reasonably read.
Trends: what is and isn't covered
Covered: Google's public "Trending Now" feed (
trends_trending_now), which lists current spikes by country.Not covered yet: keyword interest over time. Google has no public API for it. Its official Trends API is in a small alpha by application, and the unofficial endpoints that libraries like
pytrendsuse are rate-limited and often blocked (they returned HTTP 429 when I tried). Support will be added once the official API is open to you, or through an optional paid provider.Social platforms (TikTok, Instagram, Facebook, Xiaohongshu): none offers a general trends API to normal accounts, so none is built in. Instagram and Facebook research data (Meta Content Library) is limited to approved researchers. TikTok's Research API is academic-only; its Creative Center trends are viewable on the web but have no official API. Xiaohongshu has no public API. Third-party scrapers exist (for example on Apify), but they are paid, can break, and may breach the platforms' terms, so they would be an opt-in adapter at your own risk.
Roadmap
Ideas, roughly in the order they'd be most useful. Pull requests welcome.
Google Trends interest over time, through the official API once it's generally available
Chrome UX Report API: real-user Core Web Vitals history for any origin with enough traffic
Keyword and backlink data: optional adapters for Semrush, Ahrefs or DataForSEO (paid APIs, so each stays opt-in)
Social trend adapters (opt-in): TikTok, Instagram, Facebook and Xiaohongshu via a third-party data provider you choose and pay for
IndexNow: submit changed URLs to Bing, Yandex and others
AI-visibility tracking: whether and how answer engines cite your pages (no reliable free API yet)
Scheduled reports: a weekly digest you can run from cron
Development
npm test # unit tests, no network or credentials needed
npx @modelcontextprotocol/inspector node server.mjs # try the tools in a browser UIThe analysis logic lives in src/analysis/ as pure functions with tests. Tool registration is in src/tools/, and the advisor's instructions and prompts are in src/prompts.mjs.
License
Available Tools
21 toolsbing_crawl_issuesBing crawl issuesRead-onlyIdempotent
Crawl problems Bing found on the site, such as 4xx and 5xx errors, redirects and blocked pages.
Inputs: siteUrl.
bing_crawl_statsBing crawl statisticsRead-onlyIdempotent
How Bingbot crawled the site over time: pages crawled, crawl errors, blocked by robots.txt, and indexed counts.
Inputs: siteUrl.
bing_link_countsBing inbound linksRead-onlyIdempotent
Pages on your site that have inbound links according to Bing, with link counts.
Inputs: page, siteUrl.
bing_list_sitesList Bing Webmaster sitesRead-onlyIdempotent
Sites verified in the Bing Webmaster Tools account that owns the API key. Use it to confirm the key works.
Inputs: no named parameters.
bing_page_statsBing top pagesRead-onlyIdempotent
Pages that appeared in Bing results, with clicks, impressions and average position.
Inputs: limit, siteUrl.
bing_query_statsBing search queriesRead-onlyIdempotent
Queries that showed your site on Bing (also feeds Copilot and others), summed across the dates Bing returns: clicks, impressions, CTR and average position. Bing returns all data it holds, with no date filter.
Inputs: limit, siteUrl.
bing_traffic_statsBing traffic over timeRead-onlyIdempotent
Clicks and impressions from Bing search over time. Returns weekly totals for the last N weeks by default (daily rows are mostly zeros on small sites). Use it to spot drops, such as after a migration.
Inputs: daily, weeks, siteUrl.
content_list_draftsContent calendar (drafts)Read-onlyIdempotent
Lists the drafts in your local drafts folder as a calendar: soonest publishOn first, with status, target query and word count.
Inputs: no named parameters.
content_save_draftSave an article draft
Saves a draft article as a Markdown file in your local drafts folder (SEO_DRAFTS_DIR, default ~/seo-advisor-drafts) with status: draft. It does NOT publish anything. Include publishOn to place it on the content calendar. It will not overwrite a file you have changed to another status.
Inputs: body (required), title (required), slug, notes, +3 more.
ga_realtimeGA4 realtimeRead-onlyIdempotent
GA4 realtime report (last 30 minutes). Useful to confirm the tracking tag is firing.
Inputs: metrics, dimensions, propertyId.
ga_run_reportGA4 reportRead-onlyIdempotent
Google Analytics 4 report. Example: metrics ['sessions','engagementRate','averageSessionDuration'] with dimensions ['deviceCategory'] to compare mobile and desktop, or ['landingPage'] for per-page engagement. Names are GA4 Data API names.
Inputs: limit, endDate, metrics, startDate, +3 more.
gsc_inspect_urlInspect URL index statusRead-onlyIdempotent
URL Inspection: is a URL indexed, which canonical Google chose, last crawl time, mobile usability and rich results. About 2,000 per day per property.
Inputs: inspectionUrl (required), siteUrl.
gsc_list_sitemapsList sitemapsRead-onlyIdempotent
Sitemaps submitted for a Search Console property, with last download time, errors and warnings.
Inputs: siteUrl.
gsc_list_sitesList Search Console propertiesRead-onlyIdempotent
List the Search Console properties the service account can read, with permission level.
Inputs: no named parameters.
gsc_search_analyticsSearch Console performanceRead-onlyIdempotent
Search Console performance data: clicks, impressions, CTR and average position. Group by query, page, country, device, date or searchAppearance. Data lags about 2-3 days.
Inputs: endDate (required), startDate (required), siteUrl, rowLimit, +4 more.
psi_reportLighthouse / PageSpeed reportRead-onlyIdempotent
Runs Lighthouse through the PageSpeed Insights API (no local Chrome needed). Returns performance, accessibility, best-practices and SEO scores, lab metrics (LCP, TBT, CLS), real-user field data from the Chrome UX Report when available, and the top failing audits. Takes up to a minute. Heavy pages can score very differently on mobile and desktop, so check both.
Inputs: url (required), strategy.
seo_audit_pageAudit one page (SEO + AEO)Read-onlyIdempotent
Fetches a page and checks titles, meta descriptions, canonical, robots, headings, image alt text, internal links, Open Graph, and structured data (JSON-LD), plus answer-engine signals such as Article dates and authors and question-style headings. Returns facts and a list of findings with severity and a suggested fix.
Inputs: url (required).
seo_audit_siteAudit site-level SEO + AEORead-onlyIdempotent
Checks robots.txt (including whether AI crawlers such as GPTBot, ClaudeBot, PerplexityBot and Google-Extended are blocked), whether declared sitemaps load, and whether /llms.txt exists.
Inputs: siteUrl (required).
seo_competitor_gapsCompetitor content gapsRead-onlyIdempotent
Reads a competitor's public sitemap and their newest article pages, then compares their topics with your own site's pages and any Search Console queries you pass in. Returns the topics they cover that you do not (gaps), partly covered ones, and what you already cover. It cannot see their traffic or search volume, so judge demand separately. Tip: any site's /sitemap.xml lists every page and when it last changed.
Inputs: competitorUrl (required), maxPages, ownQueries, ownSiteUrl.
seo_find_opportunitiesFind SEO opportunitiesRead-onlyIdempotent
Analyses Search Console query+page data and returns prioritised gaps: striking-distance queries (rank 4-20), low-CTR results, zero-click queries and keyword cannibalisation, each with an estimate of clicks to gain. Defaults to the last 28 days.
Inputs: top, endDate, siteUrl, startDate, +2 more.
trends_trending_nowGoogle Trends: trending nowRead-onlyIdempotent
What is spiking in Google Search right now in a country (Google Trends 'Trending Now' public feed), with approximate search volume bucket and top news headlines. Use 'matching' to keep only topics related to your niche. Short-lived spikes only: it does not give historical interest for a keyword.
Inputs: geo, limit, matching.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
SEO research, Search Console, GA4 and PPC tools for Claude and ChatGPT.
Keyword research, Google SERPs, backlinks, rank checks and SEO audits in Claude.
SEO audits, Search Console, GA4, keyword and backlink data for Claude, ChatGPT and Cursor.
Live SEO workflow tools for Claude Code, Codex, and AI agents.
Related MCP Servers
- FlicenseNot 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.10-
- AlicenseAqualityCmaintenanceEnables Claude to query Google Search Console performance data, inspect URL indexing status, submit URLs via IndexNow, and check title and meta-description lengths against Bing limits directly in chat.6MIT
- AlicenseBqualityCmaintenanceConnects Claude to Google Search Console, GA4, Bing Webmaster Tools, IndexNow, PageSpeed Insights, AdSense and Google Ads Keyword Planner, plus live technical SEO audits of pages and sitemaps. Users ask plain-language questions about traffic drops, index status, canonicals, AI referral traffic and keyword volumes, and answers are pulled live from the APIs in real time.2818 npmMIT
- AlicenseBqualityBmaintenanceEnables Claude Desktop to analyze Google Search Console performance, diagnose traffic drops and indexing issues, and run technical SEO checks such as robots.txt, redirects, HTTPS, DNS, Core Web Vitals, and crawl stats using read-only Google APIs and local server logs.44MIT