Security headers & SSL expiry checker for AI agents

Coding and ops agents that ship or maintain websites can check the security basics before calling a job done: is the site on HTTPS, is the certificate valid, how many days until it expires, and are the standard security response headers present. SiteDoctor does this over MCP as part of its scan_website audit and returns a list of issues the agent can act on.

SiteDoctor detailsConnect in 30 seconds

What gets checked

CheckHow it is reportedScore impact (security category, max 25)
HTTPSCritical issue if the URL is not https−10
SSL certificatehttps_valid (TLS handshake with hostname verification) and ssl_days_remaining; high-severity issue if under 14 days−6 when < 14 days
Strict-Transport-Security (HSTS)Medium issue “Missing header: …” when the header is absent−4
Content-Security-Policy (CSP)−4
X-Frame-Options (clickjacking)−3
X-Content-Type-Options−2
Referrer-Policy−2
Permissions-Policy−1
Server header with a version numberLow issue “Server version exposed”−1

The same call also scores SEO, performance, mobile readiness and broken links (see the website audit guide).

Prices

ToolIncludes the security checks?Cost
scan_websiteYes: HTTPS, SSL days remaining, 6 headers, plus SEO, performance, mobile and links3 credits
check_page_seoNo (on-page SEO only)1 credit
check_broken_linksNo (links only)2 credits
register_free_keyMints a key with 25 credits, no signup, email or cardfree

Credit packs: $9 = 1,000 · $29 = 10,000 · $99 = 100,000 credits (about 333 / 3,333 / 33,333 full scans). Credits never expire.

Real example

Output of scan_website({"url": "https://manhourplan.com/"}), captured from the live server on 2026-11-21. Our own homepage is missing a CSP header, and the scan says so:

{
 "url": "https://manhourplan.com/",
 "score": 91,
 "grade": "A",
 "categories": {
  "seo": 28,
  "performance": 22,
  "security": 21,
  "mobile": 10,
  "content_links": 10
 },
 "max_per_category": {
  "seo": 30,
  "performance": 25,
  "security": 25,
  "mobile": 10,
  "content_links": 10
 },
 "metrics": {
  "response_ms": 132,
  "html_kb": 26.6,
  "word_count": 1289,
  "images": 0,
  "images_missing_alt": 0,
  "external_scripts": 0,
  "external_stylesheets": 1,
  "title": "ManHourPlan \u2014 Part-145 Man-Hour Planning & Helicopter MRO Manpower Calculator",
  "https": true,
  "https_valid": true,
  "ssl_days_remaining": 57
 },
 "links": {
  "checked": 12,
  "broken": [],
  "skipped": false
 },
 "issues": [
  {
   "cat": "security",
   "sev": "medium",
   "msg": "Missing header: CSP"
  },
  {
   "cat": "seo",
   "sev": "low",
   "msg": "Title length 77 chars (ideal 30-60)"
  },
  {
   "cat": "performance",
   "sev": "low",
   "msg": "No Cache-Control header on HTML"
  }
 ],
 "top_fixes": [],
 "scanned_at": 1795244972
}

Scope

The header check is presence-only: it reports a header as missing when it is absent, but it does not grade the header's value (for example, a weak CSP still counts as present). The SSL check reads the certificate of the hostname on port 443; it does not test protocol versions or cipher suites. It checks one URL per call, so it is not a continuous monitor: schedule the call yourself if you want alerts before a certificate expires.

Typical agent prompts

Connect

Endpoint: https://manhourplan.com/doctor/mcp (Streamable HTTP; registry name com.manhourplan/sitedoctor).

Claude Code:

claude mcp add --transport http sitedoctor https://manhourplan.com/doctor/mcp

Cursor (~/.cursor/mcp.json) or any client that accepts a remote URL:

{
  "mcpServers": {
    "sitedoctor": {
      "url": "https://manhourplan.com/doctor/mcp"
    }
  }
}

Then ask the agent to call register_free_key and pass the returned key as api_key. Full configs for VS Code, Claude Desktop and raw curl: SiteDoctor page · llms-full.txt.

Buy credits

Start with the 25 free credits. When you need more, pay by card and the credits are added automatically:

$9 · 1,000 credits$29 · 10,000 credits$99 · 100,000 credits