
SEO Performance MCP
io.github.AutomateLab-tech由 GitHub 帳號 AutomateLab-tech 發布v1.0.1更新於 Oct 30, 2026
Per-URL SEO verdicts from GSC, GA4, Matomo, Clarity, AI citations: refresh/expand/merge/kill.
概覽
本機 MCP 伺服器,彙整 Search Console、GA4、Matomo、Clarity 與 AI 引用資料,為每個 URL 給出 refresh、expand、merge、kill 等 SEO 結論。
- 可以做什麼
- 從網站地圖、Ghost 或自訂文章清單取得文章與其中繼資料
- 依 30/60/90 天視窗彙整每個 URL 的 GSC、Matomo、GA4、Clarity 與引用訊號
- 輸出每週點擊、曝光與排名走勢,並標示衰退、停滯或成長
- 給出依規則判斷的結論、原因代碼與 0-1 信心分數
- 產生 Markdown 更新簡報與依優先順序排序的整站文章表格
- 列出排名 5-15 名的快速優化頁面/查詢組合,以及流失的 AI 引用
- 適用情境
- 適合擁有數十篇以上部落格內容、希望依數據而非直覺決定哪些文章該更新、擴寫、合併或下架的内容行銷人員、SEO 顧問與獨立出版者,且已具備可串接的分析帳號。
- 執行需求
- 透過 npx 在本機執行(需 Node.js)。所有環境變數皆為選用,但每個資料來源需各自設定:GSC_SERVICE_ACCOUNT_JSON 與 GSC_SITE_URL、GA4_PROPERTY_ID 與 GA4_SERVICE_ACCOUNT_JSON、MATOMO_URL、MATOMO_TOKEN 與 MATOMO_SITE_ID、CLARITY_PROJECT_ID 與 CLARITY_API_TOKEN,以及用於探索文章的 POSTS_SITEMAP_URL 或 POSTS_LIST。引用流失功能需 CITATION_INTELLIGENCE_URL,Ghost 中繼資料需 GHOST_ADMIN_API_URL 與 GHOST_ADMIN_API_KEY。需能連線至上述服務。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 SEO Performance MCP,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
seo-performance-mcp
Know which blog posts to refresh, expand, merge, or kill - without guessing.
A MCP server that turns your scattered SEO and analytics data into one clear verdict per URL. Plug it into Claude, Cursor, or any MCP-aware client and ask: "Which three posts should I update this week?" - and get an answer backed by hard numbers.
What it does
seo-performance-mcp unifies post-publish signals from every channel you already pay for:
- Google Search Console - clicks, impressions, CTR, position, top queries
- Matomo or GA4 - visits, dwell time, bounce rate
- Microsoft Clarity - scroll depth, rage clicks, dead clicks
- AI citation tracking - which LLMs cite your URL today vs. last month
- Sitemap / CMS - publish dates, tags, word counts (any platform via XML sitemap; optional Ghost integration for richer metadata)
It then runs a deterministic rule engine over those signals and emits a verdict per URL:
refresh/expand/merge/kill/double_down/hold
with reason codes, evidence, and a 0-1 confidence score. Reporting only - the server never mutates your posts.
Why it matters
Most content teams have analytics in five tabs and a gut feeling. That's how good posts rot quietly, mediocre posts get over-promoted, and the obvious "rewrite this one" is invisible until traffic has already cratered.
This MCP closes the loop:
- One question, one URL in, one verdict out.
- Same logic across the whole cohort, so the ranking is comparable.
- All decisions traceable to numeric thresholds you can pin in
src/verdict/rules.ts. - AI clients (Claude, Cursor, MCP hosts) can drive the entire content audit in plain English.
Who it's for
- Content marketers running a blog of 50+ posts and tired of guessing what to refresh.
- SEO consultants doing audits who want a portable, deterministic scoring layer instead of bespoke spreadsheets.
- AI-first content teams wiring up rewrite agents - this MCP is the upstream signal layer.
- Indie publishers on Ghost, WordPress, Hugo, Astro, Next, Webflow, or any CMS that exposes a sitemap.
What you get
After one cohort run you have:
- A ranked table of every post with a verdict and confidence score.
- A markdown brief per "refresh" URL: numbers + top queries + suggested actions an editor (or a writing agent) can act on immediately.
- A list of "quick wins": queries sitting at positions 5-15 with below-expected CTR - the fastest title-rewrite wins on the property.
- A historical AI-citation diff: which LLMs cited you and stopped.
Install
In a Claude, Claude Code, or Cursor MCP config:
Every env var is optional. Adapters that lack their env config skip their slice of the snapshot; the server still boots. The verdict engine works on whatever slices are present.
Platform integration
Point it at any site, no CMS plugin required. The post-discovery layer resolves in priority order:
POSTS_LIST- JSON array of{url, title?, published_at?, tags?, word_count?}. Use this when you already have a content index and want exact control.- Ghost Admin API - if both
GHOST_ADMIN_API_URLandGHOST_ADMIN_API_KEYare set, Ghost is used as a richer metadata source. Optional. - HTML extraction - per-URL
og:title,article:published_time, and JSON-LDdatePublishedare read live from the URL. - XML sitemap - set
POSTS_SITEMAP_URLto your sitemap (or sitemap index) and the server enumerates posts from<loc>+<lastmod>.
Most users only need POSTS_SITEMAP_URL. WordPress, Hugo, Astro, Next.js, Webflow, Framer, Wix, Squarespace, Notion-as-a-site, Substack-mirror sites all expose a sitemap by default.
To add a brand-new platform: nothing to build - just point POSTS_SITEMAP_URL at it.
Tools exposed
Use as a GitHub Action
Run any of the tools on a cron from CI and post the output to a GitHub Issue, Discussion, or PR. The action is published on the GitHub Marketplace.
Outputs:
A complete weekly-audit workflow that opens a GitHub Issue with the cohort report is in examples/weekly-cohort-report.yml.
Use as a one-shot CLI
The package also ships a seo-perf-cli bin so you can run a single tool without an MCP client:
Same env vars as the MCP server. --format markdown is supported for cohort_report and posts_refresh_brief; other tools fall back to fenced JSON.
Companion skills + Cursor rule
Three thin routing files ship in the repo so the LLM in your client knows when to reach for these tools:
skills/seo-performance/SKILL.md- tool-routing skill. Drop into~/.claude/skills/seo-performance/(or.claude/skills/per project) to auto-load in Claude Code. Routes a single question to the right tool.skills/weekly-audit/SKILL.md- one-shot weekly audit playbook. Composesgsc_quick_wins+cohort_report+posts_cite_lossinto a deduped, cross-signal ranked digest with proposed edits per URL. Drop in alongside the routing skill.cursor/rules/seo-performance.mdc- copy to.cursor/rules/seo-performance.mdcin any Cursor workspace.
All optional. The MCP server works without them; they just shorten the "which tool do I call" round-trip.
MCP prompts
The server exposes three prompts that bundle the playbook. Any MCP client (Claude Desktop, Claude Code, Cursor, Continue) can list and invoke them:
Verdict engine
Deterministic, rule-based, traceable. Reason codes:
ctr_below_position_expectedposition_driftdecay_30d_over_30pct/decay_60d_over_50pctstagnant_no_clicksthin_content_low_dwellrising_impressions_low_ctr/rising_clicks_continue_investmentcitation_loss/citation_growthduplicate_or_cannibalizinghigh_bounce_low_scrollfresh_post_too_young
The mapping (reasons → verdict) and every threshold lives in src/verdict/rules.ts. Edit it, pin it in tests, ship your own rule book.
Development
License
MIT
Maintenance and verification
See the maintenance guide for interpretation limits, current tool names where applicable, and reproducible verification.
來源:README.md,提交 c2eb50e
工具
0版本歷史
2- v1.0.1最新Oct 29, 2026
- v1.0.0Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分