Skip to main content
Glama
SiteAudit MCP

SiteAudit MCP

by vdalhambra

PyPI version License: MIT Python 3.11+ Glama MCP Server

SiteAudit MCP

为 AI 智能体提供即时的 SEO、性能和安全性审计 —— 通过模型上下文协议 (MCP) 使用单个工具调用即可分析任何 URL。

SiteAudit 是一个 MCP 服务器,它使 Claude Code、Cursor、Windsurf 以及任何 AI 智能体能够即时审计任何网站。无需 API 密钥,无需配置,零成本。这是 AI 驱动开发的全方位网站审计工具包。

立即尝试 — 无需安装: 在 MCPize Playground 中打开 SiteAudit — 在浏览器中运行,免费层级(每月 100 次审计)

使用场景

以下是安装 SiteAudit 后,您可以要求 AI 智能体执行的具体示例:

  • “审计 example.com 并给我一份优先级的 SEO 修复列表” — 包含标题标签、元描述、标题、结构化数据、Open Graph 和可操作建议的完整 SEO 审计

  • “检查我生产环境网站的安全标头” — HTTPS、HSTS、CSP、X-Frame-Options、Cookie 标志、SSL 证书有效性和服务器披露

  • “并排比较我的网站与 3 个竞争对手” — 对所有网站的 SEO、性能和安全性进行多站点对比评分

  • “对我的主页运行 Lighthouse 审计” — Google PageSpeed Insights 性能、可访问性、最佳实践和 SEO 评分

  • “查找我网站上的所有死链” — 抓取内部和外部链接,报告 404、重定向和无法访问的 URL

  • “检查我的 robots.txt 是否阻止了任何重要内容” — 解析 robots.txt 规则,查找站点地图引用,并识别潜在的抓取问题

Related MCP server: Seonix SEO MCP

为什么选择 SiteAudit?

功能

SiteAudit MCP

Ahrefs

Screaming Frog

Google Lighthouse

兼容 Claude Code / Cursor

是

否

否

仅 CLI

无需 API 密钥

是

否 ($99/月)

免费 (有限制)

是

SEO + 安全 + 性能

全部三项

仅 SEO

仅 SEO

仅性能

AI 原生 (MCP 协议)

是

REST API

桌面应用

CLI / API

死链检查器

是

是

是

否

Lighthouse 集成

是

否

否

它就是 Lighthouse

多站点对比

是

手动

手动

手动

免费

是

$99+/月

免费 (500 个 URL)

是

工具 (8)

工具

描述

full_audit

包含统一评分 (0-100) 的综合 SEO + 性能 + 安全审计

seo_audit

SEO 分析:标题、元数据、标题标签、图像、链接、结构化数据、Open Graph

security_audit

安全标头、HTTPS、HSTS、CSP、SSL 证书检查、Cookie 标志

performance_audit

响应时间、页面大小、压缩、缓存、重定向

compare_sites

多个网站的并排对比

lighthouse_audit

Google PageSpeed Insights:性能、可访问性、最佳实践、SEO

check_links

抓取并验证页面上的所有链接 — 查找死链、重定向、超时

check_robots_txt

解析并分析 robots.txt 规则、指令和站点地图

安装

⭐ 推荐:MCPize(托管,无需设置)

最快的入门方式。无需终端,无需配置文件,无需 Python 设置 — 适用于任何 MCP 客户端:

👉 在 MCPize 上安装 SiteAudit — 提供免费层级(每月 100 次审计)

或者直接添加到您的 MCP 配置中:

{
  "mcpServers": {
    "siteaudit": {
      "url": "https://siteaudit-mcp.mcpize.run/mcp"
    }
  }
}

为什么选择 MCPize?

  • ✅ 零设置 — 在 Claude Desktop、Cursor、Windsurf、Claude Code 中立即生效

  • ✅ 始终保持最新 — 持续添加新的 SEO 检查和功能

  • ✅ 随您扩展 — 升级至 Pro ($19/月) 可获得 10,000 次审计 + 完整 Lighthouse + 优先支持

  • ✅ PageSpeed API 无速率限制 — 我们为您处理 Google 配额

  • ✅ 可靠的正常运行时间 — 托管云基础设施

请参阅下方的 定价,了解包括代理和企业版在内的所有层级。


💻 高级:自托管(开发者)

对于喜欢在本地运行服务器的用户:

claude mcp add siteaudit -- uvx --from siteaudit-mcp siteaudit
{
  "mcpServers": {
    "siteaudit": {
      "command": "uvx",
      "args": ["--from", "siteaudit-mcp", "siteaudit"]
    }
  }
}
pip install siteaudit-mcp
siteaudit
git clone https://github.com/vdalhambra/siteaudit-mcp.git
cd siteaudit-mcp
uv sync
uv run siteaudit
npx -y @smithery/cli install @vdalhambra/siteaudit --client claude

注意: 自托管意味着拥有完整的功能访问权限,但您需要自行管理更新、正常运行时间和 Google PageSpeed 配额。对于大多数用户,MCPize 是更好的选择。


定价

层级

价格

每月审计次数

包含内容

免费

$0

100

基础审计(无 Lighthouse)

个人 (Hobby)

$7/月

2,500

完整审计(无站点对比)

专业 (Pro) ⭐

$19/月

10,000

全部 8 个工具 + 完整 Lighthouse + 优先支持

代理 (Agency)

$49/月

50,000

Pro + 10 个已保存站点 + 定时审计

代理增强 (Agency Plus)

$119/月

200,000

代理版 + 白标 PDF 报告 + 25 个席位

企业 (Enterprise)

$349/月

无限

代理增强版 + 本地部署 + 自定义集成 + SLA

年度计划: 享受买 10 个月送 2 个月的优惠。

捆绑包: 与 FinanceKit MCP 组合购买仅需 $39/月(Pro 组合包 — 节省 19%)。

👉 在 MCPize 上查看所有定价

检查内容

SEO 审计 (20+ 项检查)

  • 标题标签(存在性、长度优化)

  • 元描述(存在性、长度)

  • H1 标签(数量、内容)

  • 标题层级 (H1-H6)

  • 图像 Alt 文本覆盖率

  • 内部/外部链接计数

  • 规范 URL (Canonical URL)

  • Open Graph 标签

  • Twitter Card 标签

  • 移动端视口

  • 结构化数据 (JSON-LD)

  • 网站图标 (Favicon)

  • 语言属性

  • robots 元指令

  • 内容长度(字数)

安全审计 (10+ 项检查)

  • HTTPS 强制执行

  • HSTS 标头(包含子域和预加载)

  • 内容安全策略 (CSP)

  • X-Content-Type-Options

  • X-Frame-Options

  • Referrer-Policy

  • Permissions-Policy

  • 服务器/X-Powered-By 披露

  • Cookie 安全标志 (Secure, HttpOnly, SameSite)

  • SSL 证书有效性和过期时间

性能审计

  • 服务器响应时间 (ms)

  • 页面大小 (KB)

  • 压缩 (gzip/brotli)

  • Cache-Control 标头

  • 重定向链分析

  • HTTP 状态码

Lighthouse 审计 (通过 Google PageSpeed Insights)

  • 性能评分

  • 可访问性评分

  • 最佳实践评分

  • SEO 评分

  • 核心网页指标 (FCP, LCP, TBT, CLS)

输出示例

URL: https://github.com
Overall Score: 90/100 (Grade: A)

Scores:
  SEO: 85/100
  Performance: 95/100
  Security: 90/100

Issues: 0
Warnings: 3
  [SEO] No JSON-LD structured data
  [Security] Missing Content-Security-Policy header
  [Security] Server header discloses: 'GitHub.com'

无需 API 密钥

SiteAudit 完全通过分析目标 URL 的 HTML 和 HTTP 标头来工作。无需第三方 API 密钥。它使用:

  • requests 用于 HTTP 获取

  • BeautifulSoup 用于 HTML 解析

  • Python ssl 用于证书检查

  • Google PageSpeed Insights API(免费,基础使用无需密钥)

兼容的 AI 智能体

SiteAudit 适用于任何支持模型上下文协议的 AI 智能体或 IDE:

  • Claude Code (CLI) — claude mcp add

  • Claude Desktop — claude_desktop_config.json

  • Cursor — .cursor/mcp.json

  • Windsurf — MCP 设置

  • Copilot — MCP 配置

  • 任何 MCP 客户端 — stdio 或 HTTP 传输

支持本项目

如果 SiteAudit 对您有帮助,请考虑支持持续开发:

许可证

MIT

Available Tools

11 tools
accessibility_auditA
Read-only

Run WCAG accessibility checks on a URL.

Returns a score (0-100) and detailed findings on:

  • Missing alt text on images

  • Form inputs without labels

  • Heading hierarchy issues

  • Color contrast hints (limited without rendering)

  • ARIA attribute usage

  • Language declaration

  • Skip links

  • Focus indicators (heuristic)

Inputs: url (required). Returns: object

check_robots_txtA
Read-only

Check and analyze a site's robots.txt file.

Shows which paths are allowed/disallowed, sitemaps referenced, and crawl-delay settings.

Inputs: url (required). Returns: object

compare_sitesA
Read-only

Compare SEO and performance scores of multiple websites side by side.

Useful for competitive analysis — see how your site stacks up against competitors across SEO, performance, and security.

Inputs: urls (required). Returns: object

competitor_gap_analysisA
Read-only

Analyze SEO/security/performance gaps vs competitors.

Returns areas where competitors outperform your site, with specific recommendations for improvement.

Inputs: your_url (required), competitor_urls (required). Returns: object

full_auditA
Read-only

Run a comprehensive audit on a URL — SEO, performance, and security in one call.

Returns a unified score (0-100) plus detailed results for each category. This is the most complete analysis available.

Inputs: url (required). Returns: object

lighthouse_auditA
Read-only

Run Google Lighthouse via PageSpeed Insights API — get performance, accessibility, SEO, and best-practices scores plus Core Web Vitals (LCP, INP, CLS).

Returns Lighthouse scores (0-100), Core Web Vitals with ratings, and the top 5 performance optimization opportunities ranked by potential time savings. This uses Google's real Lighthouse engine — the same tool Chrome DevTools uses. Takes 15-30 seconds to complete.

Inputs: url (required), strategy. Returns: object

performance_auditA
Read-only

Check page performance — response time, page size, compression, caching.

Returns server response time, page size, compression status, redirect chain analysis, and caching header review.

Inputs: url (required). Returns: object

schema_validatorA
Read-only

Extract and validate Schema.org structured data (JSON-LD, microdata).

Returns all structured data found on the page with validation hints and a breakdown by schema type. Critical for rich snippets in SERPs.

Inputs: url (required). Returns: object

security_auditA
Read-only

Run a security audit on a URL.

Checks HTTPS, HSTS, CSP, X-Frame-Options, cookie flags, SSL certificate validity and expiration, server disclosure, and other security headers. Returns score + fixes needed.

Inputs: url (required). Returns: object

seo_auditA
Read-only

Run an SEO-focused audit on a URL.

Checks title tags, meta descriptions, headings, images alt text, internal/external links, canonical URLs, Open Graph, structured data, mobile viewport, and content length. Returns score + actionable recommendations.

Inputs: url (required). Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 11 tools

    Disambiguation3/5

    Most tools target distinct audit areas, but 'full_audit' overlaps with individual audits like 'seo_audit', 'performance_audit', and 'security_audit'. Also, 'compare_sites' and 'competitor_gap_analysis' serve similar competitive analysis purposes, causing potential confusion.

    Naming Consistency4/5

    All tool names use snake_case and are descriptive. However, some follow a 'verb_noun' pattern (check_links, check_robots_txt) while others use 'noun_verb' (accessibility_audit, security_audit), which is a minor inconsistency.

    Tool Count5/5

    With 11 tools, the server covers a comprehensive set of site auditing capabilities without being bloated. Each tool addresses a specific need, and the count is appropriate for the domain.

    Completeness4/5

    The server covers major audit areas like accessibility, performance, SEO, security, links, and structure. Minor gaps exist, such as no dedicated mobile-friendliness check or sitemap validation, but Lighthouse and other tools partially fill these gaps.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Provides AI agents with real-time financial market intelligence including stock quotes, crypto data, technical analysis, and portfolio insights. Enables natural language queries for current prices, technical indicators, asset comparisons, and portfolio analysis.
      17
      10
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Lets any AI agent audit any website for SEO, GEO/AEO, and speed problems, reporting issues and recommendations without modifying the site.
      4
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI agents to perform instant SEO audits, check robots.txt, sitemaps, and AI crawler access for any URL without API keys.
      MIT