# seo-stack-mcp [Health: Active]

**Category:** 🎯 Marketing  
**Repository:** https://github.com/Raffaele86/seo-stack-mcp  
**GitHub Stars:** 1  
**Views:** 3  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/seo-stack-mcp

## Description
GSC, GA4, Bing Webmaster and Microsoft Clarity in one MCP server, with built-in SEO analyst tools

## Tools
Capabilities this server exposes over MCP:

- **gsc_bulk_inspect_urls** — Inspect multiple URLs in batch via the URL Inspection API. Max 50 URLs per call.
- **gsc_bulk_request_indexing** — Request indexing for multiple URLs via the Google Indexing API. Max 50 URLs.
- **gsc_cannibalization_check** — Find queries where multiple pages compete (keyword cannibalization). Shows queries with 2+ ranking pages.
- **gsc_compare_periods** — Compare two periods: shows deltas of clicks, impressions, CTR and position per item.
- **gsc_content_gap_analysis** — Content gap analysis: queries where the competitor ranks but you don't (or you are far behind).
- **gsc_country_performance** — Performance by country: clicks, impressions, CTR and average position. Default: last 28 days.
- **gsc_daily_stats** — Aggregated daily site statistics: clicks, impressions, CTR and average position per day.
- **gsc_declining_queries** — Queries losing clicks/positions: compares last N days vs the equivalent previous period.
- **gsc_delete_sitemap** — Remove a sitemap from Google Search Console. Requires write scope on the credentials.
- **gsc_device_performance** — Compare performance across MOBILE vs DESKTOP vs TABLET. Default: last 28 days.
- **gsc_indexing_status_summary** — Indexing status summary for multiple URLs: how many indexed, not indexed, and errored.
- **gsc_inspect_url** — Inspect a URL via the Google Search Console URL Inspection API.
- **gsc_keyword_opportunities** — Queries with high impressions but low CTR in position 5-20: optimization opportunities.
- **gsc_list_sitemaps** — List all sitemaps of a site in Google Search Console.
- **gsc_list_sites** — List all Google Search Console properties available to the configured credentials.
- **gsc_low_hanging_fruit** — Queries in position 3-10 with high impression volume: small optimizations can push them into the top 3.
- **gsc_page_trend** — Daily trend for a specific page over the last N days (default 90).
- **gsc_pages_for_query** — Which pages rank for a specific query? Shows all pages with performance data.
- **gsc_queries_for_page** — Which queries drive traffic to a specific page? Shows all keywords with performance data.
- **gsc_query_trend** — Daily trend for a specific query over the last N days (default 90).
- **gsc_request_indexing** — Request indexing of a URL via the Google Indexing API.
- **gsc_rising_queries** — Rising queries: compares last N days vs the equivalent previous period.
- **gsc_search_analytics** — Query Search Analytics: clicks, impressions, CTR and position for the requested dimensions.
- **gsc_search_analytics_filtered** — Search Analytics with advanced filters. Filters: query_contains, query_regex, page_contains, page_regex, country (e.g. 'ita'), device (MOBILE/DESKTOP/TABLET).
- **gsc_search_appearance** — Performance by SERP result type (rich snippet, video, FAQ, etc.). Default: last 28 days.
- **gsc_submit_sitemap** — Submit a sitemap to Google Search Console. Requires write scope on the credentials.
- **gsc_top_pages** — Top pages by clicks or impressions. order_by: clicks, impressions, ctr, position. Default: last 28 days.
- **gsc_top_queries** — Top queries by clicks or impressions. order_by: clicks, impressions, ctr, position. Default: last 28 days.
- **gsc_weekly_report** — Automatic weekly report: last 7 days vs previous 7 days metrics with deltas and top queries/pages.
- **ga4_compare_periods** — Compare two periods with percentage delta on key metrics.
- **ga4_conversion_paths** — User paths: acquisition source → landing page with sessions and users.
- **ga4_events** — Top GA4 events with count and number of users.
- **ga4_landing_pages** — Entry pages (landing pages) with sessions, users and bounce rate.
- **ga4_overview** — Site overview: users, sessions, pageviews, bounce rate, average session duration.
- **ga4_page_performance** — Detailed performance of a single page with device and source breakdown.
- **ga4_realtime** — Realtime report: pages currently being viewed and active users.
- **ga4_top_pages** — Top pages by traffic with full metrics (pageviews, users, duration, bounce rate).
- **ga4_traffic_sources** — Traffic breakdown by source/medium (e.g. google/organic, direct/none).
- **ga4_user_demographics** — User demographics breakdown: country, device, browser, language.
- **bing_crawl_issues** — URLs with crawl problems (4xx/5xx errors, redirects, etc.).
- **bing_crawl_stats** — Bing crawl statistics: crawled pages, errors, redirects, etc.
- **bing_keyword** — Bing impression volume for an exact query (impressions + broad).
- **bing_keyword_stats** — Historical statistics for a keyword on Bing: impressions and trend.
- **bing_link_counts** — Pages with the highest number of backlinks according to Bing.
- **bing_pages_for_query** — Pages that rank for a specific query on Bing.
- **bing_queries_for_page** — Search queries that drive traffic to a specific page.
- **bing_query_page_detail** — Detailed statistics for a specific query + page combination.
- **bing_query_traffic** — Daily traffic trend for a specific query on Bing.
- **bing_related_keywords** — Keywords related to a search term on Bing, with impression data.
- **bing_sitemaps** — List all sitemaps/feeds submitted to Bing.
- **bing_sites** — List all sites verified in the Bing Webmaster Tools account.
- **bing_submission_quota** — Check the URL submission quota for Bing.
- **bing_submit_sitemap** — Submit a new sitemap/feed to Bing.
- **bing_submit_url** — Submit a URL to Bing for indexing.
- **bing_submit_urls_batch** — Submit a batch of URLs to Bing for indexing (max 500).
- **bing_top_pages** — Top pages on Bing with clicks, impressions and average position.
- **bing_top_queries** — Top Bing search queries with clicks, impressions and average position.
- **bing_traffic_stats** — Daily Bing traffic statistics: clicks and impressions over time.
- **bing_url_info** — Indexing status of a specific URL on Bing.
- **bing_url_links** — Inbound backlinks to a specific URL according to Bing.
- **bing_url_traffic** — Traffic data for a specific URL on Bing.
- **clarity_breakdown** — Free-form raw breakdown (1-3 dimensions). Power-user — costs 1 quota unit if not already cached.
- **clarity_dead_clicks** — Top URLs with dead clicks (clicks on non-interactive elements — a UX problem signal).
- **clarity_engagement** — Engagement Time + Scroll Depth per URL (or another dimension).
- **clarity_excessive_scroll** — Top URLs with excessive scrolling (users hunting for info they can't easily find).
- **clarity_popular_pages** — Top URLs by visits over the last days (Popular Pages metric, dimension=URL).
- **clarity_quickback_clicks** — Top URLs with quickback clicks (user goes back immediately — page not relevant).
- **clarity_quota_status** — Daily quota status (local counter, does not call the API).
- **clarity_rage_clicks** — Top URLs with rage clicks (fast repeated clicks — user frustration).
- **clarity_script_errors** — Top URLs with JS errors + error clicks (technical problems on the page).
- **clarity_traffic** — Traffic breakdown from Microsoft Clarity (sessions, bot %, pages per session).
- **adsense_alerts** — Active alerts on the AdSense account (severity, type, message).
- **adsense_by_ad_unit** — Performance per ad unit: earnings, impressions, clicks, CTR, eCPM.
- **adsense_by_country** — Revenue breakdown by country, sorted by earnings.
- **adsense_by_platform** — Revenue breakdown by device platform (Desktop, Mobile, Tablet).
- **adsense_compare_periods** — Compare two periods with percentage deltas on key metrics.
- **adsense_earnings_by_date** — Daily earnings with total, average and trend.
- **adsense_earnings_overview** — Earnings overview: estimated earnings, page views, impressions, clicks, RPM, CTR.
- **adsense_payments** — Recent payments on the AdSense account.
- **adsense_sites** — Sites linked to the AdSense account (domain, state, auto-ads).

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "seo-stack-mcp": {
    "command": "uvx",
    "args": ["--with","google-ads","seo-stack-mcp"],
    "env": {
      "GOOGLE_APPLICATION_CREDENTIALS": "",
      "SEO_STACK_OAUTH_CLIENT": "",
      "GA4_PROPERTY_ID": "",
      "GSC_SITE_URL": "",
      "BING_WEBMASTER_API_KEY": "",
      "BING_SITE_URL": "",
      "CLARITY_API_TOKEN": "",
      "ADSENSE_ACCOUNT_ID": ""
    }
  }
}
```

**Requires environment variables:** `GOOGLE_APPLICATION_CREDENTIALS`, `SEO_STACK_OAUTH_CLIENT`, `GA4_PROPERTY_ID`, `GSC_SITE_URL`, `BING_WEBMASTER_API_KEY`, `BING_SITE_URL`, `CLARITY_API_TOKEN`, `ADSENSE_ACCOUNT_ID` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What seo-stack-mcp does

seo-stack-mcp MCP server brings several SEO and website measurement sources behind one MCP process. Its documented sources include Google Search Console, Google Analytics 4, Bing Webmaster Tools, Microsoft Clarity, Google AdSense, Google Keyword Planner, and Open PageRank. Sources are optional, so a deployment can expose only the services whose credentials are configured.

Google Search Console tools cover search analytics, top queries and pages, daily and weekly trends, country and device breakdowns, SERP appearance, URL inspection, indexing requests, and sitemap management. They also include server-side analysis for declining queries, keyword cannibalization, content gaps, keyword opportunities, and low-hanging-fruit queries. Google Analytics 4 tools provide reports for traffic, landing pages, events, sources, demographics, realtime activity, page performance, conversion paths, and period comparisons.

## How it works

The server runs locally and communicates with an MCP client over its configured command. The quickstart uses `uvx seo-stack-mcp`; a development version can be loaded directly from the GitHub repository. Credentials remain on the local machine rather than passing through a hosted gateway, according to the project documentation.

Configured sources determine which tools are available. For example, Google credentials support Search Console and GA4 access, while separate credentials enable Bing, Clarity, AdSense, Keyword Planner, or Open PageRank. Several reports use computed comparisons instead of returning only raw API data. Search Console period comparisons report changes in clicks, impressions, CTR, and position, while trend and opportunity tools derive findings from search performance data.

## Setup and configuration

Add the server to an MCP client configuration with the `uvx` command and set the relevant environment variables. The main authentication options are a Google service-account JSON file through `GOOGLE_APPLICATION_CREDENTIALS`, or Google OAuth desktop credentials through `SEO_STACK_OAUTH_CLIENT`. The service account must have access to the relevant Search Console property and GA4 account.

Bing uses `BING_WEBMASTER_API_KEY`, and Microsoft Clarity uses `CLARITY_API_TOKEN`. AdSense also needs `ADSENSE_ACCOUNT_ID`; Keyword Planner requires its Google Ads credentials and the `google-ads` extra. Open PageRank uses `OPENPAGERANK_API_KEY`. Optional site and reporting defaults include `GSC_SITE_URL`, `BING_SITE_URL`, `ADSENSE_CURRENCY`, `GOOGLE_ADS_LOCATION_ID`, and `GOOGLE_ADS_LANGUAGE_ID`.

## Tools and capabilities

- Inspect one or up to 50 URLs through Search Console, and request indexing for one or up to 50 URLs.
- List Search Console properties and sitemaps, then submit or delete sitemaps when write access is available.
- Filter Search Analytics by query, page, country, device, or regular expression.
- Compare periods and review rising, declining, high-impression, or near-top queries.
- Analyze ranking pages for a query, query sets for a page, countries, devices, and search appearance types.
- Query GA4 reports and compare periods with percentage changes.
- Use Bing tools for crawl issues, crawl statistics, keywords, backlinks, and query-page details.

The seo-stack-mcp MCP server is suited to agents that need repeatable SEO investigation across multiple data sources, but the available tool set depends on which credentials and optional packages are installed.

## Limitations and notes

Every environment variable is optional in the project configuration, but a source cannot be used without its corresponding credentials. Search Console sitemap submission and deletion require write scope. URL batches are limited to 50 URLs per call. Keyword Planner requires the additional `google-ads` dependency, and enabling new Google OAuth scopes may require deleting the cached token so consent can be requested again.

_Full upstream README: https://allmcps.com/mcp/seo-stack-mcp/readme_

