CIDR calculator: calculate the address range, size and netmask of a CIDR block
ip_cidrDetails of an IPv4 network in CIDR notation: network and broadcast address, first and last usable host, netmask, number of addresses, and whether a given IP falls inside. Use for firewall rules and allowlists. Example: cidr=192.168.1.0/24. Price $0.01/call via x402 USDC or a card key (/credits), first 25 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.
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": "ip_cidr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | No | Optional IPv4 address to test for membership | |
| cidr | Yes | IPv4 network in CIDR notation |