URL inspector
Quick URL health and metadata check - parse the URL structure, verify reachability, and pull page metadata in one pass.
3 tools run server-side in one request. You pay once, settle once, and get a single response - no orchestration, no per-step payments, and a partial-success envelope if any step fails. USDC over x402 on any supported chain.
When to use this pack
An agent needs to verify a URL is live and understand what's behind it before recommending it, embedding it, or crawling it. Combines structural parsing (protocol, host, path), liveness check (status, latency, redirects), and metadata extraction (title, description, OG tags).
Tools in this pack
All 3 run inside the single $0.060 call above. Each is also callable on its own if you only need one part.
- URL parse POST /api/url-parse Parse a URL into components: protocol, host, port, path, query params (decoded), hash, origin, punycode hostname.
- HTTP check POST /api/http-check Check any public URL: status code, latency, final URL after redirects, and response headers. The uptime primitive for agent monitors.
- Page metadata GET /api/meta Fetch page metadata for a URL: title, description, OpenGraph, Twitter cards, canonical URL, favicon.
Workflow
- Call url-parse to decompose the URL into protocol, hostname, path, query parameters, and fragment.
- Call http-check to verify the URL is reachable - status code, latency, redirect chain.
- Call meta to pull the page's title, description, canonical URL, and OpenGraph/Twitter card tags.
Call it directly
Any x402 client pays the 402 and gets the whole workflow back in one response:
npx agent402-client call url-inspector {"url":"https://stripe.com"}
Run it in Claude
claude mcp add agent402 -s user -- npx -y agent402-mcp@latest
Then paste this prompt into Claude:
Inspect https://stripe.com using Agent402's url-inspector skill pack: (1) url-parse for structure, (2) http-check for reachability and latency, (3) meta for page metadata and OG tags. Report the URL health status and key metadata.