NetRecon MCP
Acts as the primary DNS resolver for DNS lookups, resolving A, AAAA, MX, TXT, NS, SOA, CNAME, SRV, and CAA records.
Uses Cloudflare DNS (1.1.1.1) to perform DNS record lookups for dns_lookup and full_recon.
Uses Google Public DNS (8.8.8.8) as a fallback DNS resolver for DNS record lookups.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@NetRecon MCP Run a full recon on example.com and flag any security issues"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
A comprehensive network reconnaissance MCP server that gives AI assistants the ability to perform DNS lookups, WHOIS queries, port scanning, subdomain enumeration, TLS certificate inspection, HTTP security header analysis, IP geolocation, and Shodan intelligence — all without any API keys.
⚡ Quick Start
npx @leviai/netrecon-mcpThat's it. No installation, no configuration, no API keys.
Related MCP server: subsweep-recon
🛠️ Tools
Tool | Description | Data Source |
| Query DNS records (A, AAAA, MX, TXT, NS, SOA, CNAME, SRV, CAA) | Cloudflare + Google DNS |
| WHOIS/RDAP registration data for domains and IPs | RDAP (rdap.org) |
| Reverse DNS lookup — find hostnames for an IP | System DNS |
| Inspect TLS/SSL certificates, SANs, validity, fingerprints | Direct TLS connection |
| TCP connect scan on specified or common ports | Direct TCP connection |
| Discover subdomains via Certificate Transparency logs | crt.sh |
| Fetch HTTP headers + security header analysis | Direct HTTP request |
| IP location, ISP, ASN, proxy/VPN/hosting detection | ip-api.com (free) |
| Quick IP intel — open ports, CVEs, hostnames, CPEs | Shodan InternetDB (free) |
| All-in-one comprehensive domain reconnaissance | All of the above |
📦 Installation
Option 1: npx (no install)
npx @leviai/netrecon-mcpOption 2: Global install
npm install -g @leviai/netrecon-mcp
netrecon-mcpOption 3: Clone and build
git clone https://github.com/btcgodx/netrecon-mcp.git
cd netrecon-mcp
npm install
npm run build
node build/index.js🔌 Client Configuration
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"netrecon": {
"command": "npx",
"args": ["-y", "@leviai/netrecon-mcp"]
}
}
}macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.jsonLinux:
~/.config/Claude/claude_desktop_config.json
Cursor
Add to Cursor Settings → MCP Servers:
{
"mcpServers": {
"netrecon": {
"command": "npx",
"args": ["-y", "@leviai/netrecon-mcp"]
}
}
}Claude Code (CLI)
claude mcp add netrecon -- npx -y @leviai/netrecon-mcpWindsurf
Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"netrecon": {
"command": "npx",
"args": ["-y", "@leviai/netrecon-mcp"]
}
}
}OpenClaw
mcporter add netrecon --command "npx -y @leviai/netrecon-mcp"💬 Example Prompts
Once connected, ask your AI assistant:
"What DNS records does example.com have?"
"Who owns the IP address 8.8.8.8?"
"Scan ports on 203.0.113.1"
"Find all subdomains of tesla.com"
"Check the TLS certificate for github.com — is it expiring soon?"
"Analyze the security headers of https://example.com"
"Do a full security recon on cloudflare.com"
"Is 1.2.3.4 a known proxy or VPN?"
"What vulnerabilities are known for 203.0.113.50?"
📋 Example Output
dns_lookup for github.com
DNS Records for github.com:
A Records:
140.82.121.3
AAAA Records:
2606:50c0:8000::64
MX Records:
1 aspmx.l.google.com
5 alt1.aspmx.l.google.com
10 alt3.aspmx.l.google.com
NS Records:
dns1.p08.nsone.net
dns2.p08.nsone.net
dns3.p08.nsone.net
dns4.p08.nsone.net
TXT Records:
v=spf1 ip4:192.30.252.0/22 include:_netblocks...port_scan for a web server
Port scan for example.com:
Open ports (4):
22/tcp open SSH
80/tcp open HTTP
443/tcp open HTTPS
8080/tcp open HTTP-Althttp_headers security analysis
HTTP Headers for https://example.com:
Status: 200 OK
Headers:
content-type: text/html; charset=UTF-8
strict-transport-security: max-age=31536000
x-content-type-options: nosniff
...
Security Analysis:
⚠ Missing: Content-Security-Policy (CSP)
⚠ Missing: Permissions-Policy
⚠ Info leak: Server header exposes "nginx/1.24.0"🏗️ Architecture
┌──────────────┐ stdio/JSON-RPC ┌──────────────────┐
│ MCP Client │◄──────────────────────►│ NetRecon MCP │
│ (Claude, │ │ Server │
│ Cursor, │ │ │
│ etc.) │ └───────┬──────────┘
└──────────────┘ │
┌────────────────────┼────────────────────┐
│ │ │
┌──────▼──────┐ ┌──────▼──────┐ ┌──────▼──────┐
│ DNS │ │ RDAP/WHOIS │ │ crt.sh │
│ (1.1.1.1) │ │ (rdap.org) │ │ (CT logs) │
└─────────────┘ └──────────────┘ └─────────────┘
│ │ │
┌──────▼──────┐ ┌──────▼──────┐ ┌──────▼──────┐
│ ip-api.com │ │ Shodan │ │ Direct │
│ (GeoIP) │ │ InternetDB │ │ TCP/TLS │
└─────────────┘ └──────────────┘ └─────────────┘🔑 No API Keys Required
Every data source is free and requires zero authentication:
Source | Purpose | Rate Limit |
Cloudflare DNS (1.1.1.1) | DNS resolution | Unlimited |
Google DNS (8.8.8.8) | DNS fallback | Unlimited |
rdap.org | WHOIS/RDAP lookups | Fair use |
crt.sh | Certificate Transparency logs | Fair use |
ip-api.com | IP geolocation | 45 req/min |
Shodan InternetDB | IP intelligence | Unlimited |
Direct TCP/TLS | Port scan & TLS inspection | N/A |
⚖️ Security & Ethics
This tool is designed for legitimate security assessment of systems you own or have authorization to test. Port scanning and reconnaissance of systems without permission may violate laws in your jurisdiction. Use responsibly.
🤝 Contributing
Contributions welcome! Please open an issue first to discuss what you'd like to change.
git clone https://github.com/btcgodx/netrecon-mcp.git
cd netrecon-mcp
npm install
npm run dev📄 License
MIT © Levi Labs
Available Tools
10 toolsdns_lookupA
Look up DNS records for a domain. Returns A, AAAA, MX, TXT, NS, SOA, CNAME, SRV, CAA records. Use this when you need to find IP addresses, mail servers, nameservers, or any DNS configuration for a domain.
Inputs: domain (required), record_types.
full_reconB
Perform comprehensive reconnaissance on a domain. Runs DNS lookup, WHOIS, subdomain enumeration, TLS certificate check, HTTP headers analysis, and IP geolocation in one call. Use this when you need a complete security overview of a target domain.
Inputs: domain (required).
http_headersA
Fetch and analyze HTTP response headers from a URL. Checks for security headers (HSTS, CSP, X-Frame-Options, etc.) and identifies information leakage (Server, X-Powered-By). Use this to audit a website's security posture.
Inputs: url (required).
ip_geolocationA
Get geographic location and network information for an IP address. Returns country, city, ISP, ASN, coordinates, and flags for proxy/VPN/hosting detection. Uses ip-api.com (free, no API key).
Inputs: ip (required).
port_scanA
Scan TCP ports on a host to discover open services. Performs TCP connect scan on specified ports. Use this to find what services are running on a server. Default scans common ports (21,22,23,25,53,80,110,143,443,445,993,995,1433,3306,3389,5432,5900,6379,8080,8443,9200,27017).
Inputs: host (required), ports.
reverse_dnsB
Perform reverse DNS lookup on an IP address to find associated hostnames. Use this to discover what domains point to a given IP.
Inputs: ip (required).
shodan_internetdbA
Query Shodan's InternetDB for quick intelligence on an IP address. Returns known open ports, hostnames, CPEs (software versions), tags, and known vulnerabilities (CVEs). Free, no API key required. Use this for rapid threat assessment of an IP.
Inputs: ip (required).
subdomain_enumA
Enumerate subdomains for a domain using Certificate Transparency logs (crt.sh). Discovers subdomains that have had SSL certificates issued. Use this for attack surface discovery or to map an organization's web presence.
Inputs: domain (required).
tls_certificateA
Inspect the TLS/SSL certificate of a host. Returns subject, issuer, validity dates, SANs, fingerprint, and OCSP info. Use this to check certificate expiry, issuer, or discover subdomains via Subject Alternative Names.
Inputs: host (required), port.
whois_lookupA
Get WHOIS/RDAP registration information for a domain or IP address. Returns registrar, registration dates, nameservers, registrant info, network allocation details. Use this to find who owns a domain or IP block.
Inputs: target (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 10 tools
Each tool targets a distinct reconnaissance data source (DNS, WHOIS, rDNS, TLS, ports, CT logs, headers, geo, Shodan), so misselection is unlikely. The main overlap is that shodan_internetdb and port_scan both surface open ports, and full_recon re-runs everything else, though its description makes the batch role clear.
All names are lowercase snake_case and resource-oriented (dns_lookup, whois_lookup, tls_certificate, ip_geolocation), which is predictable and readable. Minor deviations exist: reverse_dns uses a verb-first order while others use resource_action, and http_headers/full_recon drop the action component entirely.
Ten tools is well within the ideal range and each maps to a distinct recon capability. No filler tools are present; even full_recon is justified as a convenience aggregator.
The surface covers the core recon lifecycle: passive discovery (DNS, WHOIS, CT subdomains), active probing (ports, TLS, headers), and enrichment (geo, Shodan CVEs), plus an aggregate run. Minor gaps remain: no CIDR/IP-range scanning, no email security posture (SPF/DMARC summarization) or reputation/blacklist check, and no screenshot/tech-fingerprint beyond headers.
Maintenance
Related MCP Connectors
Free, no-API-key network lookups for AI agents — IP geolocation, DNS, WHOIS, HTTP and SSL/TLS certificate checks, and full domain health reports.
29 DNS, SEO, SSL, security, WHOIS & mail tools for AI agents. Pay per call (x402) or card API key.
Domain intel for agents: DNS, RDAP age/registrar, CT certs, security headers, tech stack, sitemaps.
A domain's DNS records and RDAP registration per call for AI agents. Paid per domain, no run.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to perform cybersecurity analysis including RDAP lookup, DNS analysis, SSL inspection, security header detection, and more, returning structured security reports.-
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to perform live subdomain enumeration, passive DNS OSINT, technology stack profiling, port scanning, and B2B lead harvesting directly from chat.MIT
- AlicenseNot gradedqualityAmaintenanceEnables AI agents to perform Shodan-powered host reconnaissance, internet-device search, DNS lookups, and CVE/CPE vulnerability intelligence through read-only tools.MIT
- AlicenseNot gradedqualityAmaintenanceProvides AI agents with Shodan-powered host and device reconnaissance, DNS lookups, and CVE/CPE vulnerability intelligence, including EPSS and KEV status.MIT