PANDORASEARCH

Blog · Username OSINT

How to use Maigret: installation, commands and reports

Maigret is an open-source tool that searches for a username across thousands of sites and, unlike a plain account checker, reads every profile it finds: it extracts what the page shows about the account owner (details, links to other accounts, other usernames and IDs) and, by default, searches again with the new usernames and IDs it discovers. You run it from the terminal with maigret user123. It is MIT-licensed and needs no API keys.

This guide follows the README of the official repository, the code of what was then its latest release (0.6.6, published on 18 September 2026) and its packages on PyPI and Snapcraft, as we read them on 19 November 2026. Release 0.6.7 came out on 21 November, and its notes mention «Over 10,000 live sites»: the options in this guide are those of 0.6.6, so if one is missing or behaves differently, check maigret --help on your version. It covers how to install it on each system, what the options do, how to read the output and the reports, and why a list of accounts is not yet a finding. At the end we cover which part of that work Pandora, the tool we build, does in the browser.

The short answer

  • What it is. A command-line username search tool, maintained on GitHub under the MIT licence. The latest release is 0.6.7, from 21 November 2026; this guide was written with the previous one, 0.6.6, from September.
  • How to install it. pip install maigret (Python 3.10 or later), pipx install maigret, sudo snap install maigret on Linux, the Docker image soxoj/maigret or, on Windows, the standalone maigret_standalone.exe.
  • How to use it. maigret <username>. By default it checks the 500 highest-ranked sites by traffic; with -a, all of them.
  • What you get. The accounts found, with what each profile shows, and on request a report in HTML, PDF, CSV, JSON, text, an interactive graph and other formats.
  • What you do not get. Certainty about who is behind each account. That comes from reading the profiles and corroborating them.

Before you start: what Maigret does differently

Like Sherlock, Maigret keeps its own site database in its repository, with a rule for each site to tell whether an account exists. Three things set it apart, and they explain both its results and its noise:

  • It reads the profiles. When it finds an account, it extracts what the page or the site's API shows about it; the README promises "all available information about the account owner", including links to other accounts.
  • It searches recursively. If a profile reveals another username or an ID, Maigret prints it under Extracted IDs and adds it to the search. This is on by default; --no-recursion turns it off.
  • It updates its database on its own. At startup it checks GitHub for a newer site database, and --no-autoupdate stops it. That is why the number of sites changes over time: the README of the 0.6.6 release said "3,000+", the README of the main branch said 5,900 on 19 November 2026 and, on 22 November, "10,000+".

Recursion is what makes Maigret powerful and what you need to watch. A username extracted from a profile is another lead, not a confirmed link: if the first account was not your target, nothing that hangs from it is either.

How to install it

With pip or pipx. Maigret is on PyPI as maigret and needs Python 3.10 or later:

pip install maigret
maigret --version

The README gives pip install maigret. If your system will not let pip install outside a virtual environment, create one with python3 -m venv, or use pipx, which installs the same PyPI package in an environment of its own: pipx install maigret.

On Kali Linux. We found no Maigret page in Kali's tools catalogue, and the README does not mention Kali. Kali's own documentation says that, since Kali 2024.4, installing external packages with pip is "strongly discouraged", and recommends pipx for tools it does not package:

pipx install maigret

With snap, on Linux. sudo snap install maigret installs 0.6.6, published by the project's author. The README warns that the snap is strictly confined and can write inside your home directory, so run it from there.

On Windows. The 0.6.6 release comes with maigret_standalone.exe, a standalone executable that does not need Python. Download it from the releases page on GitHub and run it from a terminal:

cd %USERPROFILE%\Downloads
maigret_standalone.exe user123
maigret_standalone.exe user123 --html

With Docker. There is an official image. Mounting a volume on /app/reports is what lets you keep the reports:

docker pull soxoj/maigret
docker run -v /mydir:/app/reports soxoj/maigret:latest user123 --html

From source. Clone the repository and install it with pip:

git clone https://github.com/soxoj/maigret && cd maigret
pip3 install .

The commands you will use most

maigret user123
maigret user123 -a
maigret user123 --top-sites 1000
maigret user123 --tags us
maigret user123 --site GitHub --site Reddit
maigret user1 user2 user3
maigret user123 --html --csv
maigret user123 --no-recursion

The first checks the 500 highest-ranked sites for one username. The second checks the whole database, which takes noticeably longer. The third changes how many of the top sites it checks. The fourth narrows the search to sites with a tag, in this case a country, and maigret --stats shows the database statistics, tags included. The fifth limits the search to the sites you name. The sixth searches several usernames at once. The seventh saves an HTML report and a CSV. The last one turns off the recursive search, which is the quickest way to get a clean first list.

The options of version 0.6.6, in a table:

OptionWhat it does
-a, --all-sitesChecks every site in the database instead of the top 500
--top-sites <N>How many of the highest-ranked sites to check; 500 by default
--tags, --exclude-tagsOnly, or excluding, the sites with those tags (category or country)
--site <name>Limits the search to that site; repeat it for several
--timeout <seconds>How long to wait for each response; 30 by default
--retries <N>Retries for requests that failed temporarily; 0 by default
--no-recursionDoes not search the usernames and IDs extracted from the profiles
--no-extractingDoes not parse the pages for extra data
--parse <URL>Extracts usernames and IDs from a profile page, to start from them
--permuteGenerates more usernames by combining at least two you give it
--print-not-foundAlso shows the sites where the account does not exist
--print-errorsAlso shows connection errors, captchas and other failures
-p, --proxySends the requests through a proxy, such as socks5://127.0.0.1:1080
-fo, --folderoutputFolder for the reports; reports by default, in the folder you run it from
--self-checkChecks the site rules; with --auto-disable, disables the ones that fail
--no-autoupdateDoes not update the site database at startup

The reports

Maigret writes its reports in the reports folder, named after the username. Some formats produce one file per username and others one file for the whole search:

OptionFormatFile
-H, --htmlHTML report for all the usernamesreport_user123_plain.html
-P, --pdfPDF report; needs pip install 'maigret[pdf]'report_user123.pdf
-G, --graphInteractive graph in HTMLreport_user123_graph.html
-C, --csvCSV, one per usernamereport_user123.csv
-T, --txtText, one per usernamereport_user123.txt
-J, --json ndjson or simpleJSON, one per usernamereport_user123_ndjson.json
--neo4jCypher script to load into Neo4jreport_user123_neo4j.cypher
-M, --mdMarkdown reportreport_user123.md
-X, --xmindMind map in the legacy XMind formatreport_user123.xmind

For a case file, the HTML report reads well and the CSV feeds a spreadsheet or another tool. The interactive graph is handy to see at a glance which accounts came from which username.

How to read the output

Maigret starts with [*] Checking username user123 on: and then prints one line per account found, marked [+], with the site name and the profile URL, followed, as a small tree, by what it extracted from the profile. When recursion finds new usernames or IDs, it prints them after Extracted IDs: and searches them too. At the end it prints a Short text report: with a summary.

With --print-not-found you also get the sites where the account does not exist, marked [-] with Not found!, and the sites where the username cannot exist because of its format (Illegal Username Format For This Site!). With --print-errors, the checks that failed because of a connection error, a captcha or another problem appear marked [?]: those are neither a yes nor a no.

From list to finding: check every account

A [+] line means that site's rule believes an account with that name exists. Before you record it:

  1. Open the profile. Check that it exists and is not a generic page. It is the fastest way to weed out false positives.
  2. Separate the first round from the recursive one. The accounts found through usernames Maigret extracted on its own depend on the first link being right. Mark them as such in your notes.
  3. Look for what links two accounts. The same photo, a link from one profile to the other, the same public key on two code forges or an unusual combination of details. A matching name is not enough.
  4. Cross-check with another tool. Sherlock keeps its own site database, with different rules: an account both tools find carries more weight. We compare them in Sherlock vs Maigret, and explain Sherlock step by step in how to use Sherlock.
  5. Note the date. Accounts get created, deleted and change hands. What you find today is a snapshot of today.

The full method for working a username, with more sources than Maigret, is in our guide to searching a username across hundreds of sites.

The web interface and "Maigret online"

maigret --web 5000 starts a web interface on your own computer: open http://127.0.0.1:5000, enter a username and view the results. It also comes as a Docker image, docker run -p 5000:5000 soxoj/maigret:web. It is local: the project has no public search website. The README also links to ways of running it in the cloud without installing it (Google Cloud Shell, Replit, Google Colab and Binder) and to a community Telegram bot. If you deploy the web interface on a server, keep in mind that the README says its one-click Render deployment has no login set up.

Two options to think twice about

  • --ai. It builds a report from the results and sends it to an OpenAI-compatible API, which returns a "short, neutral investigation summary" with the likely real name, location, occupation, interests and languages. It needs your own API key. Before using it on a real person, bear in mind that you are sending personal data to a third party and asking a model to infer a profile: under the GDPR that is processing you have to justify, and an inference is not a fact.
  • --permute. Generating combinations of names multiplies the false positives. It makes sense to look for variants of your own brand; on a person, every extra hit needs even more corroboration.

On licensing: according to the README, the open-source Maigret is MIT-licensed and "free for commercial use without restriction". Its author also offers, as paid services, a private site database ("5 000+ sites, updated daily") and a username check API.

Maigret without the terminal: Pandora

Pandora is the tool we build: an OSINT link analysis search engine that runs in the browser, with nothing to install. It does not replace Maigret: it runs it, and crosses what it finds with the rest of the case.

What it does with a username. The automatic sweep for each username uses the WhatsMyName data, and Sherlock and Maigret are launched by hand from the entity, because they take longer. Pandora records how many sites each sweep checked and how many returned an account, and every account carries the database it came from, so the cross-check in step 4 is visible at a glance.

A username's accounts in Pandora, each with the source that found it: the same SSH key on GitHub and GitLab links them almost certainly. Example data. Try it with your own data

What it adds to a list. Public profiles through each platform's API (GitHub, Gravatar, Stack Exchange, Bluesky and its name history, Discourse forums, Roblox, Minecraft and Telegram's public preview), public SSH and PGP keys from code forges, packages published to 12 registries and the same photo across different accounts, matched by perceptual hash and not by face recognition. That is what you need for step 3.

One profile, with its sources. The Dossier merges the case into one profile (names, usernames, emails, phones, places, photos, accounts and breaches), each data point with the number of independent sources that back it. A detail that only one account supports looks different from one that three do.

A case's dossier in Pandora: each data point with how many independent sources confirm it, and the whole case ready to export. Example data. Try it with your own data

What it leaves out, on purpose. It does not query adult content, dating, health, religion or politics sites, collection is passive, and every query is recorded in the case's audit log.

What it costs. Each transform uses credits and plans renew them every period; prices are on the pricing page. A free account comes with one trial search, with the findings masked: you see what kind of findings turn up and how many, but not which ones, until you choose a plan.

Maigret's README says it is "for educational and lawful purposes only" and that you are responsible for complying with the laws of your jurisdiction, the GDPR included. As soon as you record what it finds about an identifiable person, you are processing personal data: you need a legitimate purpose and a lawful basis under the GDPR or its local equivalent, and you keep no more than the case needs. Never to follow, monitor or harass anyone, and never about anyone under 18, which Pandora's acceptable use policy also prohibits. Our article on OSINT and the GDPR covers this in detail.

This article is not legal advice.

Frequently asked questions

How do you use Maigret?

From the terminal, with the username after the command: maigret user123. By default it checks the 500 highest-ranked sites by traffic in its database, and with -a it checks them all. It prints each account found with [+], and with --html, --pdf or --csv it saves a report in the reports folder.

How do you install Maigret on Kali Linux?

We found no Maigret page in Kali's tools catalogue, and since Kali 2024.4 installing external packages with pip is strongly discouraged. For tools Kali does not package, it recommends pipx, so: pipx install maigret. The project's Docker image works too.

Can you use Maigret on Windows?

Yes. The 0.6.6 release on GitHub comes with maigret_standalone.exe, a standalone executable that does not need Python. Download it from the releases page and run maigret_standalone.exe followed by the username from a terminal.

How many sites does Maigret check?

The README on its main branch says it supports more than 10,000 sites, and a default run checks the 500 highest-ranked by traffic. Use -a for all of them, --top-sites to change the number or --tags to narrow the search by category or country. The site database updates itself from GitHub when Maigret starts.

Does Maigret have a web interface?

Yes: maigret --web 5000 starts one on your own computer, at http://127.0.0.1:5000, where you enter a username and view the results. There is also a Docker image for it, soxoj/maigret:web. It is a local interface, not a public search website.

If Maigret finds an account, does it belong to the person I am looking into?

Not necessarily. Maigret checks whether an account with that name exists and reads what the profile shows, not who is behind it. The same username on two sites can belong to two different people, and the usernames it extracts on its own inherit that doubt. A match is a lead to corroborate with something stronger, such as the same photo or a link from one profile to the other.

Tags:toolsMaigretusernamesguide