Cidr Calc
cidr_calcIPv4 / IPv6 subnet calculator: network and broadcast/last address, netmask, wildcard, first/last usable host, address and host counts, address type (private, CGNAT, documentation, ULA, link-local...), reverse-DNS zone, expanded/compressed IPv6; check whether IPs fall inside, and split the block into smaller subnets. Accepts CIDR, "ip netmask" or a single IP. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/cidr-calc
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"cidr": "<cidr>"
},
"name": "cidr_calc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cidr | Yes | e.g. 10.0.0.0/8, 2001:db8::/48, "192.168.1.0 255.255.255.0" | |
| contains | No | IPs to test for membership | |
| splitPrefix | No | Split into subnets of this prefix length (first 256 listed) |