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. This tool is designed for legitimate OSINT research purposes. Please: -
Add this skill
npx mdskills install BurtTheCoder/mcp-maigretWell-documented OSINT tool integration with strong security practices and comprehensive setup instructions
1# Maigret MCP Server2[](https://smithery.ai/server/mcp-maigret)34A Model Context Protocol (MCP) server for [maigret](https://github.com/soxoj/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](https://claude.ai).56<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>789## ⚠️ Warning1011This tool is designed for legitimate OSINT research purposes. Please:12- Only search for information that is publicly available13- Respect privacy and data protection laws14- Follow the terms of service of the platforms being searched15- Use responsibly and ethically16- Be aware that some sites may rate-limit or block automated searches1718## Security1920This server implements several security measures to prevent command injection attacks:2122### Input Validation23- **Usernames**: Only alphanumeric characters, underscores, hyphens, and periods are allowed (max 100 characters)24- **URLs**: Must be valid HTTP/HTTPS URLs without shell metacharacters25- **Tags**: Only alphanumeric characters, underscores, and hyphens are allowed2627### Safe Command Execution28- Uses `execFile()` instead of `exec()` to prevent shell interpolation29- All command arguments are passed as arrays, not concatenated strings30- Docker commands are executed without shell interpretation3132### Reporting Security Issues33If 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.3435## Requirements3637- Node.js (v18 or later)38- Docker39- macOS, Linux, or Windows with Docker Desktop installed40- Write access to the reports directory4142## Quick Start4344### Installing via Smithery4546To install Maigret for Claude Desktop automatically via [Smithery](https://smithery.ai/server/mcp-maigret):4748```bash49npx -y @smithery/cli install mcp-maigret --client claude50```5152### Installing Manually531. Install Docker:54 - macOS: Install [Docker Desktop](https://www.docker.com/products/docker-desktop)55 - Linux: Follow the [Docker Engine installation guide](https://docs.docker.com/engine/install/)56572. Install the server globally via npm:58```bash59npm install -g mcp-maigret60```61623. Create a reports directory:63```bash64mkdir -p /path/to/reports/directory65```66674. Add to your Claude Desktop configuration file:68```json69{70 "mcpServers": {71 "maigret": {72 "command": "mcp-maigret",73 "env": {74 "MAIGRET_REPORTS_DIR": "/path/to/reports/directory"75 }76 }77 }78}79```8081Configuration file location:82- macOS: `~/Library/Application Support/Claude/claude_desktop_config.json`83- Windows: `%APPDATA%\Claude\claude_desktop_config.json`84855. Restart Claude Desktop8687## Alternative Setup (From Source)8889If you prefer to run from source or need to modify the code:90911. Clone and build:92```bash93git clone <repository_url>94cd mcp-maigret95npm install96npm run build97```98992. Add to your Claude Desktop configuration:100```json101{102 "mcpServers": {103 "maigret": {104 "command": "node",105 "args": ["/absolute/path/to/mcp-maigret/build/index.js"],106 "env": {107 "MAIGRET_REPORTS_DIR": "/path/to/reports/directory"108 }109 }110 }111}112```113114## Features115116- **Username Search**: Search for a username across hundreds of social networks and websites117- **URL Analysis**: Parse URLs to extract information and search for associated usernames118- **Multiple Output Formats**: Support for txt, html, pdf, json, csv, and xmind formats119- **Site Filtering**: Filter searches by site tags (e.g., photo, dating, us)120- **Docker-based**: Reliable and consistent execution across environments121122## Tools123124### 1. Username Search Tool125- Name: `search_username`126- Description: Search for a username across social networks and sites127- Parameters:128 * `username` (required): Username to search for (alphanumeric, underscores, hyphens, periods only; max 100 chars)129 * `format` (optional, default: "pdf"): Output format (txt, html, pdf, json, csv, xmind)130 * `use_all_sites` (optional, default: false): Use all available sites instead of top 500131 * `tags` (optional): Array of tags to filter sites (alphanumeric, underscores, hyphens only)132133Example:134```json135{136 "username": "test_user123",137 "format": "html",138 "use_all_sites": false,139 "tags": ["photo"]140}141```142143### 2. URL Analysis Tool144- Name: `parse_url`145- Description: Parse a URL to extract information and search for associated usernames146- Parameters:147 * `url` (required): URL to analyze148 * `format` (optional, default: "pdf"): Output format (txt, html, pdf, json, csv, xmind)149150Example:151```json152{153 "url": "https://example.com/profile",154 "format": "txt"155}156```157158## Troubleshooting159160### Docker Issues1611621. Verify Docker is installed and running:163```bash164docker --version165docker ps166```1671682. Check Docker permissions:169 - Ensure your user has permissions to run Docker commands170 - On Linux, add your user to the docker group: `sudo usermod -aG docker $USER`171172### Reports Directory Issues1731741. Verify the reports directory:175 - The directory specified in MAIGRET_REPORTS_DIR must exist176 - Your user must have write permissions to this directory177 - Check permissions: `ls -la /path/to/reports/directory`1781792. Common configuration mistakes:180 - Missing MAIGRET_REPORTS_DIR environment variable181 - Directory doesn't exist182 - Incorrect permissions183 - Trailing slashes in the path1841853. After fixing any issues:186 - Save the configuration file187 - Restart Claude Desktop188189## Error Messages190191- "Docker is not installed or not running": Install Docker and start the Docker daemon192- "MAIGRET_REPORTS_DIR environment variable must be set": Add the environment variable to your configuration193- "Error creating reports directory": Check directory permissions and path194- "Error executing maigret": Check Docker logs and ensure the container has proper permissions195- "Invalid username": Username contains invalid characters. Use only alphanumeric, underscores, hyphens, and periods196- "Invalid URL": URL is malformed or contains prohibited characters197- "Invalid tag": Tag contains invalid characters. Use only alphanumeric, underscores, and hyphens198199## Contributing2002011. Fork the repository2022. Create a feature branch (`git checkout -b feature/amazing-feature`)2033. Commit your changes (`git commit -m 'Add amazing feature'`)2044. Push to the branch (`git push origin feature/amazing-feature`)2055. Open a Pull Request206207## License208209This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.210
Full transparency — inspect the skill content before installing.