SuperAPIAI Directory

mcp-maigret

github.com · AI developer platforms

Search usernames across social networks and analyze URLs with maigret, an OSINT tool that collects account information from public sources.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsmacOS · Linux

About this tool

mcp-maigret is an MCP (Model Context Protocol) server used to let AI agents run the OSINT tool maigret. maigret can check whether a username is registered across thousands of sites, and can also accept a profile URL for analysis. You can ask the agent to find where a username is registered, or analyze a profile URL, and then get a saved report.

Main capabilities

  • Username search: search for a username across hundreds to thousands of sites, and filter by tags such as photo, dating, us, etc.
  • URL analysis: pass in a profile URL, and maigret will try to extract information and find associated usernames.
  • Report formats: provide six report formats (txt, html, csv, json, xmind, pdf), saved to a specified directory.
  • Input hardening: strict validation and execution using execFile with an argument array, without involving a shell.
  • Docker-based: pull the maigret image on first use, ensuring every machine runs the same maigret version.

Available tools

  • search_username: search for a username across social networks and sites. The result includes the path to the saved report and maigret's console output. If no report file was generated, the result will clearly state this instead of reporting success.
  • Another tool is used to parse a URL, extract information, and search for associated usernames. The result is returned as maigret's scan output text.

How to use Requirements: Node.js 18 or later, and Docker installed and running. Development and testing were done on macOS; Linux and Windows (Docker Desktop) should work in theory, but have not been tested.

  1. Choose a report directory. The server will save reports in that directory, and will automatically create the directory if it does not exist. This variable is required (MAIGRET_REPORTS_DIR).
  2. Add the server to the client. Edit the configuration file (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json, Windows: %APPDATA%\Claude\claude_desktop_config.json), then restart Claude Desktop. Then have the client start it with node /absolute/path/to/mcp-maigret/build/index.js, passing the same MAIGRET_REPORTS_DIR variable.
  3. Try it out. You can ask the agent: "Use maigret to check where the username octocat is registered, filtered to the coding tag." The first search will pull the maigret image (about 800 MB), so it will take a while.

Report output Reports are written to MAIGRET_REPORTS_DIR. The filenames are determined by maigret, and some formats append suffixes. When maigret finds associated usernames, it writes additional reports alongside the main report (for example, report_octocatsup.txt). The status checks listed in the text target maigret 0.6.6 (image soxoj/maigret:latest). Because maigret's command line changes between versions, this information may drift.

Security and limitations

  • Usernames, URLs, and tags come from the AI agent and are treated as untrusted input.
  • Validation rules: usernames allow only [A-Za-z0-9_.-] (up to 100 characters); tags allow only [A-Za-z0-9_-] (up to 50 characters); URLs must parse as http or https and must not contain shell metacharacters.
  • No shell is used: Docker is started via execFile and an argument array, never with a concatenated command string.
  • Writes are restricted: reports are written by the container to the single directory you mount, and the server does not read or write anywhere else.
  • Uncovered risks: the server runs Docker on your machine on behalf of your agent and makes network requests from your IP address to numerous third-party sites. Only run it with agents and clients you trust.
  • Use cases should be limited to lawful, authorized public information OSINT research. Comply with the law and each site's terms of service, and respect others' privacy. Some sites rate-limit or block automated queries.

Other information Please report vulnerabilities privately (see SECURITY.md). There is more troubleshooting content in the documentation. Contributions are welcome,see CONTRIBUTING.md. For questions and help, see SUPPORT; for security reports, see SECURITY.md (report privately, do not open a public issue). The project is licensed under MIT, is an independent project, and is not affiliated with the maigret project; maigret is developed by soxoj and has its own license.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools