Home

Awesome

Maigret MCP Server

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.

<a href="https://glama.ai/mcp/servers/knnpcz651x"><img width="380" height="200" src="https://glama.ai/mcp/servers/knnpcz651x/badge" alt="mcp-maigret MCP server" /></a>

⚠️ Warning

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

Requirements

Quick Start

  1. Install Docker:

  2. Install the server globally via npm:

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

Configuration file location:

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

Features

Tools

1. Username Search Tool

Example:

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

2. URL Analysis Tool

Example:

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

Troubleshooting

Docker Issues

  1. Verify Docker is installed and running:
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

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.