Maigret MCP Server

Maigret MCP Server

Enables OSINT research by searching usernames across hundreds of social networks and websites, and analyzing URLs to extract information and find associated usernames using the Maigret tool.

Category
Visit Server

README

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.

<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:

  • 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

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:

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

Installing Manually

  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:

  • 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:
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

  • 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
    • 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 (e.g., ["photo", "dating"])

Example:

{
  "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:

{
  "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

  • "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

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.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured