theHarvester MCP Server
Uses DuckDuckGo as a free OSINT source when harvesting a domain, helping discover publicly available emails, subdomains, hostnames, IPs, and LinkedIn profiles.
Can use VirusTotal as an OSINT source for domain harvesting when a VirusTotal API key is configured in the underlying theHarvester installation.
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., "@theHarvester MCP Serverfind public emails and subdomains for example.com using free sources"
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.
theHarvester MCP Server: OSINT email and subdomain discovery for AI agents
theHarvester MCP Server wraps theHarvester in a Model Context Protocol server so Claude Code, Cursor, or any MCP client can harvest public emails, subdomains, hostnames, IPs, and LinkedIn profiles for a domain on demand. Multi-arch Docker image, stdio transport, no API keys for the default free sources.
It is built for lead generation and prospecting: ask your agent "find public contacts for
example.com" and it calls the harvest tool, which fans out to sources like crtsh,
hackertarget, urlscan, and DuckDuckGo, then returns structured JSON. Harvests run asynchronously
with configurable concurrency and timeouts, and results stay retrievable by harvest ID.
Quick start
docker pull devkind/theharvester-mcpAdd to .mcp.json (Claude Code) or your MCP client config:
{
"mcpServers": {
"theharvester": {
"command": "docker",
"args": ["run", "--rm", "-i", "devkind/theharvester-mcp"]
}
}
}Then ask your agent: "Harvest example.com using free sources."
Related MCP server: leads-mcp
Tools
Tool | What it does |
| Run an OSINT harvest on a domain (sources: |
| Fetch a previous harvest by ID |
| Show currently running harvests |
| List all available sources and which need API keys |
Seven sources work with no API key: crtsh, hackertarget, dnsdumpster, rapiddns, urlscan, otx, and duckduckgo. Sources like shodan, censys, and virustotal need keys configured in the theHarvester install.
Example call and output
Tool call: harvest with {"domain": "example.com", "sources": "free"}
{
"harvest_id": "a1b2c3d4",
"domain": "example.com",
"status": "completed",
"duration_seconds": 42.5,
"sources_used": ["crtsh", "hackertarget", "urlscan"],
"summary": {"emails": 3, "hosts": 27, "ips": 12, "linkedin": 2},
"emails": ["info@example.com", "support@example.com", "press@example.com"],
"hosts": ["www.example.com", "api.example.com", "mail.example.com"]
}Output is illustrative; real counts depend on the target domain and source availability. The
harvest tool accepts domain (required), sources (free, all, or a comma-separated
list), limit, and timeout; invalid domains are rejected before any network call.
Configuration
Environment variables: THEHARVESTER_TIMEOUT (default 120s), THEHARVESTER_MAX_CONCURRENT
(default 2), THEHARVESTER_OUTPUT_DIR (default /app/output).
Responsible use
theHarvester collects only publicly published information, but OSINT tooling attracts scrutiny. Use this server only on domains you own or have written permission to research, and for lawful purposes such as security assessment, asset inventory, and business prospecting against public business contact data. Respect each source's terms of service and applicable privacy and anti-spam law (GDPR, CAN-SPAM, PECA) when acting on harvested contacts. The maintainers are not responsible for misuse.
Roadmap
MCP Registry listing (
server.json+ publisher CLI)Optional Smithery / Glama listings
Pinned theHarvester version releases alongside
latestCI workflow building and pushing the multi-arch image on tag
License and contributing
MIT © Devkind. Issues and PRs welcome, see CONTRIBUTING.md and SECURITY.md.
Built by Devkind. Maintained by Kazim Ali.
This server cannot be deployed
Maintenance
Related MCP Connectors
The Google for AI agents — company intel, competitor tracking, market research via MCP. JSON output
Web scraping, extraction and search for AI agents. Hosted MCP with workspace API keys.
MCP tools for agents: web research, content extraction, email, DNS, and blockchain intelligence.
Scrape, crawl and search the web for AI agents via MCP.
Related MCP Servers
- -licenseNot gradedqualityNot gradedmaintenanceExposes popular OSINT and reconnaissance tools like Sherlock, SpiderFoot, and Holehe through MCP and HTTP APIs for AI assistants. Runs security research tools in sandboxed environments and returns normalized JSON results for investigation and analysis.1-
- AlicenseAqualityDmaintenanceLead generation MCP server for AI agents. Find emails, verify contacts, enrich profiles, and search prospects using Hunter.io, Apollo.io, and Abstract API.89 npmMIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server providing 15 OSINT tools over free, public sources for AI agents, enabling domain reconnaissance, subdomain discovery, DNS lookups, host profiling, CVE search, and more without API keys.MIT

FullEnrich MCPofficial
AlicenseNot gradedqualityAmaintenanceEnables AI agents to search B2B people and companies, enrich contacts with verified emails and mobile phone numbers via waterfall enrichment across 25+ providers, and export results as CSV or JSON. Supports prospecting, org mapping, candidate sourcing, and outreach workflows through OAuth-authenticated remote access from any MCP-compatible client.10MIT