Agent

DocsAgentSEO Analysis

30+ native SEO audit tools — crawl websites, analyze on-page elements, validate structured data, audit images and fonts, detect parasite risk, and generate sitemaps. No external API keys required.

SEO Analysis

The SEO Analysis extension is a comprehensive, offline-first SEO toolkit with 30+ tools covering every aspect of technical, on-page, and content SEO. No external API keys or services are required — everything runs locally.

Tool Categories

Crawling & Discovery

ToolWhat It Does
seo_crawlCrawl an entire site, discover all subpages, detect broken links
seo_crawl_reportGenerate detailed crawl analysis with link graph, orphans, duplicates
seo_sitemap_analyzeParse and analyze XML sitemaps
seo_sitemap_generateGenerate valid XML sitemaps from URL lists

On-Page Analysis

ToolWhat It Does
seo_fetchFetch page HTML with redirect-chain tracking
seo_renderRender SPA pages with Playwright (JavaScript-aware)
seo_parse_pageExtract all on-page elements: title, meta, headings, images, links, schema, OG tags
seo_content_optimizeCheck title/meta lengths, heading hierarchy, content length

Technical SEO

ToolWhat It Does
seo_technical_auditCrawlability, indexability, HTTPS, security headers, mobile, AI crawlers
seo_performanceEstimate Core Web Vitals: LCP, CLS, TBT, FCP, TTFB
seo_page_weightAnalyze page weight by resource type
seo_render_blockingDetect render-blocking CSS/JS with fixes
seo_font_auditAudit web fonts: font-display, WOFF2, Google Fonts vs self-hosted

Content Quality

ToolWhat It Does
seo_content_qualityQRG-aligned heuristics: filler, AI patterns, information density, repetition
seo_keywordsTF-IDF keyword extraction with n-grams and search intent
seo_keyword_densityCheck density of target keywords
seo_readabilityFlesch-Kincaid, SMOG, ARI, Coleman-Liau scores
seo_competitor_gapCompare your page against a competitor

Structured Data

ToolWhat It Does
seo_schema_auditDetect and validate Schema.org (JSON-LD, Microdata, RDFa)
seo_schema_generateGenerate JSON-LD for 12+ schema types

Images & Preloading

ToolWhat It Does
seo_image_auditAudit images: alt text, dimensions, lazy loading, modern formats
seo_preload_auditSpeculation Rules API, preload hints, bfcache, LCP fetchpriority

Advanced

ToolWhat It Does
seo_agent_ux_auditAI-agent friendliness: a11y tree, semantic HTML, interactive widgets
seo_parasite_riskScan URLs for parasite-SEO risk by subfolder
seo_drift_baselineCapture SEO baseline snapshot for drift monitoring
seo_drift_compareCompare current page against a baseline
seo_drift_historyList baseline snapshots for a URL
seo_auditFull audit: technical + content + schema + images + preload + agent UX
seo_audit_batchAudit multiple URLs and compare scores
seo_reportGenerate formatted reports in Markdown, JSON, or HTML

Full Audit in One Call

The seo_audit tool runs all sub-audits in one call, returning an overall score and prioritized issues:

seo_audit {
  url: "https://mysite.com",
  include: ["technical", "content", "schema", "images", "preload", "agentUx"]
}

You can also run individual sub-audits for focused analysis:

seo_audit {
  url: "https://mysite.com",
  include: ["technical"]
}

Crawl → Audit Workflow

The recommended workflow for a full site audit:

  1. Crawlseo_crawl { url, maxPages: 100 } discovers all pages
  2. Analyzeseo_crawl_report shows broken links, duplicates, orphans
  3. Auditseo_audit_batch runs audits on key discovered pages
  4. Reportseo_report generates a formatted summary

Drift Monitoring

The drift tools let you capture baselines and detect unwanted SEO changes:

// Capture a baseline
seo_drift_baseline { url: "https://mysite.com/pricing" }

// ... time passes, someone edits the page ...

// Detect what changed
seo_drift_compare { url: "https://mysite.com/pricing" }
// → Reports changes in title, meta, H1, schema, robots, canonical, etc.

Baselines are stored in a local SQLite database (~/.spectral/seo/drift.db).

Offline-First Design

Every tool runs entirely locally:

  • No API keys — no Google, Ahrefs, or SEMrush keys needed
  • No rate limits — analyze as many pages as you want
  • Privacy-safe — page content never leaves your machine
  • Batteries included — Playwright for rendering, SQLite for drift DB

When to Use

  • Pre-launch audit — catch SEO issues before going live
  • Competitor analysis — compare your pages against competitors
  • Content optimization — improve keyword density and readability
  • Schema validation — ensure structured data is correct
  • Migration monitoring — use drift tools to detect unintended SEO changes
  • Site health checks — crawl for broken links and duplicate content

Next Steps