# HTTP Security Headers — HSTS, CSP, Score 0-100

HTTP Security Headers — HSTS, CSP, Score 0-100 is an MCP server for Claude Code that audits web address security headers, finds missing directives, and assigns an overall score.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · 4473 installs
- Author: axel-belfort
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://smithery.ai/server/axel-belfort/http-headers
- Updated: 2026-04-13
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/http-security-headers-hsts-csp-score-0-100

## What it does

The server exposes `network_analyze_headers` to your coding assistant. It inspects URL responses for HSTS, Content-Security-Policy, Permissions-Policy, X-Frame-Options, Referrer-Policy, server signatures, and cache settings.

The JSON output provides the complete raw header mapping, an array of missing defensive headers, and an overall score from 0 to 100.

No standard API key is needed. Each call requires an x402 micropayment of $0.001 on the Base L2 network.

## Requirements
- Remote server: `https://http-headers--axel-belfort.run.tools`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http http-headers https://http-headers--axel-belfort.run.tools
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add http-security-headers-hsts-csp-score-0-100 --url https://http-headers--axel-belfort.run.tools
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "http-security-headers-hsts-csp-score-0-100": {
            "url": "https://http-headers--axel-belfort.run.tools"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "http-security-headers-hsts-csp-score-0-100": {
            "type": "http",
            "url": "https://http-headers--axel-belfort.run.tools"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http http-security-headers-hsts-csp-score-0-100 https://http-headers--axel-belfort.run.tools
```

## When to use it
- Audit websites for missing CSP and HSTS headers
- Calculate an HTTP header protection score from 0 to 100
- Inspect server headers and caching setup on target endpoints
- Spot missing web hardening directives during compliance reviews

## Example prompts
- Run network_analyze_headers to check our staging domain response headers
- Audit the production website headers and list all missing security directives
- Inspect security headers on our server and report the numeric rating

## Similar
- [security-headers-configuration](https://affpapa.org/en/nevibecode/skills/security-headers-configuration.md) — skill · 522 installs
- [performing-security-headers-audit](https://affpapa.org/en/nevibecode/skills/performing-security-headers-audit.md) — skill · 474 installs
- [secure-headers-csp-builder](https://affpapa.org/en/nevibecode/skills/secure-headers-csp-builder.md) — skill · 323 installs
- [csp-bypass-advanced](https://affpapa.org/en/nevibecode/skills/csp-bypass-advanced.md) — skill · 4000 installs
- [signals-scout-csp-violations](https://affpapa.org/en/nevibecode/skills/signals-scout-csp-violations.md) — skill · 320 installs
- [manage-headers](https://affpapa.org/en/nevibecode/skills/manage-headers.md) — skill · ★ 1167 repo stars

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
