OSINT MCP

io.github.rjn32s由 GitHub 账号 rjn32s 发布v0.1.1更新于 Oct 24, 2026

26 free OSINT tools as MCP tools for AI agents. Auto-installs everything on first run.

发布方自己的服务:osint.foundation

概览

AI 生成的概览

一个本地 MCP 服务器,封装 26 个免费 OSINT 工具,让助手执行 WHOIS、DNS、子域名、用户名、邮箱、泄露与威胁情报查询。

可以做什么
查询域名与 DNS:WHOIS、DNS 记录、子域名枚举、攻击面测绘、证书透明度、邮箱与主机收集、区域传送与反向查询;配置密钥后还可获取 ipinfo.io 的 IP 地理位置与 ASN 信息。扫描网络与主机:nmap 端口与服务扫描、Shodan 主机与设备搜索、VirusTotal 对 URL、IP、域名和哈希的检测。调查身份:在数百至数千个站点搜索用户名、由邮箱查找关联账号、泄露检查,以及电话号码的运营商与国家信息。查看网页历史与信誉:Wayback Machine 快照与 urlscan.io 的 URL 扫描。用 TruffleHog 和 Gitleaks 扫描代码中的暴露密钥。管理工具状态与 API 密钥配置。
适用场景
适用于经授权的安全研究、获得书面许可的渗透测试、漏洞赏金前期信息收集、威胁情报指标补充,以及在助手辅助下学习 OSINT。不适用于未经同意调查个人或探测非自有系统。
运行要求
以 stdio 本地运行,通过 uvx 或 pip 启动,仅支持 macOS 与 Linux。需要 Python 3.10+,macOS 上须预装 Homebrew,部分工具需要 Go 1.21+。首次运行会通过 Homebrew、apt、yum、Go 或 pip 安装底层程序,因此需要网络访问和包管理器权限。可选免费 API 密钥:HIBP_KEY、IPINFO_KEY、SHODAN_KEY、URLSCAN_KEY、VIRUSTOTAL_KEY。
安装前请注意
首次运行会自动安装大量第三方程序与系统软件包。端口扫描、密钥扫描等主动工具会接触外部主机或代码仓库,应仅在获得许可时使用。可选 API 密钥(HIBP_KEY、IPINFO_KEY、SHODAN_KEY、URLSCAN_KEY、VIRUSTOTAL_KEY)可通过配置工具在对话中保存,并以掩码形式读回。查询会把目标发送给 Shodan、VirusTotal、urlscan.io、crt.sh 等第三方服务。滥用可能违反法律或服务条款。

安装

在 SourceWeft 中

  1. 打开 控制台中的 OSINT MCP,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

osint-mcp — Free OSINT Tools as MCP Tools for AI Agents

One command. 26 free OSINT tools. Any AI agent.

[PyPI version] [Python 3.10+] [License: MIT] [Platform] [MCP Compatible]

bash
uvx osint-mcp   # installs everything and starts the MCP server

What is osint-mcp?

osint-mcp is a Python package that wraps 26 free OSINT (Open Source Intelligence) tools as MCP (Model Context Protocol) tools, giving AI agents like Claude, GPT-4, and any MCP-compatible agent the ability to perform real OSINT investigations directly from a conversation.

The problem it solves: Running OSINT tools traditionally requires installing a dozen separate binaries, writing glue scripts, and manually parsing outputs. osint-mcp automates the entire setup — it detects your OS, installs all tools via Homebrew / apt / Go / pip, and exposes them to your AI agent through a single MCP server.

Who it is for:

  • Security researchers and penetration testers who want AI-assisted reconnaissance
  • Developers building AI agents with security investigation capabilities
  • Bug bounty hunters automating initial footprinting
  • Threat intelligence analysts enriching IOCs (Indicators of Compromise)
  • Students learning OSINT with AI guidance

Key Features

  • 26 free OSINT tools spanning network, domain, social media, email, web, phone, and secrets scanning
  • Single-command setup — uvx osint-mcp auto-installs all underlying tools on first run
  • MCP-native — works out of the box with Claude Desktop, any MCP client, or the Anthropic SDK
  • Zero-config for most tools — 15 tools work with no API key at all
  • Graceful degradation — tools with optional free API keys (Shodan, VirusTotal) work in reduced mode without them and tell you exactly how to enable full access
  • macOS + Linux support (Homebrew, apt, yum, Go, pip — all detected automatically)
  • Safe by default — passive recon only unless you explicitly call a port-scan or secrets-scan tool

One-Command Setup (Recommended)

uvx is the Python equivalent of npx — it installs the package in an isolated environment and runs it immediately. No pip install, no virtual environment setup needed.

bash
uvx osint-mcp

On first run, this automatically:

  1. Installs osint-mcp in an isolated Python environment
  2. Detects your OS (macOS or Linux)
  3. Installs all 26 OSINT tool binaries via Homebrew / apt / Go / uv pip
  4. Starts the MCP server on stdio (ready for Claude Desktop or any MCP client)

On subsequent runs, it boots in under a second — tools are already installed.


Connect to Claude Desktop

Add one entry to your Claude Desktop config and you are done.

macOS — ~/Library/Application Support/Claude/claude_desktop_config.json
Linux — ~/.config/Claude/claude_desktop_config.json

json
{  "mcpServers": {    "osint": {      "command": "uvx",      "args": ["osint-mcp"]    }  }}

Restart Claude Desktop. You will see 26 new OSINT tools available in the tool list.


Alternative: Traditional pip Install

If you prefer managing your own environment:

bash
pip install osint-mcp
# Install all OSINT tool binariesosint-mcp install
# Check what is availableosint-mcp status
# Start the MCP serverosint-mcp serve

How It Works

Claude Desktop / AI Agent        │        │  MCP (stdio)        ▼  osint-mcp server        │        ├── osint_whois        →  python-whois library        ├── osint_port_scan    →  nmap binary (subprocess)        ├── osint_subdomain_enum → subfinder binary        ├── osint_cert_transparency → crt.sh public API (HTTP)        ├── osint_shodan_host  →  Shodan REST API (optional key)        ├── osint_virustotal   →  VirusTotal REST API (optional key)        └── ... 20 more tools

Each tool is a BaseTool subclass. The registry auto-discovers all subclasses at startup and registers them with FastMCP. If a tool's binary is not installed, it returns a clear "not installed — run osint-mcp install" message instead of crashing.


Complete Tool Reference (26 Tools)

Network Intelligence

MCP ToolUnderlying TechnologyKey Required?What It Does
osint_whoispython-whoisNoWHOIS lookup — registrar, creation date, expiry, nameservers
osint_dns_lookupdigNoDNS records: A, AAAA, MX, NS, TXT, CNAME, SOA, PTR, SRV, CAA
osint_port_scannmapNoPort and service scan with version detection
osint_ip_infoipinfo.io APIOptionalIP geolocation, ISP, org, timezone, abuse contact
osint_asn_lookupipinfo.io APIOptionalASN number, BGP prefix, network owner

Domain & DNS Intelligence

MCP ToolUnderlying TechnologyKey Required?What It Does
osint_subdomain_enumsubfinderNoPassive subdomain enumeration from 40+ sources
osint_amassamassNoDeep attack-surface mapping across DNS, certs, APIs
osint_cert_transparencycrt.sh APINoCertificate transparency log search — reveals subdomains via SSL certs
osint_harvestertheHarvesterNoEmail addresses, hostnames, employee names from public sources
osint_dnsrecondnsreconNoZone transfer attempts, SRV enumeration, reverse lookups

Social Media & Username OSINT

MCP ToolUnderlying TechnologyKey Required?What It Does
osint_username_searchSherlockNoUsername search across 300+ social platforms
osint_maigretMaigretNoDeep username profiling across 3,000+ sites with profile extraction

Email Intelligence

MCP ToolUnderlying TechnologyKey Required?What It Does
osint_email_accountsHoleheNoFind which services (Instagram, Twitter, etc.) are linked to an email
osint_email_breachHaveIBeenPwnedOptionalCheck if an email appears in known data breaches

Web & Threat Intelligence

MCP ToolUnderlying TechnologyKey Required?What It Does
osint_waybackInternet Archive APINoRetrieve historical snapshots of any URL from the Wayback Machine
osint_urlscanurlscan.io APIOptionalScan a URL — returns IPs contacted, tech stack, screenshot, threat score
osint_shodan_hostShodan APIRequired (free)Open ports, services, banners, CVEs for any IP
osint_shodan_searchShodan APIRequired (free)Search internet-connected devices with Shodan query syntax
osint_virustotalVirusTotal APIRequired (free)Check URLs, IPs, domains, or file hashes against 70+ AV engines

Phone Number OSINT

MCP ToolUnderlying TechnologyKey Required?What It Does
osint_phone_infoPhoneInfogaNoCarrier, country, line type, and public source search for phone numbers

Secrets & Code Scanning

MCP ToolUnderlying TechnologyKey Required?What It Does
osint_scan_secretsTruffleHogNoScan a Git repo URL or local path for exposed secrets and API keys
osint_gitleaksGitleaksNoDetect hardcoded passwords and tokens in Git history

Meta / Utility

MCP ToolWhat It Does
osint_install_statusJSON list of all tools with availability status — useful for agents to check before running
osint_config_getRead a stored API key (masked)
osint_config_setStore an API key from within an agent conversation
osint_config_listList all configured API keys

Optional Free API Keys

These tools work without a key but unlock significantly more data with one. All are free to register.

ToolConfig KeyFree TierRegister At
Shodanshodan_key1 query/sec, 100 resultshttps://account.shodan.io
VirusTotalvirustotal_key4 requests/minhttps://www.virustotal.com/gui/join-us
ipinfo.ioipinfo_key50,000 req/monthhttps://ipinfo.io/signup
HaveIBeenPwnedhibp_keyFree for email checkshttps://haveibeenpwned.com/API/Key
urlscan.iourlscan_key100 scans/dayhttps://urlscan.io/user/signup
bash
# Set a key via CLIosint-mcp config set shodan_key=YOUR_KEY
# Or let your AI agent set it during a conversation (via osint_config_set tool)

Example AI Agent Conversations

Once connected to Claude Desktop, you can ask questions like:

"Investigate the domain example.com — find subdomains, check for data breaches on contact emails, and look it up on Shodan."

"Scan the GitHub repo github.com/org/repo for exposed secrets and API keys."

"Find all social media accounts associated with the username johndoe123."

"Check if the IP 1.2.3.4 is listed on Shodan and what ports are open."

"Look up the phone number +14155552671 and find what carrier and country it's registered to."

The agent automatically chains multiple tools, interprets the results, and presents a coherent investigation summary — no manual tool orchestration needed.


CLI Reference

osint-mcp                          Start the MCP server (default, same as serve)osint-mcp serve                    Start the MCP server explicitlyosint-mcp serve --no-auto-install  Skip first-run tool installationosint-mcp install                  Install all missing OSINT toolsosint-mcp install --category X     Install only tools in category (network/domain/social…)osint-mcp install --dry-run        Preview what would be installedosint-mcp status                   Show a table of all tools and their availabilityosint-mcp config set KEY=VALUE     Store an API keyosint-mcp config get KEY           Read a stored key (masked)osint-mcp config list              List all stored keysosint-mcp config delete KEY        Remove a keyosint-mcp --version                Print versionosint-mcp --help                   Show help

Supported Platforms

PlatformHow Tools Are Installed
macOSHomebrew (brew install) · go install · uv pip install
Linux (Debian / Ubuntu)apt-get install · go install · uv pip install
Linux (RHEL / Fedora / CentOS)yum / dnf · go install · uv pip install

Prerequisites auto-handled:

  • Homebrew — must be pre-installed on macOS (https://brew.sh)
  • Go 1.21+ — required for subfinder, amass, phoneinfoga, gitleaks (installer skips gracefully if absent)
  • Python 3.10+ — required (bundled when using uvx)

Frequently Asked Questions

Q: What is MCP (Model Context Protocol)?
A: MCP is an open standard by Anthropic that lets AI models call external tools in a structured, secure way. It is to AI agents what HTTP is to web browsers — a universal protocol for tool use. Learn more at modelcontextprotocol.io.

Q: Does osint-mcp work with AI agents other than Claude?
A: Yes. Any MCP-compatible client works — including OpenAI's agent framework (via MCP adapters), LangChain, LlamaIndex, and custom agents built with the Anthropic SDK. The server communicates over stdio using the standard MCP JSON-RPC protocol.

Q: Does it cost anything?
A: The package itself is free and open source. All 26 tools are free. Some tools (Shodan, VirusTotal) require a free API key registration for full functionality but offer a usable free tier.

Q: Is it safe? Will it run scans without my permission?
A: Passive tools (WHOIS, certificate transparency, breach databases, username search) run automatically. Active tools (port scanning with nmap, secret scanning with TruffleHog) only run when you or your agent explicitly calls them — and the server instructions remind the agent to confirm with the user before active scans.

Q: How is this different from running OSINT tools manually?
A: Three ways: (1) Installation — one command installs everything vs. hours of setup. (2) Integration — your AI agent can chain multiple tools automatically and interpret combined results. (3) Conversation — you describe what you want in plain English instead of memorising CLI flags.

Q: What is the difference between uvx and pip for installing osint-mcp?
A: uvx osint-mcp (recommended) runs the package in an isolated environment — no global pip install, no virtual environment setup. pip install osint-mcp installs it into your current environment. Both work; uvx is simpler and avoids dependency conflicts.

Q: Can I add my own OSINT tools?
A: Yes. Create a subclass of BaseTool in any file under src/osint_mcp/tools/<category>/ — the registry auto-discovers it on next start. No registration step needed. See tools/base.py for the interface.


Ethical and Legal Use

osint-mcp is designed for authorised security research, penetration testing with written permission, threat intelligence, bug bounty hunting, and education.

Do not use these tools to:

  • Investigate individuals without their consent or legal authority
  • Access or probe systems you do not own or have permission to test
  • Violate the terms of service of any third-party API or data source

Applicable laws include the Computer Fraud and Abuse Act (CFAA, US), Computer Misuse Act (UK), GDPR (EU), and equivalent legislation in your jurisdiction. The authors accept no liability for misuse.


Contributing

Contributions are welcome — new tools, better install recipes, bug fixes, and documentation improvements.

bash
git clone https://github.com/rjn32s/osint-mcpcd osint-mcpuv venv && uv pip install -e ".[dev]"osint-mcp status   # verify your setup

To add a new OSINT tool, create a BaseTool subclass in src/osint_mcp/tools/<category>/yourfile.py. The class needs name, description, input_schema, and an async run(args) method. The registry picks it up automatically.


Related Projects


License

MIT © 2026 Rajan Shukla


mcp-name: io.github.rjn32s/osint-mcp

来源:README.md,提交 dbf9ca6

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.1最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Osint 集成