
theHarvester MCP
io.github.devkindhq由 GitHub 账号 devkindhq 发布v1.0.0更新于 Nov 1, 2026
OSINT email and subdomain discovery for AI agents, powered by theHarvester. Multi-arch Docker.
概览
封装 theHarvester,让助手对某个域名执行 OSINT 采集,获取公开的邮箱、子域名、主机、IP 和 LinkedIn 资料。
- 可以做什么
- 对域名执行 OSINT 采集,可选择免费源、全部源或指定源列表,返回含邮箱、主机、IP 和 LinkedIn 资料的结构化 JSON
- 按采集 ID 获取此前一次采集的结果
- 列出当前正在运行的采集任务
- 列出可用数据源以及哪些需要 API 密钥
- 适用场景
- 适合在潜客开发与商机挖掘、安全评估或资产盘点时,让助手收集你拥有或获授权研究的域名的公开联系人与子域名信息。
- 运行要求
- 本机需安装 Docker,服务器以 stdio 容器方式运行。需要 Claude Desktop、Claude Code、Cursor、VS Code、Windsurf、Goose、LM Studio 或 Warp 等 MCP 客户端。默认免费源无需 API 密钥;shodan、censys、virustotal 等源需在 theHarvester 安装中配置密钥。可选环境变量 THEHARVESTER_TIMEOUT、THEHARVESTER_MAX_CONCURRENT 和 THEHARVESTER_OUTPUT_DIR。需要网络访问。
安装
在 SourceWeft 中
- 打开 控制台中的 theHarvester MCP,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
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].
来源:README.md,提交 7cbc6ab
工具
0版本历史
1- v1.0.0最新Nov 1, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分