Skip to main content
Glama
NormStack MCP Server
by GabrielSDG
README.md
# NormStack MCP Server — Authenticated Web Compliance Auditor

[![NormStack Compliance Score](https://normstack.io/api/badge/normstack.io.svg)](https://normstack.io/site/normstack.io)
[![Remote MCP](https://img.shields.io/badge/MCP-Streamable%20HTTP-10b981)](https://normstack.io/mcp-server)
[![Auth](https://img.shields.io/badge/Auth-Bearer%20API%20Token-0ea5e9)](https://normstack.io/pricing)
[![Languages](https://img.shields.io/badge/Platform-24%20Languages%20%2B%20RTL-6366f1)](https://normstack.io)

Official **Remote Model Context Protocol (MCP) Server** for **[NormStack](https://normstack.io)** — audit any public website in ~3 seconds across **4 mandatory legal & security pillars** directly inside **Claude Desktop, Cursor, Antigravity, Windsurf, or VS Code** with zero LLM hallucination.

> **Authentication Required:** Executing MCP tools requires a personal **NormStack API Token** from an active **Starter, Pro, or Agency** subscription ([Get your API Token at normstack.io/pricing](https://normstack.io/pricing)). Discovery (`initialize`, `tools/list`, and `/.well-known/mcp.json`) is publicly readable.

## 4 Deterministic Compliance Pillars

1. **Accessibility** — WCAG 2.2 AA · European Accessibility Act (EAA / EN 301 549) · US DOJ ADA Title II (April 2027)
2. **AI Transparency** — EU AI Act Article 50 (Active Aug 2, 2026) · AI Chatbot Disclosures · TDM `robots.txt` · `llms.txt`
3. **Privacy & Trackers** — GDPR · ePrivacy · Brazil LGPD · CCPA · Pre-Consent Meta/GA4/TikTok Pixel Detection · Google Consent Mode v2
4. **Security Posture** — OWASP Headers (HSTS, CSP, X-Frame-Options, nosniff) · Mixed Content · RFC 9116 `security.txt`

## Setup (Remote Streamable HTTP + Bearer API Token)

- **Endpoint:** `https://normstack.io/mcp`
- **Authentication:** `Authorization: Bearer <YOUR_NORMSTACK_API_TOKEN>` (or `X-API-Key: <YOUR_NORMSTACK_API_TOKEN>`)
- **Get API Token:** Subscribe at [https://normstack.io/pricing](https://normstack.io/pricing) and copy your token from [https://normstack.io/dashboard](https://normstack.io/dashboard)
- **Discovery Card:** `https://normstack.io/.well-known/mcp.json`
- **Documentation:** [https://normstack.io/mcp-server](https://normstack.io/mcp-server)

```json
{
  "mcpServers": {
    "normstack": {
      "url": "https://normstack.io/mcp",
      "transport": "streamable-http",
      "headers": {
        "Authorization": "Bearer YOUR_NORMSTACK_API_TOKEN"
      }
    }
  }
}
```

## Available MCP Tools

| Tool | Description |
| :--- | :--- |
| `audit_website_compliance` | Deterministic 4-pillar audit of any public URL → returns score (`0–100`), Grade (`A+`–`F`), ranked code fixes, shareable live report URL, 7-file Fix Kit link, and live SVG trust badge (automatically saved to your `/dashboard`). |
| `crawl_site_compliance` | Multi-page crawl (up to 5 pages on Starter, up to 10 pages on Pro/Agency) → site-wide compliance score & weakest pages. |
| `get_compliance_badge_and_checklist` | Live embeddable SVG Trust Badge (`Markdown` + `HTML`) + tailored compliance checklists for startups, creators/influencers, web & advertising agencies, e-commerce, EU AI Act, ADA Title II, and GDPR/LGPD. |

## Quick Live Test (curl)

```bash
curl -sS -X POST https://normstack.io/mcp \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_NORMSTACK_API_TOKEN" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"audit_website_compliance","arguments":{"url":"https://normstack.io"}}}'
```