OSINT MCP

io.github.rjn32sPublished by GitHub account rjn32sv0.1.1Updated Oct 24, 2026

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

The publisher's own server: osint.foundation

Overview

AI-generated overview

A local MCP server that wraps 26 free OSINT tools, letting an assistant run WHOIS, DNS, subdomain, username, email, breach and threat-intelligence lookups.

What you can do
Look up domains and DNS: WHOIS, DNS records, subdomain enumeration, attack-surface mapping, certificate transparency, email/host harvesting, zone transfers and reverse lookups, plus IP geolocation and ASN data via ipinfo.io when a key is set. Scan networks and hosts: nmap port and service scans, Shodan host and device search, VirusTotal checks on URLs, IPs, domains and hashes. Investigate identities: username searches across hundreds or thousands of sites, email-to-account discovery, breach checks, and phone number carrier and country data. Check web history and reputation: Wayback Machine snapshots and urlscan.io URL scans. Scan code for exposed secrets with TruffleHog and Gitleaks. Manage,
When to use it
Useful for authorised security research, penetration testing with written permission, bug bounty footprinting, threat-intelligence enrichment of indicators, and learning OSINT with an assistant. Not intended for investigating people without consent or probing systems you do not own.
Requirements
Runs locally over stdio, launched with uvx or pip; macOS or Linux only. Python 3.10+ is required, Homebrew must be pre-installed on macOS, and Go 1.21+ is needed for several tools. First run installs the underlying binaries via Homebrew, apt, yum, Go or pip, so network access and package-manager permissions are needed. Optional free API keys: HIBP_KEY, IPINFO_KEY, SHODAN_KEY, URLSCAN_KEY, VIRUSTOTAL_KEY.
Before you install
First run installs many third-party binaries and system packages automatically. Active tools such as port scanning and secret scanning touch external hosts or repositories and should only be used with permission. Optional API keys (HIBP_KEY, IPINFO_KEY, SHODAN_KEY, URLSCAN_KEY, VIRUSTOTAL_KEY) can be stored from within a conversation via the config tools and read back masked. Lookups send targets to third-party services such as Shodan, VirusTotal, urlscan.io and crt.sh. Misuse may violate law or

Installation

In SourceWeft

  1. Open OSINT MCP in the dashboard and add it to a workspace.
  2. 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

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

Source: README.md at commit dbf9ca6

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v0.1.1LatestSep 16, 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

Other Osint integrations