Skip to main content

The first MCP-native Open Source Intelligence framework for AI Agents.

Project description

OpenOSINT

OPENOSINT(1) — General Commands Manual

Release Python MCP License: MIT PyPI

Legal notice: For authorised security research and investigation only.
Users are solely responsible for compliance with applicable law.
See DISCLAIMER.md.


NAME

openosint — Model Context Protocol server and CLI for Open Source Intelligence.


OpenOSINT demo
---

SYNOPSIS

openosint [-v] command [args ...]
openosint email ADDRESS [-t SECONDS]
openosint username HANDLE [-t SECONDS]

DESCRIPTION

openosint is a modular OSINT framework that exposes intelligence-gathering tools to large language models via the Anthropic Model Context Protocol (MCP). It also operates as a conventional command-line interface for direct human execution.

The framework is built on a non-blocking asynchronous runtime (Python asyncio). All external binaries are invoked as managed subprocesses with hard timeout enforcement. No LLM is embedded; openosint provides the tool surface that an MCP-compatible client drives autonomously.


ARCHITECTURE

The project follows a strict three-tier separation:

Layer Path Responsibility
Core tools openosint/tools/ Async wrappers around external OSINT binaries. No I/O, no UI.
MCP server openosint/mcp_server.py Translates core functions into MCP tool schemas. Routes LLM calls.
CLI openosint/cli.py Human-facing interface. Calls core tools directly.

No layer imports from a layer above it. The core tools are stateless and have no knowledge of MCP or argparse.


INSTALLATION

Requires Python 3.10 or later.

git clone https://github.com/OpenOSINT/OpenOSINT.git
cd OpenOSINT
pip install -e .

External dependencies (must be present in PATH):

Binary Purpose Install
holehe Email account enumeration pip install holehe
sherlock Username enumeration (300+ platforms) pip install sherlock-project

If a binary is absent, the corresponding tool returns a descriptive error string. The server and CLI remain operational for tools with satisfied dependencies.


COMMANDS

email ADDRESS [-t SECONDS]

Enumerate online services registered against ADDRESS using holehe. Default timeout: 120 seconds.

username HANDLE [-t SECONDS]

Enumerate platforms where HANDLE is registered using sherlock. Default timeout: 180 seconds.

Global flags:

-v, --verbose     Enable debug-level logging to stderr.
-t, --timeout N   Override default subprocess timeout (seconds).

CONFIGURATION

Claude Code

Register the MCP server after installation:

claude mcp add openosint python /absolute/path/to/OpenOSINT/openosint/mcp_server.py

Verify:

claude mcp list

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "openosint": {
      "command": "python",
      "args": ["/absolute/path/to/OpenOSINT/openosint/mcp_server.py"]
    }
  }
}

EXAMPLES

Enumerate services registered against an email address:

$ openosint email target@example.com -t 60

Search for a username across all supported platforms:

$ openosint username johndoe99

Enable verbose output:

$ openosint -v email target@example.com

Agentic execution via Claude Code after MCP registration:

$ claude
> Investigate target@example.com. If you find an associated username,
  trace it across other platforms and compile a report.

FILES

Path Description
openosint/mcp_server.py MCP server entry point (stdio transport).
openosint/cli.py CLI entry point.
openosint/tools/search_email.py Email enumeration module.
openosint/tools/search_username.py Username enumeration module.
openosint/tools/exceptions.py Shared exception hierarchy.
pyproject.toml Project metadata and build configuration (PEP 621).
DISCLAIMER.md Legal notice and ethical use policy.

EXIT STATUS

Code Meaning
0 Successful execution.
1 General error (invalid arguments, tool failure).
130 Terminated by SIGINT (Ctrl-C).

AUTHORS

Developed by Tommaso Bertocchi.


LICENSE

MIT License. See LICENSE.


OpenOSINT 2.0.0 — May 10, 2026

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openosint-2.0.0.tar.gz (11.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

openosint-2.0.0-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

Details for the file openosint-2.0.0.tar.gz.

File metadata

  • Download URL: openosint-2.0.0.tar.gz
  • Upload date:
  • Size: 11.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for openosint-2.0.0.tar.gz
Algorithm Hash digest
SHA256 bc4f43100994bd2afb8825ba8d4648e8ad2c1f8d2ca5730aec0fb3326dbee327
MD5 af44751144f01d377950541e11cdfd4c
BLAKE2b-256 562010262ddeb46474a41a88ac667d26f18aa2a6a64f7d0e559f2b5125b0e19a

See more details on using hashes here.

Provenance

The following attestation bundles were made for openosint-2.0.0.tar.gz:

Publisher: release.yml on OpenOSINT/OpenOSINT

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file openosint-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: openosint-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 12.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for openosint-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 968557f288b4f6752eeba4efb2d56997de1ec5bbc1c2a9db5b9952a9ba096270
MD5 547fdc99ee50d3119334c53dcff07f36
BLAKE2b-256 ab99602ee1df94ed957336e02abd47bb5172e7c36341fba51f1a5cb6bb672ac8

See more details on using hashes here.

Provenance

The following attestation bundles were made for openosint-2.0.0-py3-none-any.whl:

Publisher: release.yml on OpenOSINT/OpenOSINT

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page