Skip to content
MCP server

Domain Security

Audit a domain's SPF, DKIM, DMARC, DNSSEC, TLS and WHOIS from your AI client, no keys

Runs locallyStatus and history
Install
Pricing
Open source
Platforms
CLI, self-hosted, API
Runs
Locally
Version
1.2.4
Listing updated
today

Similar MCP servers

About Domain Security

Domain Security is an open-source MCP server for security. It runs locally on your machine and is started by your AI client.

Domain Security packs 19 read-only checks into one stdio MCP server that needs Node.js 20.18 or newer and no API keys. The headline tool, email_auth_audit, runs SPF, DKIM, DMARC and MX checks together and returns a 0 to 100 score, an A to F grade and prioritised fixes. The other tools go deeper on single topics, from recursive SPF lookup counting against the RFC 7208 limit of 10 to HTTP security header grading and raw email header analysis.

Every tool declares an output schema and returns structured content alongside Markdown or JSON text. Because the tools connect to hosts the caller names, outbound connections are screened against server-side request forgery at connect time, redirects are re-checked on each hop, and bodies and timeouts are capped.

Besides stdio, it can serve stateless streamable HTTP, bound to localhost by default, with optional allowed hosts, allowed origins and a bearer token for exposing it.

Install

Run in a terminal

claude mcp add domain-security-mcp-server -- npx -y domain-security-mcp-server

Add to claude_desktop_config.json

{
  "mcpServers": {
    "domain-security-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "domain-security-mcp-server"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "domain-security-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "domain-security-mcp-server"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "domain-security-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "domain-security-mcp-server"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "domain-security-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "domain-security-mcp-server"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "domain-security-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "domain-security-mcp-server"
      ]
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Tools this server provides (19)

Taken from the project documentation; the running server may differ.

email_auth_audit
One-call SPF, DKIM, DMARC and MX audit with score, grade and prioritised fixes.
spf_check
Parses SPF and counts DNS lookups against the RFC 7208 limit.
dmarc_check
Parses the DMARC record and flags weak or missing settings.
dkim_check
Probes DKIM selector keys.
mta_sts_check
Validates the MTA-STS TXT record and policy file.
tls_rpt_check
Checks the TLS-RPT record.
bimi_check
Checks the BIMI record.
dnssec_check
Checks DS and DNSKEY presence and DNSSEC validation.
dns_lookup
Looks up A, AAAA, CNAME, MX, NS, TXT and SOA records.
ssl_certificate
Reports TLS certificate issuer, validity, SANs and fingerprint.
whois_lookup
Returns registrar, dates, name servers and status.
reverse_dns
Returns PTR records for an IP.
ip_geolocation
Offline IP geolocation plus reverse DNS.
mx_lookup
Lists mail servers with priority and IPs.
caa_check
Shows which CAs may issue certificates.
blacklist_check
Checks an IP or domain against open email DNSBLs.
dns_propagation
Compares a record across five public resolvers.
http_security_headers
Grades HSTS, CSP and other security headers.
analyze_email_headers
Parses raw headers into authentication verdicts and a hop chain.

What it does

One-call email audit
email_auth_audit combines SPF, DKIM, DMARC and MX into a graded report.
Wide DNS coverage
Checks MTA-STS, TLS-RPT, BIMI, DNSSEC, CAA and general record lookups.
Certificate and WHOIS
Reports TLS certificate issuer and expiry and raw WHOIS data.
Header analysis
Parses raw email headers into authentication verdicts and a hop chain.
SSRF protection
Refuses private and reserved addresses at connect time.
Optional HTTP mode
Serves streamable HTTP with host, origin and bearer-token controls.

Good for

  • Check whether a domain can be spoofed
  • Find SPF records that exceed the 10-lookup limit
  • Review a site's security headers
  • See when a TLS certificate expires
  • Trace delays in a suspicious email's headers

Pricing

Open source

Domain Security FAQ

Does it need API keys?

No.

Is anything written or changed?

No. Every tool is read-only.

How do I add it to Claude Code?

Run claude mcp add domain-security -- npx -y domain-security-mcp-server.

Can I host it remotely?

Yes, with TRANSPORT=http; it binds to 127.0.0.1 unless you set HOST, and MCP_AUTH_TOKEN adds bearer auth.

Is Domain Security free?

Yes. Domain Security is open source, so you can use and self-host it for free.

How do I add Domain Security to Claude Code?

Run this command in your terminal: claude mcp add domain-security-mcp-server -- npx -y domain-security-mcp-server

What are the best alternatives to Domain Security?

The closest alternatives to Domain Security are REA, AiSOC, redamon, x64dbg-mcp-server and Agent Roast.

Where this comes from

  • Description: written from the project's README.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers