IP address calculator — subnets, CIDR, ranges, conversions, and network info from the command line.
pip install ipcalc-cli# Network info
ipcalc info 192.168.1.0/24
# Convert IP formats
ipcalc convert 192.168.1.1
# Subnet division
ipcalc subnet 10.0.0.0/16 -p 24
# Check if IP is in network
ipcalc contains 192.168.1.0/24 192.168.1.50
# IP range to CIDR
ipcalc range-to-cidr 192.168.0.0 192.168.3.255
# Merge overlapping CIDRs
ipcalc merge 192.168.0.0/25 192.168.0.128/25
# List hosts
ipcalc list 192.168.1.0/28All commands support --json for machine-readable output.
See SKILL.md for agent-optimized documentation.
MIT