Skip to main content
Glama
vdalhambra

SiteAudit MCP

by vdalhambra

SiteAudit MCP

为 AI 智能体提供即时的 SEO、性能和安全审计 —— 通过模型上下文协议,只需一次工具调用即可分析任何 URL。

功能概述

SiteAudit 使您的 AI 智能体能够即时审计任何网站。无需 API 密钥,无需配置,零成本。只需提问:

  • “审计 example.com”

  • “检查我竞争对手网站的 SEO”

  • “我的网站安全吗?检查一下安全标头”

  • “对比我的网站和 3 个竞争对手的网站”

  • “显示该域名的 robots.txt”

工具 (6)

工具

描述

full_audit

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

seo_audit

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

security_audit

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

performance_audit

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

compare_sites

多个网站的并排对比

check_robots_txt

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

安装

Claude Code / Claude Desktop

{
  "mcpServers": {
    "siteaudit": {
      "command": "uvx",
      "args": ["--from", "siteaudit-mcp", "siteaudit"]
    }
  }
}

从源码安装

git clone https://github.com/vdalhambra/siteaudit-mcp.git
cd siteaudit-mcp
uv sync
uv run siteaudit

检查项

SEO (20+ 项检查)

  • Title 标签(是否存在、长度)

  • Meta description(是否存在、长度)

  • H1 标签(数量、内容)

  • 标题层级 (H1-H6)

  • 图片 alt 文本覆盖率

  • 内部/外部链接数量

  • Canonical URL

  • Open Graph 标签

  • Twitter Card 标签

  • 移动端视口 (Viewport)

  • 结构化数据 (JSON-LD)

  • Favicon

  • 语言属性

  • robots 元指令

  • 内容长度(字数)

安全 (10+ 项检查)

  • HTTPS 强制执行

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

  • Content-Security-Policy

  • X-Content-Type-Options

  • X-Frame-Options

  • Referrer-Policy

  • Permissions-Policy

  • Server/X-Powered-By 信息泄露

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

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

性能

  • 服务器响应时间 (ms)

  • 页面大小 (KB)

  • 压缩 (gzip/brotli)

  • Cache-Control 标头

  • 重定向链分析

  • HTTP 状态码

输出示例

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 进行证书检查

许可证

MIT

-
security - not tested
F
license - not found
-
quality - not tested

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/vdalhambra/siteaudit-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server