Dev.to WebDev 🛠 Dev 👁 2

Automated Sitemap & Technical SEO Audits for AI Agents via MCP and HTTP 402

When shipping a SaaS landing page, docs site, or e-commerce store, broken canonicals, missing meta descriptions, and accidental noindex tags silently kill organic traffic. Instead of spinning up a heavy Chromium crawler

When shipping a SaaS landing page, docs site, or e-commerce store, broken canonicals, missing meta descriptions, and accidental noindex tags silently kill organic traffic.

Instead of spinning up a heavy Chromium crawler, you can audit any page or XML sitemap in seconds using a zero-proxy Apify MCP Actor or a pay-per-call x402 HTTP endpoint.

Option 1: Full-Domain Sitemap Audit via Apify MCP

The Website & Sitemap SEO Auditor MCP crawls an XML sitemap (or single URL), checks HTTP status, <title> length, <meta name="description">, H1 counts, canonical tags, and computes a 0–100 SEO score per URL.

Sample Input JSON

{
  "startUrls": ["https://example.com"],
  "maxUrls": 50,
  "includeSitemap": true
}

Sample Output Item

{
  "url": "https://example.com/pricing",
  "statusCode": 200,
  "title": "Pricing - Example",
  "titleLength": 17,
  "metaDescriptionLength": 142,
  "h1Count": 1,
  "canonical": "https://example.com/pricing",
  "seoScore": 92,
  "issues": ["Title shorter than 30 chars"]
}

Option 2: Single-Page Audit via x402 ($0.002 Base USDC, No API Key)

curl -i "https://x402-agent-data-edge.omerblau.workers.dev/v1/seo?url=https://www.iana.org/domains/reserved"
  • Returns HTTP 402 (x402Version: 1 JSON + x402Version: 2 PAYMENT-REQUIRED header on Base mainnet eip155:8453).
  • Settles only after the target page is fetched and parsed (502 = not charged).

Explore all 9 endpoints at x402-agent-data-edge/llms.txt and GitHub.

📰 Read the original article on Dev.to WebDev

Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.