The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Aiseo Audit listing page.
A deterministic, Lighthouse-style audit for AI search readiness. Test how easily generative engines can fetch, extract, understand, and reuse a web page.
AI SEO measures content readiness, not traditional search rank. The score is a research-informed heuristic audit, not a citation probability or a promise that an engine will cite the page.
Website & guides · Quick start · CI/CD · AI assistants · Library API · Scoring methodology
Requires Node.js 20.19 or later.
No install or API key is required. Analysis runs locally with no AI API calls or telemetry. Network access is limited to the page, the sitemap, and domain-signal files such as robots.txt and llms.txt.
Typical output begins with the overall score, pipeline stages, and highest-impact fixes:
For a project-local CLI installation:
Install it as a regular dependency when using the programmatic API, or globally with npm install -g aiseo-audit.
Query-aware audits measure three things: query terms in structural fields such as the title and headings, query terms in the body text, and a section of the page addressing each aspect of the query. Supply about five queries for a stable measurement; the maximum is ten.
Use --domain product for product-specific price, specification, and comparison checks. --engine gemini|gpt|perplexity applies experimental presets that reweight existing categories toward each engine; they add no new checks.
The format is inferred from the output extension:
Use --tldr for only the score and top three fixes.
--diff records JSON results in ./audits by default and updates the discovered config file. See the CLI guide before enabling it in a repository.
The report includes the average score, site-wide category averages, a host-level provenance profile, and per-URL results. Sitemap indexes are supported. URLs run sequentially, so scope large sitemaps intentionally.
More recipes and every flag are documented in the CLI guide. For tutorials and practical implementation guidance, visit aiseo-audit.com.
Every report rolls results up into four pipeline stages:
| Stage | Meaning |
|---|---|
| Technical Eligibility | Can the page be fetched, yield usable text, and remain accessible to at least one known AI crawler? |
| Retrieval Alignment | Do structural fields, entities, topic coverage, and structured data support retrieval? |
| Citation Fitness | Does the in-context content provide direct, grounded, appropriately fresh material that can be reused? |
| Provenance | Does the page communicate authorship, organization identity, and attribution clearly? |
Technical Eligibility is a gate. A fetch failure, unusable text, or blocking every known crawler caps the overall score at 25 and suppresses downstream percentages. Citation Fitness also has evidence-based negative gates for visibly stale time-sensitive content, target-query mismatch, and missing product prices.
Factors are organized into ten categories, with Query Alignment appearing only when target queries are supplied and Product Fit appearing only for product pages. The complete factor, weight, threshold, and stage mapping lives in the Audit Breakdown.
Unscored diagnostics never affect the score. They keep observations visible when the research cannot yet justify scoring them.
Letter grades use familiar academic score bands. They are not population percentiles, calibrated estimates of citation likelihood, or evidence that one site is “above average.” Use the score to compare the same page or page set under a stable tool version and configuration, then prioritize the highest-weight findings and re-measure.
If you use --fail-under, establish the threshold from your own v2 baselines rather than treating any universal score as a guaranteed passing grade.
The official GitHub Action can gate a workflow and maintain a sticky PR comment:
Calibrate fail-under against your own pages before making the check blocking. A one-line CI invocation also works:
The included MCP server exposes an audit_url tool to Cursor, Claude Desktop, Windsurf, and other MCP clients:
The tool accepts optional queries and domain arguments. No separate server installation is required.
The CLI searches upward from the current directory for aiseo.config.json, .aiseo.config.json, or aiseo-audit.config.json.
Missing weight keys default to 1; set a category to 0 to exclude it. See CLI configuration for all fields, defaults, and examples.
The package supports ESM and CommonJS and exports the analyzer, sitemap, report, diff, configuration, and scoring types. See the API guide.
alt text can be inspected, but pixels are not.The scoring model is informed by peer-reviewed research on generative engine optimization (GEO) and generative information retrieval, including fixed-context experiments, retrieval studies, and observations of deployed engines. Evidence strength and experimental scope matter: weights and thresholds remain expert-set heuristics rather than fitted probabilities.
Version 2.0 rescored the factor set, so the same page will usually receive a different score. Re-baseline key pages and recalibrate CI thresholds before changing a GitHub Action from @v1 to @v2. Existing 1.x config and baseline data remain readable, but the JSON emitted by --tldr changed shape.
See the complete 2.0 migration guide.
See CONTRIBUTING.md for development setup, project structure, and pull request guidelines. Security issues should follow SECURITY.md.