HeaderGuard
Scan a site's HTTP security headers and get a 0-100 score with copy-paste fixes
- Pricing
- Freemium
- Platforms
- Web, API
- Runs
- Remotely
- Version
- 0.4.0
- Listing updated
- today
About HeaderGuard
HeaderGuard is a freemium MCP server for security. It runs as a hosted remote server, so there is nothing to install locally.
Scoring is explicit: HTTPS 10, HSTS 15, CSP 25, framing 10, nosniff 10, Referrer-Policy 10, Permissions-Policy 5, COOP 5, CORP 5 and cookies 5, minus up to 5 for headers that leak software versions. Grades run from A+ at 95 and above down to F, and sites without HTTPS are capped at 39. The CSP check parses each directive and flags unsafe-inline, unsafe-eval, wildcard sources and missing default-src, object-src, base-uri and frame-ancestors; Report-Only policies are noted but earn no credit.
Fixes are given as snippets for nginx, Apache, Cloudflare, Netlify, Vercel and Express. The scan reads only response headers, discards page content, and the operator says it does not store scanned URLs, with results held in memory for two minutes.
The MCP server exposes one read-only tool, scan_headers, which takes a URL or domain and returns the same score, grade, findings and fixes as the JSON API. A free JSON API (about 30 scans a minute per IP) and an embeddable grade badge also exist; a Pro plan raises limits and adds batch scanning.
Install
Run in a terminal
claude mcp add --transport http headerguard https://headerguard.mike-tusa.workers.dev/mcpAdd to Settings → Connectors → Add custom connector
https://headerguard.mike-tusa.workers.dev/mcpAdd to ~/.cursor/mcp.json
{
"mcpServers": {
"headerguard": {
"url": "https://headerguard.mike-tusa.workers.dev/mcp"
}
}
}Add to .vscode/mcp.json
{
"servers": {
"headerguard": {
"type": "http",
"url": "https://headerguard.mike-tusa.workers.dev/mcp"
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"headerguard": {
"serverUrl": "https://headerguard.mike-tusa.workers.dev/mcp"
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"headerguard": {
"type": "http",
"url": "https://headerguard.mike-tusa.workers.dev/mcp"
}
}
}Tools this server provides (1)
Taken from the project documentation; the running server may differ.
- scan_headers
- Takes a URL or domain and returns the score, grade, findings and fixes.
What it does
- Weighted score
- A 0-100 score and A+ to F grade built from published weights.
- CSP analysis
- Flags unsafe directives, wildcards and missing key directives.
- Platform fixes
- Copy-paste fixes for nginx, Apache, Cloudflare, Netlify, Vercel and Express.
- Cookie and leak checks
- Checks Secure, HttpOnly and SameSite flags and version-revealing headers.
- Free JSON API
- Keyless API with CORS and per-IP rate limits.
- Grade badge
- Embeddable SVG badge per host.
Good for
- Audit a site's security headers before launch
- Add a header check to a CI pipeline
- Have an AI agent review a domain's header posture
- Get server-specific config to fix missing headers
Pricing
Freemium, from $9 a month
Free scans; Pro $9/mo for higher rate limits and batch scanning
Prices change. Check headerguard.mike-tusa.workers.dev before you buy.
HeaderGuard FAQ
Do I need an account?
No. One-off scans and the MCP tool work without sign-up or a key.
How much does Pro cost?
$9 per month, for about 120 scans a minute per key and a batch endpoint of up to 5 URLs.
Are scanned URLs stored?
The operator says scanned URLs and results are not stored beyond about two minutes in memory.
Which tool does the MCP server provide?
One read-only tool, scan_headers.
Is HeaderGuard free?
HeaderGuard has a free plan, with paid plans for more usage or features. Paid plans start at $9 a month.
How do I add HeaderGuard to Claude Code?
Run this command in your terminal: claude mcp add --transport http headerguard https://headerguard.mike-tusa.workers.dev/mcp
What are the best alternatives to HeaderGuard?
The closest alternatives to HeaderGuard are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.
Alternatives to HeaderGuard

REA
MCP serverCLI and MCP server that lets coding agents reverse engineer apps and binaries
Runs locally- Open source
- 464K GitHub stars
- Developer tools

Codebase Memory
MCP serverLocal MCP server that builds a code knowledge graph for AI coding agents
Runs locally- Open source
- 48.7K GitHub stars
- Knowledge and memory

GitHub
MCP serverOfficial MCP server connecting AI assistants to GitHub repos, issues and workflows
Not checked yet- Remote
- Open source
- 34.5K GitHub stars
- Developer tools

Serena MCP: the IDE for your agent
MCP serverMCP toolkit giving coding agents symbol-level code retrieval and editing
Runs locally- Open source
- 31.5K GitHub stars
- Developer tools

XERJ
MCP serverLocal search engine for AI agents with cited answers over your code and docs
Runs locally- Open source
- 19.2K GitHub stars
- Knowledge and memory

Ouroboros
MCP serverSpec-first layer that pins requirements and verifies results of AI coding agent work
Runs locally- Open source
- 6.4K GitHub stars
- Developer tools