MCP server for SEO auditing — 105+ criteria Technical + UI analysis for Claude Desktop
Project description
SEO Audit MCP Plugin
Phân tích website theo 105+ tiêu chí Technical SEO + UI thông qua 4 agent tuần tự.
Chạy trên Claude Desktop App — hỗ trợ lệnh /onpage trong Cowork.
Xuất báo cáo dạng Markdown · Excel · Word theo lựa chọn.
Cài Đặt
Bước 1 — Chạy 1 lệnh terminal
bash <(curl -sSL https://raw.githubusercontent.com/minhdo01011990-glitch/seo-audit-plugin/main/install.sh)
Script tự động:
- Phát hiện Python 3.11+ và cài
seo-audit-mcptừ PyPI - Cấu hình MCP server vào
claude_desktop_config.json(Claude Desktop) - Cấu hình MCP server vào
~/.claude/settings.json(Claude Code CLI) - Cài plugin files vào
~/.local/share/seo-audit-mcp/plugin/ - Thêm shell function vào
~/.zshrc/~/.bashrcđể tự load--plugin-dir - Restart Claude Desktop (macOS)
Bước 2 — Upload plugin vào Cowork (1 lần duy nhất)
- Tải file
seo-audit.plugintừ trang Releases - Mở Claude Desktop → Cowork → Settings → Plugins → Upload → chọn file vừa tải
Sau bước này, gõ /onpage trong Cowork là dùng được.
Yêu Cầu
- Python 3.11+ (tải tại đây)
- Claude Desktop App (Mac hoặc Windows)
- Google PageSpeed Insights API key — tùy chọn, miễn phí (lấy tại đây)
Sử Dụng
Trong Claude Desktop → Cowork, gõ:
/onpage
Claude hiển thị bảng nhập thông tin một lần:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
THÔNG TIN CƠ BẢN
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Domain :
Thương hiệu & ngành :
Mục đích audit : [ ] Audit toàn diện [ ] Kiểm tra nhanh ...
Ngôn ngữ báo cáo : [ ] Tiếng Việt [ ] English
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
DỮ LIỆU BỔ SUNG (bỏ qua nếu không có)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Screaming Frog CSV :
GSC Coverage CSV :
PageSpeed API Key :
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
TÙY CHỌN
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Nhóm tiêu chí ưu tiên : [ ] Tất cả (hoặc chọn nhóm: I II III ...)
Kèm đề xuất xử lý : [ ] Có [ ] Không
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
OUTPUT
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Thư mục lưu báo cáo : (để trống = ~/Documents/SEO Audit Reports)
Định dạng output : [ ] Markdown (.md) [ ] Excel (.xlsx) [ ] Word (.docx)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Điền xong → gửi một lần → Claude tự động crawl ~15 trang, kiểm tra 105+ tiêu chí, xuất báo cáo.
Cập Nhật Lên Phiên Bản Mới
Bước 1 — Cập nhật MCP server
bash <(curl -sSL https://raw.githubusercontent.com/minhdo01011990-glitch/seo-audit-plugin/main/install.sh)
Bước 2 — Cập nhật plugin Cowork
(Chỉ cần khi SKILL.md thay đổi — xem Release Notes để biết)
- Tải
seo-audit.pluginmới từ Releases - Cowork → Settings → Plugins → xóa plugin cũ → Upload file mới
Dữ Liệu Bổ Sung (tùy chọn)
Cung cấp export file khi chạy /onpage để tăng độ chính xác:
| File | Cách lấy | Tác dụng |
|---|---|---|
| Screaming Frog CSV | Export → All Crawl Data | Phát hiện duplicate title, broken links, missing meta toàn site |
| GSC Performance CSV | Search Console → Performance → Export | Top queries, CTR, vị trí từ khóa |
| GSC Coverage CSV | Search Console → Coverage → Export | Trang bị excluded, lỗi index |
| Ahrefs CSV | Site Audit → Issues → Export | Broken backlinks, redirect chains |
MCP Tools
| Tool | Mô tả |
|---|---|
seo_collect_input |
Lưu config audit session (domain, format, output dir...) |
seo_crawl_page |
Crawl 1 URL, trả về 50+ SEO fields |
seo_check_robots |
Phân tích robots.txt + llms.txt |
seo_check_sitemap |
Validate sitemap.xml, đếm URLs |
seo_check_pagespeed |
Google PageSpeed Insights API v5 |
seo_parse_screaming_frog |
Parse CSV export từ Screaming Frog |
seo_parse_gsc_data |
Parse GSC Coverage/Performance CSV |
seo_get_checklist |
Trả về toàn bộ 105+ checklist |
seo_check_url_batch |
Check status code hàng loạt URL |
seo_save_report |
Render và lưu báo cáo (md / xlsx / docx) |
Hệ Thống Điểm
| Priority | Điểm | Status | Hệ số |
|---|---|---|---|
| mandatory | 3 | passed | 100% |
| high | 2 | warning | 50% |
| nicetohave | 1 | failed | 0% |
| — | — | manual | bỏ qua |
Grade: A (≥90%) · B (≥75%) · C (≥60%) · D (≥40%) · F (<40%)
Kiến Trúc
mcp_server/
├── server.py # MCP server entry point (stdio)
├── templates/ # Jinja2 report template (.md)
├── tools/
│ ├── crawler.py # Async crawl, 50+ SEO fields/trang
│ ├── technical_checks.py # robots.txt, sitemap, redirect chain
│ ├── pagespeed.py # Google PageSpeed Insights API v5
│ └── file_parsers.py # Screaming Frog / GSC / Ahrefs CSV
├── checklist/
│ ├── technical.py # 73 tiêu chí Technical (14 nhóm)
│ └── ui.py # 113 tiêu chí UI (10 loại trang)
├── analyzer/
│ └── scorer.py # Scoring engine + grade
└── plugin_data/
├── skills/onpage/SKILL.md # Định nghĩa slash command /onpage
├── claude_plugin/ # Plugin manifest
└── mcp.json
Debug MCP Server
source mcp_server/.venv/bin/activate
python mcp_server/server.py
# Gõ JSON-RPC request thủ công để test từng tool
License
MIT
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file seo_audit_mcp-1.2.2.tar.gz.
File metadata
- Download URL: seo_audit_mcp-1.2.2.tar.gz
- Upload date:
- Size: 48.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dcf5e6823833914350458678cc5e7b4b1a4c822127b4e62fac32c448d2be6877
|
|
| MD5 |
a26cf77bf59700ad5651235d5b55299f
|
|
| BLAKE2b-256 |
649516ccc031f957b44cc05f0944e5fed31b0b080f103d7b6737ccec52f19c9d
|
File details
Details for the file seo_audit_mcp-1.2.2-py3-none-any.whl.
File metadata
- Download URL: seo_audit_mcp-1.2.2-py3-none-any.whl
- Upload date:
- Size: 50.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2602c4ea021fd3e5956f1aa2a813416aa3f7e868e611c785359e7adc6f5be980
|
|
| MD5 |
17d5965f8aee0b7eff67f2cf0830bd86
|
|
| BLAKE2b-256 |
5764c8376e7cf9d0331fc79db4c5947b39cba2e849ffa9d7b41a45bd5cffbe03
|