Page performance basics without a browser

$0.002 per call20 free calls/day via MCP

Page performance basics without a browser: time to first byte, HTML size, compression, caching headers, CDN, and counts of scripts, stylesheets, images, fonts and iframes, with inline script/style size. Fast (1-3 s).

performancepage-speedttfbweb-vitalscdncacheaudit

Call it from an AI agent (MCP)

Add the remote MCP server https://www.aypiai.online/mcp (Streamable HTTP, no auth) to Claude, Cursor, ChatGPT or any MCP client, then call the tool page_weight:

{
  "name": "page_weight",
  "arguments": {
    "url": "https://stripe.com"
  }
}

Call it over HTTP

curl -X POST https://www.aypiai.online/api/page-weight \
  -H "Content-Type: application/json" \
  -H "X-Access-Key: YOUR_CREDIT_KEY" \
  -d '{"url":"https://stripe.com"}'

No key? Without one the endpoint answers 402 Payment Required with an x402 PAYMENT-REQUIRED header: any x402 client (USDC on Base, gasless) pays $0.002 and retries automatically. Or buy card credits at /credits (from $5, valid on all tools). Failed calls are never charged.

Input

{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "description": "Public http(s) URL"
    }
  },
  "required": [
    "url"
  ]
}

Example output

{
  "url": "https://example.com/",
  "ttfbMs": 110,
  "htmlKb": 48.2,
  "compression": "br",
  "scripts": 12,
  "stylesheets": 3,
  "images": 20,
  "cacheControl": "max-age=0"
}

Related tools

Grade a website's HTTP security headers (A-F) ($0.002) · Check a site's HTTPS setup ($0.002) · Get the raw HTTP response headers of any URL, with status code, final URL after redirects and response time ($0.001) · Quick on-page SEO audit with a 0-100 score ($0.005)

Rever: website intelligence for AI agents. MCP server: https://www.aypiai.online/mcp · x402 catalog: /.well-known/x402