seclens
OfficialThis server has a remotely hosted endpoint. Open its connector listing for connection details, authentication requirements, and setup instructions:
SecLens.ONE email security assessor
Standalone Go CLI for the public email-security checks on SecLens.ONE.
Scored protocols are SPF, DMARC, DKIM, MTA-STS, TLS-RPT, DANE, and DNSSEC. BIMI is informational and does not change the score. The assessor uses passive DNS and one HTTPS GET to the MTA-STS policy endpoint. It does not send mail.
Protocol logic lives in internal/assessor/rfc*/ packages. Thin bridge files wire DNS lookups and scoring.
Source is https://github.com/42Sec-Pte-Ltd/seclens.
Checks
SPF (RFC 7208). Presence, qualifiers, lookup limits, and common misconfiguration hints.
DMARC (RFC 7489). Policy, reporting tags, and enforcement.
DKIM (RFC 6376). Common selector discovery.
MTA-STS (RFC 8461). DNS advertisement, one HTTPS GET of the policy, and MX matching.
TLS-RPT (RFC 8460).
_smtp._tlsadvertisement and reporting URIs.DANE (RFC 7672). TLSA records for discovered MX hosts.
DNSSEC (RFC 4034 and RFC 4035). DS presence and the DoH AD-bit signal.
BIMI. Informational only. It does not change the score.
Null MX (RFC 7505). Detects domains that do not receive mail.
Bulk assessment uses bounded concurrency. Output is text, JSON, or JSONL. JSON DoH resolvers default to Cloudflare. Google and Quad9 are supported.
Related MCP server: Auditoría MCP
MCP Server
Anonymous Streamable HTTP at https://seclens.one/mcp.
Tools are get_result, assess_domain, and get_summary.
Cursor 1-Click Install opens Add SecLens.ONE.
mcp.json:
{
"mcpServers": {
"seclens": {
"type": "http",
"url": "https://seclens.one/mcp"
}
}
}Dependencies
Core DNS and HTTP use the Go standard library. One module dependency handles internationalized domain names.
golang.org/x/net/idnahandles punycode and IDNA for MTA-STS MX host matching.
Run go list -m all after go mod download to inspect the module graph.
Build
go build -o seclens ./cmd/seclensAssess
./seclens assess cloudflare.com
./seclens assess --format jsonl example.com google.com
cat domains.txt | ./seclens assess --stdin --concurrency 12 --format jsonl > results.jsonl
./seclens assess --file domains.txt --resolver google,cloudflareResolver flag values are cloudflare, google, and quad9. Separate a pool with commas.
Tests
go test ./...Research
The CLI measures the same controls as the SecLens Top-1M studies:
License
Licensed under the Apache License, Version 2.0.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Free anonymous website, DNS, email and TLS checks, plus monitor read and opt-in write access.
Read-only DNS, MX routing, SPF, DMARC, HTTP security headers, and ICANN RDAP diagnostics.
61Check if a domain can be email-spoofed: SPF, DMARC, DKIM, MX graded from public DNS. Authless.
DNS resolution, HTTP security headers, and SPF/DMARC email hygiene audits.
Related MCP Servers
- AlicenseAqualityDmaintenancePerforms domain security posture checks including SPF, DKIM, DMARC, TLS, and HTTP security headers.310 npmMIT
- AlicenseNot gradedqualityBmaintenancePerforms domain, email, and web audits in a single tool call, checking DNS, RDAP, TLS, SPF, DMARC, DKIM, MTA-STS, BIMI, security headers, and cookies, and returning reproducible findings with an A–F score. Also captures PNG screenshots of public URLs, working read-only against public records with no caching between calls.MIT
- AlicenseNot gradedqualityBmaintenanceEnables agents to run domain scans, DNS/DNSSEC and propagation lookups, WHOIS/RDAP, SPF/DKIM/DMARC/BIMI/MTA-STS and blacklist diagnostics through a keyless API. Also supports local DMARC report and raw-email parsing plus security-header generation.56 npmMIT
- AlicenseAqualityCmaintenanceEnables AI agents to inspect any public domain’s web technology stack, email deliverability and DNS health (MX, SPF, DKIM, DMARC, MTA-STS, TLS-RPT, BIMI), and HTTPS security posture with typed JSON scores and remediation-ready findings, plus history, bulk checks, monitoring alerts, and reverse technology lookups.1261 npmMIT