nmap
CLINetwork exploration and security scanning tool.
Scan networks for open ports, services, and OS fingerprinting
Recipes
Curated from documentation and usage. Percentages are estimates, not measurements.
Scan a host for open ports
nmap -sV 192.168.1.1Scan a range of IPs
nmap 192.168.1.0/24Fast scan top 100 ports
nmap -F example.comInstall
Homebrew
brew install nmapapt
sudo apt install nmapAgent notes
- When to use
- Network discovery, port scanning, security audits
- Quick examples
nmap 192.168.1.1nmap -sV -p 80,443 example.com
Use from an agent
curl -s https://clihub.com/api/tools/nmap | jq '.agentHints.provenRecipes[] | {task, command, verified}'Or call get_tool with slug nmap on the MCP server at https://clihub.com/mcp.