An MCP server that gives AI coding agents (Claude Code, Codex, Cline) safe, structured network & security reconnaissance tools — DNS, WHOIS, TLS, HTTP headers, and port scanning. For authorized testing and education only.
Project description
recon-mcp
English | 繁體中文
An MCP server that gives AI coding agents — Claude Code, Codex, Cline, and any MCP client — safe, structured network and security reconnaissance tools.
Most MCP servers wrap CRUD APIs. recon-mcp instead exposes the kind of
read-only recon an engineer reaches for when investigating an asset, and returns
clean JSON — with a graded verdict — so the agent can reason over results
instead of parsing console output.
⚠️ Authorized use only. These tools are for security testing of assets you own or have explicit written permission to assess, for CTF practice, and for education. Do not point them at third-party infrastructure without authorization. You are responsible for how you use this software.
Tools
| Tool | What it does |
|---|---|
dns_recon |
Passive DNS + WHOIS + email-security (SPF/DMARC/DKIM) lookup, with a graded email-security assessment |
tls_check |
SSL/TLS inspection: certificate, protocol versions, cipher suites, forward secrecy, HSTS, OCSP, known protocol vulnerabilities — graded |
http_headers_audit |
Audits HTTP security response headers (CSP, HSTS, X-Frame-Options, COEP/COOP/CORP, …) — graded |
Roadmap: port_scan (rate-limited, opt-in, authorized targets only).
Install
Requires Python ≥ 3.10.
Recommended — no clone, via uv:
uvx recon-kit-mcp
Or from source (for development):
git clone https://github.com/nan786521/recon-mcp
cd recon-mcp
python -m venv .venv
# Windows
.venv\Scripts\activate
# macOS / Linux
source .venv/bin/activate
pip install -e .
Use with Claude Code
Add the server (stdio transport). With uvx you don't need an absolute path:
claude mcp add recon -- uvx recon-kit-mcp
Or add it manually to any MCP client config:
{
"mcpServers": {
"recon": {
"command": "uvx",
"args": ["recon-kit-mcp"]
}
}
}
(From a source checkout, point the command at /absolute/path/to/.venv/bin/recon-kit-mcp instead.)
Then ask the agent things like "run dns_recon on example.com and tell me if its email security is properly configured" or "audit the TLS and security headers of example.com."
Tool reference
dns_recon(domain, checks?, timeout?) -> dict
- records — A, AAAA, MX, NS, TXT, SOA, CNAME records
- whois — parsed registration fields + raw WHOIS text
- email — SPF, DMARC, and DKIM posture, plus a graded
assessment(letter grade A–F, a summary, and per-check findings with severity and a recommended fix)
checks is any subset of ["records", "whois", "email"]; omit it to run all.
tls_check(host, port=443, timeout?) -> dict
Returns grade, certificate (validity / expiry / key algorithm),
protocols (flags legacy SSLv3 / TLS 1.0 / 1.1), cipher info,
forward_secrecy, hsts, vulnerabilities (each with a vulnerable flag),
and a findings list.
http_headers_audit(host, port?, use_ssl=True, timeout?) -> dict
Returns grade, score, the observed security headers, and a findings
list with a recommendation per header. Defaults to HTTPS (port 443).
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file recon_kit_mcp-0.1.1.tar.gz.
File metadata
- Download URL: recon_kit_mcp-0.1.1.tar.gz
- Upload date:
- Size: 26.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2a653d419a99a690b05a2a522b4ee7397ded2daa7e4fa9586f2ab7133fc53d24
|
|
| MD5 |
bd8e994ec9cfe900d450895037a72508
|
|
| BLAKE2b-256 |
638d6ae26bd0631743248aa7bc568893f9727d2819ee6007a03f49f7e40fde81
|
Provenance
The following attestation bundles were made for recon_kit_mcp-0.1.1.tar.gz:
Publisher:
publish.yml on nan786521/recon-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
recon_kit_mcp-0.1.1.tar.gz -
Subject digest:
2a653d419a99a690b05a2a522b4ee7397ded2daa7e4fa9586f2ab7133fc53d24 - Sigstore transparency entry: 1689531497
- Sigstore integration time:
-
Permalink:
nan786521/recon-mcp@1560bcc0f195da81404b3deeb892f00fc99a2b68 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/nan786521
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@1560bcc0f195da81404b3deeb892f00fc99a2b68 -
Trigger Event:
push
-
Statement type:
File details
Details for the file recon_kit_mcp-0.1.1-py3-none-any.whl.
File metadata
- Download URL: recon_kit_mcp-0.1.1-py3-none-any.whl
- Upload date:
- Size: 23.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
939b422eddec22808ab3fbbab9fa48c0ec3252ecf4cb2cad972f31322c0226c7
|
|
| MD5 |
3f4ebbad98c7a0aff6bc02555603f79a
|
|
| BLAKE2b-256 |
1c4b70f826a7c62835a9baaf319263f713a846ed8bb25631eecb3337357da8eb
|
Provenance
The following attestation bundles were made for recon_kit_mcp-0.1.1-py3-none-any.whl:
Publisher:
publish.yml on nan786521/recon-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
recon_kit_mcp-0.1.1-py3-none-any.whl -
Subject digest:
939b422eddec22808ab3fbbab9fa48c0ec3252ecf4cb2cad972f31322c0226c7 - Sigstore transparency entry: 1689531583
- Sigstore integration time:
-
Permalink:
nan786521/recon-mcp@1560bcc0f195da81404b3deeb892f00fc99a2b68 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/nan786521
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@1560bcc0f195da81404b3deeb892f00fc99a2b68 -
Trigger Event:
push
-
Statement type: