This MCP server for Maigret provides tools for searching usernames across social networks and analyzing URLs through a standardized protocol interface. The server enables OSINT (Open Source Intelligence) capabilities within compatible applications like Claude Desktop.
The fastest way to install:
npx -y @smithery/cli install mcp-maigret --client claude
Prerequisites:
Install globally via npm:
npm install -g mcp-maigret
Create a reports directory:
mkdir -p /path/to/reports/directory
Configure Claude Desktop:
Add this to your Claude Desktop configuration file:
{
"mcpServers": {
"maigret": {
"command": "mcp-maigret",
"env": {
"MAIGRET_REPORTS_DIR": "/path/to/reports/directory"
}
}
}
}
Configuration file location:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
Restart Claude Desktop
For those who want to run from source:
Clone and build:
git clone <repository_url>
cd mcp-maigret
npm install
npm run build
Configure Claude Desktop for source installation:
{
"mcpServers": {
"maigret": {
"command": "node",
"args": ["/absolute/path/to/mcp-maigret/build/index.js"],
"env": {
"MAIGRET_REPORTS_DIR": "/path/to/reports/directory"
}
}
}
}
Search for usernames across numerous social networks and websites:
search_username
username
(required): Username to search forformat
(optional, default: "pdf"): Output format (txt, html, pdf, json, csv, xmind)use_all_sites
(optional, default: false): Use all available sites instead of top 500tags
(optional): Array of tags to filter sites (e.g., ["photo", "dating"])Example usage:
{
"username": "test_user123",
"format": "html",
"use_all_sites": false,
"tags": ["photo"]
}
Parse URLs to extract information and search for associated usernames:
parse_url
url
(required): URL to analyzeformat
(optional, default: "pdf"): Output format (txt, html, pdf, json, csv, xmind)Example usage:
{
"url": "https://example.com/profile",
"format": "txt"
}
Verify Docker installation:
docker --version
docker ps
Check Docker permissions:
sudo usermod -aG docker $USER
Verify directory setup:
ls -la /path/to/reports/directory
Common configuration issues:
After fixing issues:
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "maigret" '{"command":"mcp-maigret","env":{"MAIGRET_REPORTS_DIR":"/path/to/reports/directory"}}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"maigret": {
"command": "mcp-maigret",
"env": {
"MAIGRET_REPORTS_DIR": "/path/to/reports/directory"
}
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"maigret": {
"command": "mcp-maigret",
"env": {
"MAIGRET_REPORTS_DIR": "/path/to/reports/directory"
}
}
}
}
3. Restart Claude Desktop for the changes to take effect