Is Your Site Blocking ChatGPT and Claude? Auditing llms.txt, AI Bots & SSL Expiry via API
In 2026, classic Google meta-tags are only half of technical site visibility. Engineering teams, SaaS founders, and SEO agencies increasingly ask a different question: can AI search engines actually read and cite our site, and are our security headers and TLS certificates healthy?
Common blind spots we keep seeing on production SaaS domains:
- Strict CDN or WAF templates silently insert
Disallow: /forGPTBot,ClaudeBot, orPerplexityBotinsiderobots.txt. - Teams forget to add
/llms.txt, leaving AI coding and search agents guessing which docs or product pages are canonical. - Security scanners flag missing
HSTS,CSP,Referrer-Policy, or an expiring TLS certificate right before an enterprise procurement check.
To automate this across outbound lead lists or CI pipelines without spinning up Puppeteer, we built Website SEO, AI-Search (llms.txt) & Security Audit API.
What a Complete SEO + GEO + Security Check Inspects
A single lightweight (256 MB RAM) async pass evaluates three pillars and computes deterministic 0–100 scores:
- On-Page Technical SEO (
seoScore):- HTTP status, canonical redirect destination, and response latency (
responseTimeMs). -
<title>and meta description presence plus character bounds, canonical link,H1/H2counts, missing imagealttags, internal vs. external link ratio,OpenGraph/Twitter Card, and extractedSchema.orgJSON-LD@typeentities.
- HTTP status, canonical redirect destination, and response latency (
- AI Search / GEO Readiness (
aiGeoScore):- Fetches
/robots.txtand evaluates per-bot precedence over*wildcard rules forGPTBot,ChatGPT-User,OAI-SearchBot,ClaudeBot,PerplexityBot, andGoogle-Extended. - Verifies
/llms.txt(checking HTTP200and ensuring it isn't a soft-404 HTML page!) and/sitemap.xml.
- Fetches
- Live TLS & HTTP Security Headers (
securityScore):- Opens an async TLS socket directly to port
443to inspect live certificate validity, issuer, and exactsslDaysRemaining. - Checks
Strict-Transport-Security(HSTS),Content-Security-Policy(CSP),X-Frame-Options(or CSPframe-ancestors),X-Content-Type-Options: nosniff, andReferrer-Policy.
- Opens an async TLS socket directly to port
Verified Audit Comparison: stripe.com vs anthropic.com vs linear.app
Calling the API directly via HTTP cURL:
curl -sS -H "Authorization: Bearer YOUR_APIFY_TOKEN" \ "https://whthpnd--seo-geo-security-audit-api.apify.actor/v1/audit?domain=anthropic.com" Observed batch results across the three reference domains:
| Domain | Overall | SEO | AI GEO | Security | llms.txt | Blocked AI Bots | SSL Days Left |
|---|---|---|---|---|---|---|---|
stripe.com | 95 | 85 | 100 | 100 | true | [] | 165 |
linear.app | 94 | 82 | 100 | 100 | true | [] | 77 |
anthropic.com | 83 | 76 | 80 | 92 | false | [] | 67 |
Sample JSON returned for anthropic.com via /v1/geo:
{ "input": "anthropic.com", "domain": "anthropic.com", "reachable": true, "statusCode": 200, "responseTimeMs": 74, "finalUrl": "https://www.anthropic.com/", "overallScore": 78 } And every audit emits a structured issues array (e.g., missing_llms_txt, missing_hsts, images_missing_alt_3) ready to feed directly into agency personalization or Slack/Notion alerts.
Connect via Remote MCP (Cursor / Claude) or n8n
The Actor exposes 3 Streamable HTTP MCP tools (audit_website_full, check_ai_geo_readiness, audit_ssl_and_security_headers) at /mcp:
{ "mcpServers": { "seo-geo-security-audit": { "url": "https://whthpnd--seo-geo-security-audit-api.apify.actor/mcp", "headers": { "Authorization": "Bearer YOUR_APIFY_TOKEN" } } } } You can also import our pre-built n8n SEO + llms.txt Audit Workflow JSON (Manual Trigger → Audit Domain → Alert if overallScore < 85) from the GitHub showcase:
- GitHub Showcase & n8n Workflows: github.com/whthpnd/directapi-mcp-servers
- Actor & Standby API: apify.com/whthpnd/seo-geo-security-audit-api