MCP server for OSINT username search with maigret

MCP server for OSINT username search with maigret

maigret-osint•byburtthecoder

An MCP server that enables AI agents to run maigret to check a username across many sites or analyze a profile URL, returning a saved report.

License: MIT•Runtime: Awaiting documentation review•Category: search web

WHAT IT DOES

  • •Searches a username across hundreds to thousands of sites, optionally filtered by tags such as photo, dating, or us.
  • •Parses a profile URL to extract information and search for associated usernames.
  • •Produces reports in six formats (txt, html, csv, json, xmind, pdf) saved to a chosen directory.
  • •Can check all sites in maigret's database instead of just the top 500 when requested.

BEST FOR

  • •Authorized OSINT research to find where a username is registered across public sites.
  • •Agents asked to analyze a profile URL and discover linked usernames.

ABOUT MAIGRET-OSINT

MCP server for OSINT username search with maigret is cataloged as an MCP server attributed to burtthecoder. An MCP server that enables AI agents to run maigret to check a username across many sites or analyze a profile URL, returning a saved report. It is categorized under search web. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for MCP server for OSINT username search with maigret are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Which report formats are supported?

Six formats are listed: txt, html, csv, json, xmind, and pdf.

Are inputs from the AI agent treated as untrusted?

Yes, usernames, URLs, and tags are treated as untrusted, validated strictly, and Docker is launched without a shell.

Upstream README

View this exact version on GitHub

README.md · 370e9bf8983c · Fetched 2026-11-13 08:51:29 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

mcp-maigret: OSINT username search for AI agents

npm version CI License: MIT Node 18 or newer MCP server

Quickstart · Tools · Formats · Security · Troubleshooting · Docs

mcp-maigret is an MCP server that lets AI agents run maigret, the OSINT tool that checks a username across thousands of sites. Ask your agent to find where a handle is registered, or to analyze a profile URL, and get a saved report back. Maigret runs in Docker, so there is nothing to install besides Docker and Node.

[!WARNING] Use this for legitimate, authorized OSINT research on publicly available information. Follow the law and each site's terms of service, and respect people's privacy. Some sites rate-limit or block automated lookups.

Highlights

  • Username search across hundreds to thousands of sites, filterable by tag (photo, dating, us, ...).
  • URL analysis. Hand it a profile URL and maigret extracts what it can and looks for linked usernames.
  • Six report formats (txt, html, csv, json, xmind, pdf), saved to a directory you choose. See which ones work today.
  • Hardened inputs. Strict validation and execFile with argument arrays. No shell is ever involved. See Security.
  • Docker-based. The maigret image is pulled on first use, so every machine runs the same maigret.

How it works

flowchart LR
    A["AI agent<br/>(Claude Desktop, Claude Code, any MCP client)"] -->|"MCP over stdio"| S["mcp-maigret"]
    S -->|"validate input,<br/>execFile docker run"| D["soxoj/maigret<br/>(Docker)"]
    D -->|"checks sites"| W(("Public<br/>websites"))
    D -->|"writes report"| R[("MAIGRET_REPORTS_DIR")]
    S -->|"report path + scan output"| A

Quickstart

Requirements: Node.js 18 or newer, plus either Docker installed and running, or maigret installed locally (pipx install 'maigret[pdf]'). MAIGRET_RUNNER chooses docker, local or auto (default: local if maigret is on PATH, else Docker); see Connect a client. Developed and tested on macOS. Linux and Windows (Docker Desktop) should work but are untested.

1. Pick a reports directory. The server saves reports here. It is created if missing. The variable is required.

export MAIGRET_REPORTS_DIR="$HOME/maigret-reports"

2. Add the server to your client.

Claude Code
claude mcp add maigret -e MAIGRET_REPORTS_DIR="$HOME/maigret-reports" -- npx -y mcp-maigret
Claude Desktop

Edit the config file (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json, Windows: %APPDATA%\Claude\claude_desktop_config.json), then restart Claude Desktop:

{
  "mcpServers": {
    "maigret": {
      "command": "npx",
      "args": ["-y", "mcp-maigret"],
      "env": { "MAIGRET_REPORTS_DIR": "/absolute/path/to/maigret-reports" }
    }
  }
}
From source
git clone https://github.com/w0h1v/mcp-maigret && cd mcp-maigret
npm install && npm run build

Then point your client at node /absolute/path/to/mcp-maigret/build/index.js with the same MAIGRET_REPORTS_DIR variable.

3. Try it. Ask your agent: "Use maigret to check where the username octocat is registered, filtered to the coding tag."

The first search pulls the maigret image (about 800 MB), so it takes longer.

Tools

search_username

Search for a username across social networks and sites.

ParameterTypeDefaultDescription
usernamestring, requiredLetters, digits, _, - and . only, up to 100 characters
formatenumtxttxt, html, csv, json, xmind or pdf (see formats)
use_all_sitesbooleanfalseCheck all sites in maigret's database instead of the top 500
tagsstring[]noneOnly check sites with these tags. Letters, digits, _ and - only
{ "username": "octocat", "format": "html", "tags": ["coding"] }

The result contains the path of the saved report and maigret's console output. If the report file was not produced, the result says so instead of reporting success.

parse_url

Parse a URL to extract information and search for associated usernames.

ParameterTypeDefaultDescription
urlstring, requiredAn http or https URL without shell metacharacters
formatenumtxtSame options as above
{ "url": "https://github.com/octocat" }

Results come back as maigret's scan output text.

Output formats

Reports are written to MAIGRET_REPORTS_DIR. Maigret picks the file names, and for some formats it adds a suffix. When maigret finds related usernames it can write extra reports next to the main one (for example report_octocatsup.txt).

FormatFile written by search_usernameStatus
txtreport_<username>.txtWorks. Default.
csvreport_<username>.csvWorks
jsonreport_<username>_simple.jsonWorks
htmlreport_<username>_plain.htmlWorks
xmindreport_<username>.xmindWorks
pdfreport_<username>.pdfWorks with a local maigret installed with the pdf extra, and in this repo's Docker image. Not available with the stock soxoj/maigret image used by the Docker runner; the tool reports that no file was produced.

Statuses were checked against maigret 0.6.6 (image soxoj/maigret:latest, October 2026). Maigret's command line changes between releases, so this can drift.

Security

Usernames, URLs and tags come from an AI agent and are treated as untrusted.

  • Validation. Usernames allow only [A-Za-z0-9_.-] (max 100 characters). Tags allow only [A-Za-z0-9_-] (max 50). URLs must parse as http or https and may not contain shell metacharacters.
  • No shell. Docker is launched with execFile and an argument array, never a concatenated command string.
  • Contained writes. Reports are written by the container into the single directory you mount. The server does not read or write elsewhere.

What this does not cover: the server runs Docker on your machine on your agent's behalf, and it makes network requests to many third-party sites from your IP address. Run it only for agents and clients you trust.

Found a vulnerability? Report it privately. See SECURITY.md.

Troubleshooting

MessageFix
Docker is not installed or not runningInstall Docker and start the daemon. Check with docker --version and docker ps. On Linux, add yourself to the docker group: sudo usermod -aG docker $USER.
MAIGRET_REPORTS_DIR environment variable must be setAdd the variable to your client's env block, then restart the client.
Error creating reports directoryCheck the path and that your user can write to it. Use an absolute path without a trailing slash.
Invalid username / Invalid tag / Invalid URLInput failed validation. Use only the characters listed under Tools.
No report file was produced ...The chosen format isn't available in the image (see formats). Try txt, json or html.
Error executing maigretRead the Docker output included in the message. Often a network problem or a changed maigret option.
Searches seem slowThe first run pulls the image. Narrow the search with tags, and avoid use_all_sites unless you need it.

More in the docs.

Contributing

Contributions are welcome. Start with CONTRIBUTING.md.

mcp-maigret MCP server

License

MIT. Independent project, not affiliated with the maigret project. Maigret is by soxoj and has its own license.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for MCP server for OSINT username search with maigret from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/maigret-osint)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related search web MCP Servers

Alternative and complementary servers in the same category

View all in search web →

An MCP server that merges Google Search Console history with a live first-party crawl of your site to produce a prioritised, evidence-backed technical SEO audit inside Claude, complete with paste-ready fixes.

Repository stats unavailable
Search & Web Research

An MCP server that offers intelligent web search using OpenAI reasoning models, with support for fast iterations and deep research.

94
Search & Web Research