Skip to content
otinstaller
Install

Guide

OSINT with AI agents: the ot MCP server

ot mcp is a Model Context Protocol server. It lets an AI agent such as Claude use the OSINT tools ot installs: list them, run a merged scan of a username, email address, domain or phone number, and run any single tool with its own arguments.

The server runs on your machine and speaks MCP over standard input and output. The tools run locally, with your network connection, and nothing passes through a service of ours.

Connect your agent

First install ot and the tools you want the agent to use:

ot install sherlock maigret socialscan holehe subfinder theharvester phoneinfoga

Claude Code

claude mcp add ot -- ot mcp

Claude Desktop, Cursor and other clients with an mcpServers file

Add this to the client's MCP configuration, for example claude_desktop_config.json or .cursor/mcp.json:

{
  "mcpServers": {
    "ot": {
      "command": "ot",
      "args": ["mcp"]
    }
  }
}

VS Code

Add this to .vscode/mcp.json:

{
  "servers": {
    "ot": {
      "command": "ot",
      "args": ["mcp"]
    }
  }
}

Any other MCP client works the same way: register a stdio server whose command is ot and whose only argument is mcp.

What the agent can do

ToolWhat it does
list_toolsLists the OSINT tools ot knows, what each does, the kinds of target it accepts and whether it is installed. Takes an optional query and installed_only.
scanRuns several installed tools against one target and returns the merged findings. Takes kind (username, email, domain or phone), target, and optionally tools, timeout_seconds and limit.
run_toolRuns one installed tool with its own command-line arguments and returns its output and exit code. Takes tool, args and timeout_seconds.
install_toolInstalls a tool from ot's registry at its pinned, checksum-verified version. Only offered with --allow-install.

All scan kinds use passive lookups. A scan can take a few minutes, and the tool calls run concurrently, so a long scan does not block the agent's other requests.

What is off by default

Two things stay off unless you start the server with a flag:

FlagEffect
--allow-activeLets the agent run tools that send traffic to the target, such as port scanners, crawlers and brute-forcers. Without it, run_tool refuses them and tells the agent why.
--allow-installAdds the install_tool tool, so that the agent can install tools from the registry.

For example, to allow both in Claude Code:

claude mcp add ot -- ot mcp --allow-active --allow-install

run_tool gives the agent each tool's full command line, including options that write files. Treat it like handing the agent a terminal that can run only those tools. No shell is involved: the agent passes each argument separately, so it cannot chain commands.

Things to ask

Once connected, ask in plain language. The agent chooses the tools.

  • "Which accounts use the username johndoe? Check with every username tool and tell me which results more than one tool confirms."
  • "Find the subdomains of example.com and group them by what they seem to be for."
  • "Which sites is jane@example.com registered on?"
  • "Read the metadata of the photos in this folder and tell me which contain GPS coordinates."

ot's server tells the agent to investigate only the targets you asked about. The responsibility for what is investigated remains yours: use it for work you are authorised to do.

What ot reports

ot mcp reports how it is used: which of its MCP tools was called, how long the call took and whether it failed. It never reports a target, an argument or any output, and no other ot command reports anything. The privacy page lists every field.

ot telemetry
ot telemetry off

The first command shows whether reports are on and prints exactly what one looks like. The second turns them off, as does OT_TELEMETRY=off or DO_NOT_TRACK=1 in the environment.

Without MCP

An agent that can run shell commands can use ot directly. These commands print JSON:

ot list --json
ot search subdomain --json
ot info sherlock --json
ot scan username johndoe --json
ot case show acme --json

ot scan --install installs the tools a scan needs without asking, and -y answers yes to other prompts, which is what an unattended agent needs.

This site for agents

This website is published in forms a program can read without parsing HTML.

AddressContents
/llms.txtA short index of the site in Markdown, with a link to every page.
/llms-full.txtEvery page of the site in one Markdown file.
/tools.jsonThe registry as JSON: every tool with its description, licence, platforms, install methods and API keys.
index.mdEvery page has a Markdown copy at its own address plus index.md, such as /tools/sherlock/index.md.

Each HTML page also links to its Markdown copy with <link rel="alternate" type="text/markdown"> and describes itself with schema.org structured data.

Questions

Which AI agents work with ot?

Does my data go to a server?

Can the agent scan any target it likes?