technical-seo-mcp
v1.2.1MCP server for technical & on-page SEO audits — crawlability, HTTPS, Core Web Vitals, sitemap, robots.txt, structured data, and AI-crawler access.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
seo_full_audit Full technical SEO audit
Run the full technical SEO checklist on a URL: rendering (server-rendered vs JS shell), HTTPS/SSL + redirect, page essentials (title, meta description, h1, canonical, Open Graph, mobile viewport, image lazy-loading/WebP/dimensions), caching headers, structured data (JSON-LD), sitemap.xml, robots.txt, and AI-crawler access. Returns a Markdown report with ✅/⚠️/❌ per check (or structured JSON with output: 'json', or a shareable HTML file with output: 'html'). Set compare_to_baseline: true to diff against the previous run. Does not include Lighthouse (use run_lighthouse separately — it i…
| Parameter | Type | Description |
|---|---|---|
url * | string | Page URL to audit, e.g. https://example.com |
compare_to_baseline | boolean | Diff against (and update) the saved baseline for this target — reports new failures/warnings and items fixed since the last run |
output | string | Report format. markdown (default) returns the report inline; json returns per-check severity and {pass, warn, fail} counts; html writes a standalone, shareable HTML file to disk and returns its path p… |
output_path | string | html only — destination file or directory. Defaults to ./seo-report-<host>-<date>.html in the current directory |
crawl_audit Crawl and audit multiple pages
Crawl a site (seeded from sitemap.xml, sitemap-index aware; falls back to following internal links) and audit up to max_pages pages with a polite delay. Each page is fetched once and shared across checks. Aggregates: site-wide issues (same problem on >50% of pages — fix once in the template), broken internal links (404s), multi-hop redirect chains, duplicate titles/meta descriptions, orphan sitemap URLs, and remaining per-page issues.
| Parameter | Type | Description |
|---|---|---|
url * | string | Site URL to crawl, e.g. https://example.com |
compare_to_baseline | boolean | Diff against (and update) the saved baseline for this target — reports new failures/warnings and items fixed since the last run |
max_pages | integer | Maximum pages to audit (default 25, max 100) |
output | string | Report format. markdown (default) returns the report inline; json returns per-check severity and {pass, warn, fail} counts; html writes a standalone, shareable HTML file to disk and returns its path p… |
output_path | string | html only — destination file or directory. Defaults to ./seo-report-<host>-<date>.html in the current directory |
check_rendering Check server-rendered HTML
Fetch a page without executing JavaScript and detect whether it serves real server-rendered HTML or an empty client-side JS shell (hard for Google/AI to interpret).
| Parameter | Type | Description |
|---|---|---|
url * | string | Page URL to check, e.g. https://example.com |
check_https Check HTTPS / SSL
Verify the site serves https:// with a valid certificate and that http:// permanently (301) redirects to https://.
| Parameter | Type | Description |
|---|---|---|
url * | string | Page URL to check, e.g. https://example.com |
check_page_essentials Check on-page essentials
Check a page's title, meta description, single h1, canonical tag, Open Graph tags, responsive viewport meta (mobile-first), image lazy-loading, WebP/AVIF usage, and explicit image width/height (CLS risk).
| Parameter | Type | Description |
|---|---|---|
url * | string | Page URL to check, e.g. https://example.com |
check_caching Check caching & delivery headers
Inspect Cache-Control, content-encoding (gzip/brotli), ETag/Last-Modified headers and HTML document size for easy speed wins.
| Parameter | Type | Description |
|---|---|---|
url * | string | Page URL to check, e.g. https://example.com |
check_sitemap Check sitemap.xml
Find the site's sitemap the way search engines do (robots.txt Sitemap: lines, then /sitemap.xml, then sitemap-index.xml / sitemap_index.xml / wp-sitemap.xml), count entries, flag admin/cart/checkout/internal-search URLs, sample up to 10 <loc> URLs (from the first child sitemap for an index) to verify they return 200 without redirects, and check lastmod presence/freshness.
| Parameter | Type | Description |
|---|---|---|
url * | string | Any URL on the site — its sitemap is discovered from the origin's robots.txt |
check_robots Check robots.txt
Fetch /robots.txt, verify it exists and is valid (not an HTML page or redirect), references the sitemap, and does not block the entire site.
| Parameter | Type | Description |
|---|---|---|
url * | string | Any URL on the site — the origin's /robots.txt is checked |
check_hreflang Check hreflang / international SEO
Audit a page's hreflang annotations for multi-language or multi-country targeting (e.g. US + Canada): validates BCP-47 values (catching en_US, en-UK and other common mistakes), requires a self-referencing annotation, checks for x-default, flags duplicate/conflicting values and relative hrefs, and verifies <html lang> agrees. With verify_return_links: true it fetches each alternate and confirms it links back — missing return links are the most common reason Google ignores an otherwise-correct hreflang cluster. A single-language site correctly reports that hreflang is not needed.
| Parameter | Type | Description |
|---|---|---|
url * | string | Page URL to audit, e.g. https://example.com/ |
max_alternates | integer | Maximum alternates to fetch when verify_return_links is true (default 10) |
verify_return_links | boolean | Fetch each alternate URL and confirm it points back to this page (reciprocity). Adds one request per alternate — off by default |
check_structured_data Check structured data (JSON-LD)
Extract and validate schema.org JSON-LD on a page (tolerates arrays and @graph). Checks Organization (incl. sameAs links), SoftwareApplication (name/description/applicationCategory/offers), FAQPage (Question/acceptedAnswer structure), and BreadcrumbList. Flags malformed JSON-LD blocks and provides a ready-to-paste Organization example when none exists.
| Parameter | Type | Description |
|---|---|---|
url * | string | Page URL to analyze |
check_ai_crawlers Check AI crawler access & indexability
Report the effective robots.txt allow/block status for GPTBot, ClaudeBot, Google-Extended, PerplexityBot, CCBot, and the * default (flagging blanket Disallow: / without per-bot overrides). Checks for /llms.txt, and flags noindex/nofollow in both the X-Robots-Tag response header and <meta name="robots"> — critical failures invisible to a plain robots.txt check.
| Parameter | Type | Description |
|---|---|---|
url * | string | Page URL to check (robots.txt/llms.txt are checked at its origin) |
check_url_structure Check clean-URL rules
Analyze one or more URLs against clean-URL best practices: ≤ ~60 chars, lowercase, hyphens not underscores, no accents/special chars, no messy query params, shallow hierarchy. Offline — no requests are made.
| Parameter | Type | Description |
|---|---|---|
urls * | array | URLs to analyze |
check_keyword_placement Check on-page keyword placement
Analyze where target keywords appear on a page: <title> (and whether it's front-loaded), URL path, meta description, H1, H2 subheadings, first ~100 words, image alt text, and keyword density (flags both thin usage and stuffing). Matching is plural/stem-tolerant ('freight broker' matches 'freight brokers'). Pass keywords as an array (one report section per keyword); a single keyword string is also accepted. Returns ✅/⚠️/❌ per placement.
| Parameter | Type | Description |
|---|---|---|
url * | string | Page URL to analyze |
keyword | string | Single keyword (backward-compatible alternative to keywords) |
keywords | array | Target keywords/phrases — one report section each |
run_lighthouse Run Lighthouse (Core Web Vitals)
Run Google Lighthouse (performance + SEO categories) on a URL via npx. Reports scores and Core Web Vitals — LCP (≤ 2.5s), CLS (≤ 0.1), and INP (≤ 200ms; falls back to TBT when the lab run can't measure interactions) — plus top speed opportunities. Slow (~1-2 min); requires Chrome installed.
| Parameter | Type | Description |
|---|---|---|
url * | string | Page URL to measure |
form_factor | string | mobile (default, matches Google's mobile-first indexing) or desktop |