
theHarvester MCP
io.github.devkindhqPublished by GitHub account devkindhqv1.0.0Updated Nov 1, 2026
OSINT email and subdomain discovery for AI agents, powered by theHarvester. Multi-arch Docker.
Overview
Wraps theHarvester so an assistant can run OSINT harvests of public emails, subdomains, hosts, IPs and LinkedIn profiles for a domain.
- What you can do
- Run an OSINT harvest on a domain using free, all, or a chosen list of sources, returning structured JSON with emails, hosts, IPs and LinkedIn profiles
- Fetch the results of a previous harvest by its harvest ID
- List currently running harvests
- List available sources and which ones require API keys
- When to use it
- Useful for lead generation and prospecting, security assessment or asset inventory when you want an assistant to gather publicly published contact and subdomain data for a domain you own or are authorized to research.
- Requirements
- Docker on the local machine; the server runs as a stdio container. An MCP client such as Claude Desktop, Claude Code, Cursor, VS Code, Windsurf, Goose, LM Studio or Warp. No API keys for the default free sources; keyed sources like shodan, censys and virustotal need keys configured in the theHarvester install. Optional environment variables THEHARVESTER_TIMEOUT, THEHARVESTER_MAX_CONCURRENT and THEHARVESTER_OUTPUT_DIR. Network access is required.
Installation
In SourceWeft
- Open theHarvester MCP in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
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
Add to .mcp.json (Claude Code) or your MCP client config:
Then ask your agent: "Harvest example.com using free sources."
Install in your client
Requirements:
- Docker
- Claude Desktop, Claude Code, Cursor, VS Code, Windsurf, or any other MCP client
- No API keys for the default free sources
Standard config works in most MCP clients:
Claude Desktop
Follow the MCP install guide and add the standard config above to your claude_desktop_config.json.
Claude Code
Run:
Or add the standard config above to .mcp.json in your project root.
Cursor
Click the button to install:
Or install manually:
Go to Cursor Settings -> MCP -> Add new MCP Server. Name it "theHarvester MCP", use command type with the command docker run --rm -i devkind/theharvester-mcp.
VS Code
Follow the MCP install guide and use the standard config above. You can also install with the VS Code CLI:
Windsurf
Follow the Windsurf MCP documentation and use the standard config above.
Goose
Go to Advanced settings -> Extensions -> Add custom extension. Name it "theHarvester MCP", use type STDIO, and set the command to docker run --rm -i devkind/theharvester-mcp. Click "Add Extension".
LM Studio
Go to Program in the right sidebar -> Install -> Edit mcp.json. Use the standard config above.
Warp
Go to Settings -> AI -> Manage MCP Servers -> + Add to add an MCP Server. Use the standard config above, or use the slash command /add-mcp in the Warp prompt and paste it.
Tools
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"}
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
- Official MCP Registry listing (
io.github.devkindhq/theharvester-mcp) - Docker MCP Registry, Smithery and Glama listings
- Pinned theHarvester version releases alongside
latest - CI 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.
Need OSINT and lead generation built into your stack?
Devkind builds custom MCP servers, AI agent workflows and commerce integrations. If you want this kind of harvesting wired into your CRM, enrichment or outreach tooling, talk to Devkind or email [email protected].
Source: README.md at commit 7cbc6ab
Tools
0Version history
1- v1.0.0LatestNov 1, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts