Maigret OSINT logo

Maigret OSINT

Community
burtthecoder

MCP server for maigret, a powerful OSINT tool that collects user account information from various public sources.

Publisherburtthecoder
Repositorymcp-maigret
LanguageJavaScript
Forks
36
Stars
240
Available tools
0
Transport typestdio
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    Maigret OSINT exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    240 stars and 36 forks from the linked repository.

Maigret MCP Server

smithery badge

A Model Context Protocol (MCP) server for maigret, a powerful OSINT tool that collects user account information from various public sources. This server provides tools for searching usernames across social networks and analyzing URLs. It is designed to integrate seamlessly with MCP-compatible applications like Claude Desktop.

⚠️ Warning

This tool is designed for legitimate OSINT research purposes. Please:

  • Only search for information that is publicly available
  • Respect privacy and data protection laws
  • Follow the terms of service of the platforms being searched
  • Use responsibly and ethically
  • Be aware that some sites may rate-limit or block automated searches

Security

This server implements several security measures to prevent command injection attacks:

Input Validation

  • Usernames: Only alphanumeric characters, underscores, hyphens, and periods are allowed (max 100 characters)
  • URLs: Must be valid HTTP/HTTPS URLs without shell metacharacters
  • Tags: Only alphanumeric characters, underscores, and hyphens are allowed

Safe Command Execution

  • Uses execFile() instead of exec() to prevent shell interpolation
  • All command arguments are passed as arrays, not concatenated strings
  • Docker commands are executed without shell interpretation

Reporting Security Issues

If you discover a security vulnerability, please report it by opening an issue or contacting the maintainers directly. We take security seriously and will respond promptly.

Requirements

  • Node.js (v18 or later)
  • Docker
  • macOS, Linux, or Windows with Docker Desktop installed
  • Write access to the reports directory

Quick Start

Installing via Smithery

To install Maigret for Claude Desktop automatically via Smithery:

bash
npx -y @smithery/cli install mcp-maigret --client claude

Installing Manually

  1. Install Docker:

  2. Install the server globally via npm:

bash
npm install -g mcp-maigret
  1. Create a reports directory:
bash
mkdir -p /path/to/reports/directory
  1. Add to your Claude Desktop configuration file:
json
{
  "mcpServers": {
    "maigret": {
      "command": "mcp-maigret",
      "env": {
        "MAIGRET_REPORTS_DIR": "/path/to/reports/directory"
      }
    }
  }
}

Configuration file location:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  1. Restart Claude Desktop

Alternative Setup (From Source)

If you prefer to run from source or need to modify the code:

  1. Clone and build:
bash
git clone <repository_url>
cd mcp-maigret
npm install
npm run build
  1. Add to your Claude Desktop configuration:
json
{
  "mcpServers": {
    "maigret": {
      "command": "node",
      "args": ["/absolute/path/to/mcp-maigret/build/index.js"],
      "env": {
        "MAIGRET_REPORTS_DIR": "/path/to/reports/directory"
      }
    }
  }
}

Features

  • Username Search: Search for a username across hundreds of social networks and websites
  • URL Analysis: Parse URLs to extract information and search for associated usernames
  • Multiple Output Formats: Support for txt, html, pdf, json, csv, and xmind formats
  • Site Filtering: Filter searches by site tags (e.g., photo, dating, us)
  • Docker-based: Reliable and consistent execution across environments

Tools

1. Username Search Tool

  • Name: search_username
  • Description: Search for a username across social networks and sites
  • Parameters:
    • username (required): Username to search for (alphanumeric, underscores, hyphens, periods only; max 100 chars)
    • format (optional, default: "pdf"): Output format (txt, html, pdf, json, csv, xmind)
    • use_all_sites (optional, default: false): Use all available sites instead of top 500
    • tags (optional): Array of tags to filter sites (alphanumeric, underscores, hyphens only)

Example:

json
{
  "username": "test_user123",
  "format": "html",
  "use_all_sites": false,
  "tags": ["photo"]
}

2. URL Analysis Tool

  • Name: parse_url
  • Description: Parse a URL to extract information and search for associated usernames
  • Parameters:
    • url (required): URL to analyze
    • format (optional, default: "pdf"): Output format (txt, html, pdf, json, csv, xmind)

Example:

json
{
  "url": "https://example.com/profile",
  "format": "txt"
}

Troubleshooting

Docker Issues

  1. Verify Docker is installed and running:
bash
docker --version
docker ps
  1. Check Docker permissions:
    • Ensure your user has permissions to run Docker commands
    • On Linux, add your user to the docker group: sudo usermod -aG docker $USER

Reports Directory Issues

  1. Verify the reports directory:

    • The directory specified in MAIGRET_REPORTS_DIR must exist
    • Your user must have write permissions to this directory
    • Check permissions: ls -la /path/to/reports/directory
  2. Common configuration mistakes:

    • Missing MAIGRET_REPORTS_DIR environment variable
    • Directory doesn't exist
    • Incorrect permissions
    • Trailing slashes in the path
  3. After fixing any issues:

    • Save the configuration file
    • Restart Claude Desktop

Error Messages

  • "Docker is not installed or not running": Install Docker and start the Docker daemon
  • "MAIGRET_REPORTS_DIR environment variable must be set": Add the environment variable to your configuration
  • "Error creating reports directory": Check directory permissions and path
  • "Error executing maigret": Check Docker logs and ensure the container has proper permissions
  • "Invalid username": Username contains invalid characters. Use only alphanumeric, underscores, hyphens, and periods
  • "Invalid URL": URL is malformed or contains prohibited characters
  • "Invalid tag": Tag contains invalid characters. Use only alphanumeric, underscores, and hyphens

Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Installation

TypingMind
Prerequisites:

Node.js 18+

{
  "mcpServers": {
    "maigret": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-maigret"
      ],
      "env": {
        "MAIGRET_REPORTS_DIR": "/path/to/reports/directory"
      }
    }
  }
}

Use Maigret OSINT MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Maigret OSINT is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Maigret OSINT as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Maigret OSINT MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "maigret-osint": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-maigret"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Maigret OSINT MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Maigret OSINT MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Maigret OSINT to help me with this task?
Maigret OSINT
Sure. I read it.
Here is what I found using Maigret OSINT.

Frequently asked questions

What is the Maigret OSINT MCP server used for?

Maigret OSINT is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Maigret OSINT MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Maigret OSINT with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Maigret OSINT MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Maigret OSINT connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Maigret OSINT MCP to TypingMind?

Maigret OSINT runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Maigret OSINT MCP provide in TypingMind?

Maigret OSINT exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Maigret OSINT MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Maigret OSINT requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇