# AutomateLab-tech/seo-performance-mcp [Health: Active]

**Category:** 🎯 Marketing  
**Repository:** https://github.com/AutomateLab-tech/seo-performance-mcp  
**GitHub Stars:** 2  
**npm Downloads (last month):** 507  
**Views:** 4  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/automatelab-tech-seo-performance-mcp

## Description
Post-publish SEO performance MCP that unifies Google Search Console, Matomo, GA4, Clarity, and AI-citation signals per URL and emits a verdict (refresh / expand / merge / kill / doubledown / hold) per post with reason codes.

## Tools
Capabilities this server exposes over MCP:

- **posts_list** — Discover posts via an XML sitemap (POSTS_SITEMAP_URL or the sitemap_url arg), a JSON override list (POSTS_LIST), or - if configured - the Ghost Admin API. Pass an explicit urls[] to skip discovery entirely.

Returns metadata: url, title, published_at, age_days, tags. Filter by minimum age or published-after date.

When to use: discover which URLs are eligible for snapshot / verdict / cohort analysis. Works with any CMS that exposes a sitemap.
- **posts_snapshot** — Pull a 30/60/90-day snapshot across every configured signal source for one post: GSC clicks/impressions/CTR/position + top queries, Matomo visits + dwell, GA4 pageviews, Clarity scroll/rage clicks, AI-citation counts.

Each source is best-effort: if its env vars are missing the field is omitted. Returns whatever is available.

Read-only. No third-party writes. Optionally persists to the local DuckDB cache when persist=true.
- **posts_decay_curve** — Bucket GSC clicks/impressions/avg-position into ~weekly windows for the last N weeks (default 12) and classify the trend: decay / plateau / growth.

Underpins the verdict engine's decay rules. Read-only GSC query.
- **posts_verdict** — Run the rule-based verdict engine on a single post: combine snapshot + decay curve and emit a verdict with reason codes and a 0-1 confidence score.

Reason codes are deterministic. The mapping reasons -> verdict lives in src/verdict/rules.ts and can be inspected.

Reporting only - does NOT mutate anything. To act on the verdict, hand the brief to a writer or to an AI rewrite tool.
- **posts_refresh_brief** — Produce a markdown brief for a human (or downstream LLM) editor: verdict + reasons + raw numbers + top queries + suggested actions.

Use this as the hand-off artefact when verdict is refresh / expand / merge / double_down.
- **cohort_report** — Run the verdict engine across a cohort (filtered by tag and/or min-age) and return a ranked table sorted by verdict priority then confidence.

Practical use: 'which three posts should I refresh this week?' - the top three rows with verdict=refresh and highest confidence are the answer.
- **posts_cite_loss** — Return the list of LLMs that previously cited this URL but no longer do, with the prior query and last-seen date. Optionally includes the URL that replaced ours.

Requires a configured citation-intelligence MCP endpoint (CITATION_INTELLIGENCE_URL). Otherwise returns an empty list.
- **gsc_quick_wins** — Scan GSC for (page, query) pairs sitting in positions 5-15 with non-trivial impressions and a CTR below their position-expected curve. These are the fastest title-rewrite wins.

Returns top results sorted by impressions desc. Pure GSC pull - platform-agnostic.
- **bing_quick_wins** — Scan Bing Webmaster Tools for queries sitting in positions 5-15 with non-trivial impressions. Bing's index backs Copilot, ChatGPT search, and Perplexity grounding, so a Bing rank gap is an LLM-citation gap.

Query-level only: Bing has no single page+query API, so - unlike gsc_quick_wins, which returns (page, query) pairs - these carry no url. Sorted by impressions desc.

Requires BING_WEBMASTER_API_KEY (Bing Webmaster Tools -> Settings -> API Access). Best-effort: returns config_missing if unset.

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

```json
"mcpServers": {
  "seo-performance-mcp": {
    "command": "npx",
    "args": ["-y","@automatelab/seo-performance-mcp"]
  }
}
```

## Documentation

## What AutomateLab-tech/seo-performance-mcp does

AutomateLab-tech/seo-performance-mcp turns post-publish content signals into per-URL reporting and prioritization. It can combine Google Search Console clicks, impressions, CTR, average position, and queries with Matomo visits and dwell data, GA4 pageviews, Microsoft Clarity interaction signals, and optional AI-citation tracking.

The verdict engine assigns one of six outcomes: `refresh`, `expand`, `merge`, `kill`, `double_down`, or `hold`. Each result includes deterministic reason codes and a confidence score from 0 to 1. The server reports findings only; it does not edit posts or write to third-party services.

## How it works

Post discovery can use an XML sitemap, a JSON `POSTS_LIST`, or the Ghost Admin API when configured. It can also accept explicit URLs, allowing a caller to bypass discovery. Sitemap-based discovery works with sites that expose a sitemap, regardless of CMS. Metadata may include the URL, title, publication date, age, and tags.

A snapshot gathers available signals for a 30-, 60-, or 90-day window. Missing adapter configuration causes that portion of the result to be omitted while other sources remain usable. A decay-curve query groups recent Search Console data into roughly weekly buckets and labels the trend as decay, plateau, or growth. The verdict combines the snapshot and decay result through rules in `src/verdict/rules.ts`.

The package can run as an MCP server through `npx -y @automatelab/seo-performance-mcp`. It also includes a `seo-perf-cli` command for one-shot tool execution and can run from GitHub Actions on a schedule. MCP prompts are available for cohort auditing, quick-win discovery, and citation-loss sweeps.

## Setup and configuration

Every environment variable is optional, so the process can start with only the data sources you intend to use. Common configuration includes:

- `POSTS_SITEMAP_URL` for sitemap discovery.
- `POSTS_LIST` for a JSON content index.
- `GSC_SERVICE_ACCOUNT_JSON` and `GSC_SITE_URL` for Search Console access.
- `MATOMO_URL`, `MATOMO_TOKEN`, and `MATOMO_SITE_ID` for Matomo.
- `GA4_PROPERTY_ID` and `GA4_SERVICE_ACCOUNT_JSON` for GA4.
- `CLARITY_PROJECT_ID` and `CLARITY_API_TOKEN` for Clarity.
- `CITATION_INTELLIGENCE_URL` for citation-loss data.
- `BING_WEBMASTER_API_KEY` for Bing quick wins.

Ghost discovery uses `GHOST_ADMIN_API_URL` and `GHOST_ADMIN_API_KEY` together. Calls that depend on an unconfigured adapter return the available data; citation-loss checks return an empty list without a citation-intelligence endpoint, and Bing quick wins report missing configuration without its API key.

## Tools and capabilities

- `posts_list` discovers and filters posts by age or publication date.
- `posts_snapshot` returns cross-source metrics for one URL and can optionally persist to a local DuckDB cache.
- `posts_decay_curve` classifies recent Search Console movement.
- `posts_verdict` returns a rule-based outcome, reasons, and confidence.
- `posts_refresh_brief` creates a Markdown hand-off for an editor or downstream writing model.
- `cohort_report` ranks posts by verdict priority and confidence, with tag and minimum-age filters.
- `posts_cite_loss` identifies LLMs that stopped citing a URL and may include a replacement URL.
- `gsc_quick_wins` finds page-query pairs ranking from positions 5 to 15 with below-expected CTR.
- `bing_quick_wins` finds Bing queries in positions 5 to 15 with meaningful impressions; these results do not include a URL.

The included prompts compose these tools into recurring audit workflows. Markdown output is supported for cohort reports and refresh briefs; other CLI results use fenced JSON.

_Full upstream README: https://allmcps.com/mcp/automatelab-tech-seo-performance-mcp/readme_

