Python SEO Analyzer crawls sites, audits structure and content, and optionally runs LLM-based optimization review from the CLI or API.
Overview
Python SEO and GEO Analyzer combines traditional technical SEO crawling with newer AI-search oriented signals. It walks site pages, inspects structure, counts body text, and flags technical SEO problems described in the project documentation.
Without a sitemap it starts from the homepage; you can seed URLs from a sitemap file instead. Results return as JSON by default, with an option to render HTML reports. The analyze() API exposes the same crawl data for scripting, including optional deep inner-link walks and extra heading-tag coverage.
Optional AI optimization uses Anthropic models by default, switchable via environment variables, or routes through OrcaRouter or UberLLM gateways when their API keys are set. Enable that pass with --run-llm-analysis once credentials are configured.
Install with pip, pipx on macOS Homebrew Python, or Docker images from Docker Hub or a local build. The python-seo-analyzer command is meant for smaller sites; the author notes a separate Rust-based analyzer for heavier crawls.
Key features
- Site crawl from homepage or sitemap
- Technical SEO issue detection
- JSON or HTML report output
- Python analyze() API
- Optional inner-link expansion
- LLM content evaluation pass
- Docker and pipx installation paths
- GEO-oriented content scoring
Use cases
- Auditing startup marketing sites
- Scripted SEO checks in CI
- HTML reports for stakeholders
- AI-search readiness reviews
- Small-site structure validation