
Seo
io.github.rog0x由 GitHub 账号 rog0x 发布v1.0.1更新于 Oct 24, 2026
SEO analysis - meta tags, keywords, links, page speed
概览
本地 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 密钥或环境变量。工具会直接抓取目标页面与链接,因此需要网络访问。
安装
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
Requirements
- Node.js 18+
- No API keys needed — all tools use direct HTTP requests and HTML parsing
Installation
Usage with Claude Code
Add to your Claude Code MCP configuration:
Usage with Claude Desktop
Add to your claude_desktop_config.json:
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.
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.
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.
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.
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.
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.
License
MIT
来源:README.md,提交 9e4140d
工具
0版本历史
1- v1.0.1最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分