它能帮你做什么
大部分快捷 SEO 检查器只看几个页面标签就完事。这个工具会真正爬一遍站点,从三个维度把问题挖出来,并给每个问题一条能直接照做的修复建议:
- 页面层 —— title / meta description 的有无与长度、H1 与标题层级、canonical、viewport、
html lang、图片 alt、薄内容、Open Graph、HTTPS 页面里的混合内容、noindex 等。
- 站点技术层 —— HTTPS、robots.txt、sitemap.xml 的存在与合法性、内部死链(4xx/5xx)、跨页重复标题 / 重复描述、几乎没有内链的孤儿页。
- 结构化数据层(这是它最特别的地方) —— 校验 JSON-LD 语法、
@type、以及 Article / Product / Organization / FAQPage / Recipe 等 12 类 Schema 的必填字段,还有日期格式(ISO-8601)。
为什么单拎出结构化数据:JSON-LD 是让 Google 和 ChatGPT / Gemini 这类 AI 准确理解、并引用你页面的最直接信号。大多数 SEO 工具跳过这一层,而它正是 AI 时代能不能被"搜到并引用"的关键。
评分从 100 起扣:🔴 严重 −15、🟡 警告 −3、🟢 提示 −1,最后给一个 A–F 等级(A≥90 / B≥80 / C≥70 / D≥55 / F)。CI 里跑时,只要有严重问题就返回非 0 退出码,可以直接卡发布。
输出长什么样
默认输出一份 Markdown 报告,按严重程度分组,每条都带修复建议。下面是对 example.com 的真实运行结果:
# 🔍 SEO Audit — https://example.com
Score: 89/100 (B) · 🔴 0 critical · 🟡 2 warnings · 🟢 5 notices
Crawled 1 pages · 2026-07-21
## 🟡 Warnings (2)
### No sitemap.xml
- Fix: Generate an XML sitemap and submit it in Google Search Console.
### Missing meta description
- Fix: Add a compelling 120–160 character meta description.
## 🟢 Notices (5)
### Missing canonical tag
- Fix: Add <link rel="canonical" href="..."> pointing to the preferred URL.
### Missing Open Graph tags
- Fix: Add og:title, og:description and og:image for social sharing.
### Thin content
- Fix: Add substantive, useful content; avoid padding just to hit a number.
...
常见问题
需要 API Key 或注册吗?
都不需要。它只用 Python 标准库,零运行时依赖、零配置、无需 API Key,也不上传任何数据——纯本地爬取和分析。
能用在 CI / 自动化里吗?
可以。--json 出结构化结果,发现严重问题时进程返回非 0 退出码,放进发布流水线就能自动卡关。
它不查什么?
目前不含页面性能 / Core Web Vitals、hreflang 多语言、HTML 报告导出——这几项在路线图上、尚未实现。它专注把 on-page、技术和结构化数据这三块查透。