Documentation Index
Fetch the complete documentation index at: https://mintlify.com/AgricIDaniel/claude-seo/llms.txt
Use this file to discover all available pages before exploring further.
/seo schema is a three-phase command: it detects all existing structured data on a page (JSON-LD, Microdata, and RDFa), validates each block against Google’s supported rich result types and required property lists, and then generates ready-to-use JSON-LD for any missing opportunities. Every audit distinguishes active types (recommend freely), types with no rich results but AI value (keep with a note), and deprecated types (flag for removal). Claude SEO always recommends JSON-LD as the primary format — it is Google’s stated preference and the cleanest to validate and maintain.
Syntax
What It Does
Detect
Scans the page source for all three structured data formats:
- JSON-LD blocks inside
<script type="application/ld+json"> - Microdata attributes (
itemscope,itemprop,itemtype) - RDFa attributes (
typeof,property,resource)
--mode always is preferred — many frameworks (React Helmet, Next/Head, vue-meta) inject JSON-LD client-side, leaving raw HTML empty of structured data. Comparing raw_content vs content confirms whether schema is server-rendered.Validate
Each detected block is checked against Google’s requirements:
@contextishttps://schema.org(nothttp)@typeis a valid, non-deprecated type- All required properties are present for the type
- Property values match expected types (text, URL, date, number)
- No placeholder text (e.g.,
"[Business Name]") - All URLs are absolute (not relative)
- Dates are in ISO 8601 format
Identify gaps
Based on page content analysis, the audit identifies schema types that are missing but applicable — an Article page without
Article schema, a product page without AggregateRating, a local business without LocalBusiness.Active Schema Types
All types below are currently supported by Google for rich results or AI entity resolution. Use them freely.- Organization & Identity
- Content & Publishing
- Products & Commerce
- Structured Lists & Events
Organization— company identity, sameAs links, logo, contactLocalBusiness— physical or service-area business with geo coordinates and opening hoursPerson— individual with credentials, affiliations, sameAsProfilePage— profile pages for authors or public figures (new in v2)ContactPage— dedicated contact pagesWebSite— sitelinks search box, site-wide identityWebPage— general page metadata
Deprecated Types
E-Commerce Schema (v2)
Version 2 added a dedicated e-commerce schema validator that checks beyond baseProduct and Offer validity:
| Property | What It Validates |
|---|---|
hasMerchantReturnPolicy | Returns policy schema with returnPolicyCategory, merchantReturnDays, returnMethod |
shippingDetails | OfferShippingDetails with shippingRate, deliveryTime, shippingDestination |
MemberProgram | Loyalty programme linkage for eligible products |
energyEfficiencyClass | EU energy label compliance for applicable product categories |
ProductGroup variants | Variant-level variesBy assertions (size, color, material) with per-variant Offer |
python3 scripts/schema_ecommerce_validate.py <url> directly to validate e-commerce schema in isolation.
Sample Output
Below is a verbatim excerpt from a real/seo schema https://rankenstein.pro/about audit showing the detection and validation tables:
JavaScript Rendering Note
Per Google’s December 2025 JavaScript SEO guidance, structured data injected via JavaScript may face delayed processing. For time-sensitive markup — especiallyProduct, Offer, and AggregateRating on e-commerce pages — include the JSON-LD block in the initial server-rendered HTML rather than relying on client-side injection.
Output Files
SCHEMA-REPORT.md— detection results, per-block validation tables, missing opportunity analysis, and replacement guidance for deprecated typesgenerated-schema.json— ready-to-use JSON-LD snippets for every identified gap, with clearly marked placeholders
Google API Enrichment
When Google Search Console credentials are configured (Tier 1),/seo schema cross-references schema issues against live rich result impressions in GSC to show which schema problems are actively costing Rich Result appearances.