spectra
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., "@spectraRun a full OSINT scan on example.com including WHOIS, subdomains, and open ports."
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.
Spectra

Spectra — Open-Source OSINT Reconnaissance Toolkit
A Python 3 OSINT framework for collecting publicly available data about domains, IP addresses, email addresses, and organisations. Runs as an interactive CLI, a Django web UI, and an MCP server for Claude Desktop.
Ethical Use Notice: This tool is for educational and authorised security research only. Only use it against targets you have explicit written permission to scan. The authors accept no liability for misuse.
Features
Category | Capability |
Domain Intel | WHOIS, Banner Grab, Subdomain Enum (5 sources), DNS Deep Scan |
IP Intel | IP WHOIS/ARIN, ASN/BGP lookup, Reverse DNS, Real IP behind CDN/WAF |
SSL/TLS | Certificate inspection, CT log history, expiry alerts |
Web Fingerprinting | Security Headers (A+ grade), WAF/CDN detection, Favicon Hash (Shodan) |
Email Intel | Email harvest from search engines + PGP keyservers |
Document Intel | Public document scraper, EXIF/metadata extraction |
Exposure Checks | Exposed .git/.svn, .env, config.php, backups, phpinfo |
Network Recon | Port scanner (with rate limiting), robots.txt scraper |
Company Intel | LinkedIn company/employee intelligence |
Username | Username availability checker across platforms |
Storage | SQLite3 database for scan results |
Interfaces | Interactive CLI, Django web UI, MCP server for Claude Desktop |
Privacy | Rotating User-Agents, proxy support (single + rotating list) |
Related MCP server: OSINT MCP Server
Requirements
System
Python 3.10+
nmap(optional — for port scanning; non-root TCP scan works without it)exiftool(optional — for document metadata extraction)git(optional — for update checks)
Install system deps
Debian/Ubuntu:
sudo apt-get install nmap git sqlite3 libimage-exiftool-perlmacOS (Homebrew):
brew install nmap git exiftoolWindows:
Installation
git clone https://github.com/your-username/spectra.git
cd spectra
pip install -r requirements.txt
python3 Spectra.py --helpDocker
docker build -t spectra .
docker run -it --rm spectra
# With web UI:
docker run -p 127.0.0.1:8000:8000 -it spectra python3 web/manage.py runserver 0.0.0.0:8000CLI Usage
python3 Spectra.pyInside the interactive shell:
spectra > set domain example.com
spectra > set orgcomp "Example Corp"
spectra > show options
spectra > startCLI Options
Command | Description |
| Target domain |
| Organisation/company name |
| Username to check |
| Email address |
| Single proxy (e.g. |
| File with proxy list (one per line) |
| Display all parameter values |
| Run full automated scan |
| Start web UI only |
| Show version |
| Exit |
SSL Verification
By default all requests verify SSL certificates. If you are scanning a target with a known self-signed certificate, you can disable verification explicitly:
python3 Spectra.py --no-ssl-verifyA warning is printed when this flag is used. Never use it casually.
Web UI
After running a scan the Django web UI shows all results:
python3 web/manage.py runserver 127.0.0.1:8000Then open http://127.0.0.1:8000 in your browser.
NOTE:
runserveris for local use only. Do not expose it on a public interface or production server. It has no authentication and is not hardened.
First-time setup
python3 web/manage.py migrateMCP Server (Claude Desktop Integration)
Spectra exposes all its scan functions as MCP tools so Claude can call them directly in conversation.
Setup
Run the MCP server:
python3 spectra_mcp_server.pyAdd to Claude Desktop config (
%APPDATA%\Claude\claude_desktop_config.jsonon Windows,~/Library/Application Support/Claude/claude_desktop_config.jsonon macOS):{ "mcpServers": { "spectra": { "command": "python3", "args": ["C:/full/path/to/spectra/spectra_mcp_server.py"] } } }Restart Claude Desktop. You will see the Spectra tools listed.
Available MCP Tools
Tool | Description |
| WHOIS lookup |
| Subdomain enumeration |
| Full DNS scan |
| SSL/TLS inspection |
| ASN/BGP lookup |
| Reverse DNS / PTR |
| Find origin IP behind CDN/WAF |
| HTTP security header analysis |
| WAF/CDN detection |
| Full IP WHOIS / ARIN |
| Favicon MurmurHash3 (Shodan) |
| HTTP/HTTPS banner grab |
| robots.txt fetch |
| Email harvest from PGP keyservers |
| Exposed .env, config, backups |
| Port scan with rate limiting |
Security Notes
SSL verification is enabled by default. Use
--no-ssl-verifyonly when explicitly needed.nmap uses TCP connect scan (
-sT) when running as a non-root user; SYN scan (-sS) only when root.Input validation is applied to all domain/IP inputs before they reach any subprocess or DNS resolver.
SQLite database stores scan results in plaintext. Treat
web/db.sqlite3as sensitive data — it contains OSINT findings including emails, IP info, and document metadata. Do not commit it to version control.Django SECRET_KEY should be set via the
SPECTRA_SECRET_KEYenvironment variable before any use beyond local-only. The default insecure key is only acceptable for local-only dev use.Rate limiting is applied to port scans (50ms default delay, configurable). Increase it when scanning to avoid triggering IDS alerts.
Log files in
logs/use rotating handlers (5 MB, 5 backups) and are excluded from git. They may contain sensitive target information — treat them accordingly.
Tested On
Ubuntu 22.04 / 24.04
Debian 12 (Bookworm)
macOS 14+
Windows 11
Credits & License
Spectra is based on Belati (Copyright © 2017 Aan Wahyu / Petruknisme, https://github.com/aancw/Belati).
Licensed under the GNU General Public License v2 (GPLv2). See LICENSE for the full text.
Portions of this project incorporate:
pywhois — WHOIS parsing
CheckMyUsername — vendored in
lib/MailHarvester / Emingoo regex patterns — thanks to pantuts and maldevel
Contributing
Pull requests welcome. Please see CONTRIBUTING.md.
Changelog
See CHANGELOG.md.
Related MCP Connectors
20 domain recon tools for AI agents: DNS, SSL, headers, email, subdomains, lookalikes, changes.
AI Visibility and Content Intelligence tools for Claude and MCP-compatible agents.
Domain intel for AI agents: RDAP registration, DNS, email deliverability, tech stack.
Domain intel for AI agents: RDAP registration, DNS, email deliverability, tech stack.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceIntegrates ProjectDiscovery's Katana web crawler with Claude Desktop, enabling users to crawl websites, discover endpoints and hidden resources, extract JavaScript files, and perform reconnaissance with customizable depth, scope, and filtering options.MIT
- AlicenseBqualityNot gradedmaintenanceA unified Open Source Intelligence toolkit that integrates data sources like Censys, Shodan, and LinkedIn for comprehensive infrastructure and identity research. It enables users to perform automated email verification, vulnerability scanning, and person or company enrichment directly through Claude.22MIT
- AlicenseAqualityAmaintenanceCyberSecurity MCP Server extends Claude with real-time cybersecurity reconnaissance capabilities that Claude doesn't have by default. Instead of manually running 5 different tools across different terminals, just tell Claude "analyze google.com" and get a complete security breakdown instantly. Tools included: * WHOIS Lookup — registrar, ownership, creation/expiry dates * DNS Enumeration — A,827MIT
- AlicenseAqualityBmaintenanceAI-powered OSINT framework exposing 10 tools (email, username, breach, WHOIS, IP, subdomain, phone, Shodan, dorks, Pastebin) as an MCP server for Claude Code and Claude Desktop, with an autonomous agent REPL and direct CLI.24903 PyPI1,604MIT