Dechonet MCP
# DechoNet MCP Server
Domain security reconnaissance for AI agents via the [Model Context Protocol](https://modelcontextprotocol.io).
**20 tools, free, no API key.** DNS, SSL/TLS, HTTP security headers, email authentication, port scan, DNS propagation, reverse DNS, ASN/BGP, RDAP/WHOIS, subdomain discovery (CT logs), lookalike/typosquat detection, OWASP-mapped observable checks, brand-impersonation exposure, go-live readiness, **domain change history** — what changed since the last check — and a daily **watch** you can set from the agent.
Every result comes back interpreted, not just as raw JSON: a status, the key numbers, each issue with severity and confidence, and the concrete action to take. That is what an agent needs to tell a human what to do next.
**Part of [DechoNet](https://dechonet.com).** Every tool here is also a free web tool at **[dechonet.com](https://dechonet.com)** — no sign-up — backed by error-fix [guides](https://dechonet.com/guides). This package brings the same checks to AI agents.
## Zero-install: remote endpoint
No npx, no install, no key. Point any MCP client that speaks Streamable HTTP at:
```
https://dechonet.com/mcp
```
Claude Desktop / Claude Code (`claude mcp add --transport http dechonet https://dechonet.com/mcp`), Cursor, and other HTTP-capable clients connect directly. The remote endpoint also serves 3 curated prompts (`audit_domain`, `monitor_setup`, `investigate_changes`) and 2 reference resources.
## Quick Start (stdio, Claude Desktop)
Add to your `claude_desktop_config.json`:
```json
{
"mcpServers": {
"dechonet": {
"command": "npx",
"args": ["-y", "dechonet-mcp"]
}
}
}
```
Config file location:
- **macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`
- **Windows**: `%APPDATA%\Claude\claude_desktop_config.json`
Restart Claude Desktop. You'll see the DechoNet tools icon in the input area.
## Install
```bash
# Via npx (no install needed)
npx dechonet-mcp
# Or install globally
npm install -g dechonet-mcp
```
## Available Tools
| Tool | Description |
|------|-------------|
| `security_scan` | **Comprehensive scan** — 9 checks in parallel, 0-100 Health Score, A-F grade |
| `dns_lookup` | DNS records + DNSSEC + SPF/DMARC validation |
| `ssl_check` | SSL/TLS certificate, chain, expiry, HSTS, CT history, A-F grade |
| `http_security` | HTTP redirect trace + 10 security headers audit, A-F grade |
| `email_auth` | SPF, DMARC, DKIM, BIMI, MTA-STS, DANE + blacklist check |
| `port_scan` | Open TCP ports with service identification |
| `dns_propagation` | DNS propagation across 8+ global resolvers |
| `reverse_dns` | PTR record + FCrDNS verification |
| `asn_lookup` | ASN/BGP network identification + abuse contact |
| `whois_lookup` | RDAP/WHOIS domain registration data |
| `subdomain_discovery` | Passive subdomain enumeration from CT logs, operational-name flags (dev/staging/admin), wildcard detection |
| `lookalike_domains` | Typosquat variants that are actually registered — homoglyph, affix (brand-login), TLD swap, keyboard slips — with the domain's own defensive registrations separated out |
| `owasp_check` | OWASP-mapped checks that can be observed passively (headers, TLS, exposed files), honest about what is out of scope |
| `impersonation_exposure` | Brand impersonation exposure grade: third-party lookalikes + exposed operational subdomains + wildcard certs |
| `golive_check` | Go-live readiness — DNS, propagation, SSL, HTTP, registration in one READY / CAUTION / NOT READY verdict |
| `domain_changes` | What changed since the last check — status, grade, issuer, DNS, issues. Works from lookup history even without a watch |
| `watch_domain` | Register a domain for daily re-checks (SSL, DNS, HTTP, RDAP) so `domain_changes` accumulates a timeline. The only tool that writes; idempotent |
| `ip_info` | Public IP, ISP, ASN, proxy detection |
| `email_header_analysis` | Email delivery route tracing + auth results |
| `subnet_calc` | CIDR subnet calculator (offline) |
Every tool response ends with a link to the full interactive report on dechonet.com for the human behind the agent.
## Example Prompts
Once connected, try asking Claude:
- "Audit the security posture of example.com"
- "Is the SSL certificate for mysite.com about to expire?"
- "Which subdomains of example.com are exposed in CT logs?"
- "Are there registered lookalike domains of mybrand.com?"
- "How exposed is mybrand.com to impersonation?"
- "Is example.com ready to go live?"
- "What changed on example.com since the last check?"
- "Analyze these email headers: [paste headers]"
- "What's the ASN for 8.8.8.8?"
## Local SSE Transport
For a self-hosted HTTP/SSE bridge (the hosted remote endpoint above is usually simpler):
```bash
npm run start:sse
# Server runs on http://localhost:3100
# SSE endpoint: http://localhost:3100/sse
```
## Development
```bash
npm install
npm run build # TypeScript → build/
npm run dev # Run with tsx (stdio)
npm run start:sse # Run SSE server
```
## How It Works
The MCP server calls DechoNet's public API (`https://dechonet.com/api/util/*`) — the same backend as the [dechonet.com](https://dechonet.com) web tools — and returns structured results with:
- **Status** (ok/warn/bad)
- **KPIs** (key numbers per tool)
- **Issues** with severity (critical/warning/info) and confidence levels
- **Actionable remediation steps**
- **Raw data** (full JSON)
All data comes from public sources (DNS, HTTP headers, SSL certificates, CT logs, RDAP). Passive by design: no active exploitation, and a registered lookalike is reported as a fact to verify, never as an accusation.
## Environment Variables
| Variable | Default | Description |
|----------|---------|-------------|
| `DECHONET_URL` | `https://dechonet.com` | API base URL |
| `DECHONET_LOCALE` | `en` | Response language (`en` or `ko`) |
| `PORT` | `3100` | SSE server port |
## About DechoNet
[DechoNet](https://dechonet.com) is a domain security reconnaissance platform — distributed observation, cross-verification. The same diagnostics ship three ways: free web tools, error-fix guides, and this MCP server.
- 🌐 **Web tools** (free, no sign-up): https://dechonet.com
- 📘 **Guides** (fix common DNS/SSL/HTTP/email errors): https://dechonet.com/guides
- 🔔 **Monitoring** (daily re-checks, change history): https://dechonet.com/pro
- 🐦 **X**: https://x.com/Dechonetwork
MIT licensed. Issues and PRs welcome.
TDQS
Scored across 20 tools
Each tool has a distinct target layer (DNS, TLS, HTTP headers, email, IP/ASN, WHOIS, monitoring), and descriptions explicitly cross-reference alternatives to steer selection. However, several tools converge on graded postures (security_scan, owasp_check, impersonation_exposure, http_security/ssl_check all return A–F grades), so a few boundaries require reading the descriptions closely rather than being self-evident from the name.
Every tool uses lowercase snake_case with a consistent noun-oriented, descriptive convention (dns_lookup, ssl_check, http_security, whois_lookup, subnet_calc). No camelCase, no mixed verb styles, and the pattern is predictable throughout.
20 tools is on the heavier side, but the surface spans genuinely distinct domains (DNS, TLS, email auth, IP/BGP, WHOIS, subnet math, monitoring, aggregation), so most tools earn their place. The aggregate tools (security_scan, golive_check) plus their constituent single-purpose tools create some redundancy that pushes the count slightly above ideal.
Covers external reconnaissance comprehensively: subdomain discovery, DNS, propagation, TLS, headers, email auth and header analysis, ports, reverse DNS, ASN, WHOIS, plus monitoring and go-live checks. Minor gaps remain (no delete/stop-watch counterpart to watch_domain, limited tech-fingerprinting/CVE depth), but the core lifecycle for security recon is well covered.