# HTTP headers

> Follow redirects and grade the security headers on a public URL.

Free HTTP header checker. Fetch a public URL, list the redirect chain, and grade HSTS, Content-Security-Policy, framing, nosniff, and Referrer-Policy. Private addresses are refused. The body is discarded.

- Page: https://benchline.fabwaseem.com/t/http-headers-checker
- Runs: in the browser, plus one server fetch of the public URL you give it.
- Price: free, no account
- Input: A public http or https URL.
- Output: Final status, redirect hops, response headers, a grade, and a checklist.
- Keywords: check http headers, security headers, hsts checker
- Updated: 2026-10-18
- Built by: Waseem Anjum (https://fabwaseem.com)

## How to use it

1. **Enter a public URL.** A bare domain is treated as HTTPS. Local and private addresses are refused.
2. **Read the chain.** Each redirect shows the status and the location it pointed at.
3. **Read the grade.** The checklist names the header that passed, warned, or failed.

## Use it from an AI agent

MCP tool name: `check_http_headers`
MCP endpoint: https://benchline.fabwaseem.com/mcp (Streamable HTTP, no key)
HTTP: POST https://benchline.fabwaseem.com/api/v1/tools/http-headers-checker with the input as the JSON body
This call fetches a public URL on the server. Private addresses are refused.

Fetch a public URL, follow redirects, and grade HSTS, Content-Security-Policy, framing, nosniff, and Referrer-Policy. Private addresses are refused. The body is not stored.

### Input schema

```json
{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "description": "Public http or https URL. Private addresses are refused."
    }
  },
  "required": [
    "url"
  ],
  "additionalProperties": false
}
```

### Example tools/call

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "check_http_headers",
    "arguments": {
      "url": "https://example.com/file"
    }
  }
}
```

Setup for Claude, Cursor, and VS Code: https://benchline.fabwaseem.com/mcp/guide

## Questions

### What does the grade measure?

HSTS on HTTPS, Content-Security-Policy, framing, X-Content-Type-Options, and Referrer-Policy. Missing ones lower the grade. A server banner is a warning.

### Are redirects followed?

Yes, up to four hops, and only to public http and https URLs on ports 80 and 443.

### Is the page body stored?

No. The check reads response headers and cancels the body.

## Related tools

- [SSL checker](https://benchline.fabwaseem.com/t/ssl-checker): Expiry, names, and the chain for a certificate on port 443.
- [CSP builder](https://benchline.fabwaseem.com/t/csp-generator): Build a Content-Security-Policy and a Next.js headers snippet.
- [DNS lookup](https://benchline.fabwaseem.com/t/dns-lookup): Query A, AAAA, MX, TXT, CNAME, and CAA over DNS-over-HTTPS.
- [Meta tags inspector](https://benchline.fabwaseem.com/t/meta-tags-inspector): Read title, description, canonical, robots, Open Graph, Twitter, and JSON-LD types from one public URL.
