Seo

io.github.rog0x由 GitHub 帳號 rog0x 發布v1.0.1更新於 Oct 24, 2026

SEO analysis - meta tags, keywords, links, page speed

概覽

AI 產生的概覽

本機 MCP 伺服器,為助理提供 SEO 分析工具,可檢查公開網頁的中繼標籤、標題結構、連結、關鍵字、速度與網站地圖。

可以做什麼
  • 稽核中繼標籤、Open Graph 與 Twitter Card 標籤並給出 0-100 評分
  • 驗證標題層級,標記缺少、跳級或重複的標題
  • 探測頁面連結並歸類為正常、失效、重新導向、逾時或錯誤
  • 統計關鍵字詞頻與密度,並檢查目標關鍵字的放置位置
  • 測量首位元組時間、載入時間、HTML 大小與資源數量,並檢查阻擋渲染的指令碼與圖片問題
  • 解析 sitemap.xml 或 robots.txt 中的網站地圖指令,檢查新鮮度、重複與合規性
適用情境
適合讓助理對公開網站或頁面做站內 SEO 檢查並輸出結構化結論,而不必註冊外部 SEO 服務。
執行需求
透過 npm 套件 @rog0x/mcp-seo-tools 以本機 stdio 程序執行,需要 Node.js 18 或更新版本。未宣告任何 API 金鑰或環境變數。工具會直接抓取目標頁面與連結,因此需要網路存取。
安裝前請注意
工具會對傳入的任意網址發出外部 HTTP 請求,包括對頁面中每個連結做 HEAD/GET 探測,可能觸及內網或私有位址。連結檢查受 max_links 參數限制。結果僅反映本機單次抓取,並非完整爬取或真實使用者效能資料。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Seo,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

mcp-seo-tools

An MCP (Model Context Protocol) server that gives AI agents a suite of SEO analysis tools. Analyze any public webpage for meta tags, heading structure, broken links, keyword density, page speed, and sitemap health — all without external API keys.

Tools

ToolDescription
seo_meta_analyzeAudit meta tags, Open Graph, and Twitter Card tags with scoring
seo_heading_checkValidate H1-H6 hierarchy, detect skipped levels and duplicates
seo_link_checkFind broken links, redirects, and missing anchor text
seo_keyword_densityMeasure keyword frequency and check target keyword placement
seo_page_speedMeasure TTFB, load time, HTML size, and resource counts
seo_sitemap_parseParse sitemap.xml, check freshness, duplicates, and compliance

Requirements

  • Node.js 18+
  • No API keys needed — all tools use direct HTTP requests and HTML parsing

Installation

bash
git clone <repo-url>cd mcp-seo-toolsnpm installnpm run build

Usage with Claude Code

Add to your Claude Code MCP configuration:

bash
claude mcp add seo-tools node D:/products/mcp-servers/mcp-seo-tools/dist/index.js

Usage with Claude Desktop

Add to your claude_desktop_config.json:

json
{  "mcpServers": {    "seo-tools": {      "command": "node",      "args": ["D:/products/mcp-servers/mcp-seo-tools/dist/index.js"]    }  }}

Tool Details

seo_meta_analyze

Fetches a URL and inspects all meta-related elements. Checks title length (optimal: 30-60 chars), meta description length (optimal: 120-160 chars), canonical URL, viewport tag, language attribute, Open Graph completeness, and Twitter Card setup. Returns a 0-100 score.

Input: { "url": "https://example.com" }

seo_heading_check

Parses all headings on a page and builds a visual hierarchy tree. Flags: missing H1, multiple H1s, skipped heading levels, empty headings, overly long headings (>70 chars), and duplicate headings.

Input: { "url": "https://example.com" }

seo_link_check

Extracts all anchor tags from a page, resolves relative URLs, deduplicates, and probes each link with a HEAD request (falling back to GET when needed). Classifies links as ok, broken, redirect, timeout, or error. Reports internal vs. external link ratio.

Input: { "url": "https://example.com", "max_links": 100 }

seo_keyword_density

Strips scripts, styles, and navigation, then tokenizes the remaining body text. Computes frequency and density for single words, bigrams, and trigrams (filtering stop words). When a target keyword is provided, checks whether it appears in the title, H1, meta description, and first paragraph.

Input: { "url": "https://example.com", "target_keyword": "seo tools" }

seo_page_speed

Measures Time to First Byte and total download time from the server's perspective. Counts external scripts, stylesheets, images, and iframes. Detects render-blocking scripts (missing async/defer), images without alt text or dimensions, missing compression, and absence of lazy loading.

Input: { "url": "https://example.com" }

seo_sitemap_parse

Accepts a sitemap URL or any page URL (automatically appends /sitemap.xml). Falls back to checking robots.txt for a Sitemap directive. Handles both <sitemapindex> and <urlset> formats. Validates URL count limits, lastmod freshness, duplicate entries, protocol consistency, and trailing slash patterns.

Input: { "url": "https://example.com" }

License

MIT

來源:README.md,提交 9e4140d

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.0.1最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分