IPv4 CIDR aggregate

ipv4-cidr-aggregate · version 1.0.0 · URLs & IP addresses · free, no key needed

Merge a list of IPv4 CIDR blocks into the minimal equivalent list of non-overlapping CIDR blocks.

Use when you need to: ipv4 cidr aggregate · summarize ipv4 cidr list · collapse ipv4 subnets.

Supported

Not supported

Behavior

Input

Output

Limits

Example

Request input:

{
  "cidrs": [
    "10.0.0.0/25",
    "10.0.0.128/25",
    "10.0.2.0/24"
  ]
}

Response:

{
  "result": {
    "aggregated": [
      "10.0.0.0/24",
      "10.0.2.0/24"
    ],
    "count": 2
  }
}

How to call it

MCP

Connect https://computefirst.net/mcp (setup), then call execute with:

{
  "id": "ipv4-cidr-aggregate",
  "version": "1.0.0",
  "input": {
    "cidrs": [
      "10.0.0.0/25",
      "10.0.0.128/25",
      "10.0.2.0/24"
    ]
  }
}

HTTP (no key)

curl -X POST https://computefirst.net/v1/tools/ipv4-cidr-aggregate/versions/1.0.0/execute \
  -H "Content-Type: application/json" \
  -d '{"cidrs":["10.0.0.0/25","10.0.0.128/25","10.0.2.0/24"]}'

The machine-readable contract is at /v1/tools/ipv4-cidr-aggregate/versions/1.0.0.

CLI

node cli.mjs run ipv4-cidr-aggregate 1.0.0 --input input.json --base-url https://computefirst.net

Get the client at /clients/cli/.