About mcp-recon-ng
mcp-recon-ng exposes recon-ng OSINT framework operations to LLMs through an MCP server. It supports workspace, module, marketplace, and database tasks, and requires recon-ng to be installed separately.
Key features
- 01Manage recon-ng workspaces
- 02Browse and run modules
- 03Search and manage marketplace modules
- 04Query and modify the database
- 05Run recon-ng commands
Use cases
- 01Create and switch OSINT workspaces
- 02Run a recon-ng module
- 03Find or install marketplace modules
- 04Inspect or update database records
MCP support
The MCP server exposes recon-ng workspace, module, marketplace, database, and command operations as tools for MCP clients.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEmcp-recon-ng
MCP server exposing full recon-ng OSINT framework functionality to LLMs.
mcp-name: io.github.daedalus/mcp-recon-ng
Install
pip install mcp-recon-ng
Requires recon-ng to be installed separately:
pip install recon-ng
Usage
CLI
mcp-recon-ng
MCP Client Configuration
Add to your MCP client config:
{
"mcpServers": {
"recon-ng": {
"command": "mcp-recon-ng",
"env": {}
}
}
}
Available Tools
Workspace Management
workspace_list()- List all workspacesworkspace_create(name)- Create a new workspaceworkspace_switch(name)- Switch to a workspaceworkspace_delete(name)- Delete a workspace
Module Management
module_list(category)- List available modulesmodule_load(module_path)- Load a modulemodule_unload()- Unload current modulemodule_options_list()- List module optionsmodule_options_set(key, value)- Set module optionmodule_run()- Run loaded module
Marketplace
marketplace_search(query)- Search marketplacemarketplace_install(module_path)- Install modulemarketplace_remove(module_path)- Remove module
Database Operations
db_query(table, where)- Query databasedb_insert(table, data)- Insert recorddb_delete(table, where)- Delete records
Utilities
run_command(command)- Execute recon-ng commandget_info()- Get system information
Example
from mcp_recon_ng import workspace_create, module_load, module_run
# Create a new workspace
workspace_create("osint_project")
# Load a module
module_load("recon/domains-whois/whois_miner")
# Set module options
module_options_set("SOURCE", "example.com")
# Run the module
result = module_run()
Development
git clone https://github.com/daedalus/mcp-recon-ng.git
cd mcp-recon-ng
pip install -e ".[test]"
# run tests
pytest
# format
ruff format src/ tests/
# lint
ruff check src/ tests/
# type check
mypy src/
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.