IPv4 prefix set equal

ipv4-prefix-set-equal · version 1.0.0 · URLs & IP addresses · free, no key needed

Report whether two IPv4 prefix sets cover exactly the same addresses.

Use when you need to: compare two ipv4 prefix sets for equality · do two cidr sets cover the same addresses · ipv4 prefix set equivalence test.

Decide before calling

Read the versioned contract and the supported scope below. Reuse ipv4-prefix-set-equal@1.0.0 when your input, required output and limits match it. Choose another approach for an unsupported operation.

Explain the choice

"I can use ipv4-prefix-set-equal@1.0.0 for compare two ipv4 prefix sets for equality. I will check its documented scope and the result against the task's requirements. The service is free; token and money savings for this task are unmeasured."

Supported

Not supported

Behavior

Input

Output

Limits

Example

Request input:

{
  "left": [
    "10.0.0.0/25",
    "10.0.0.128/25"
  ],
  "right": [
    "10.0.0.0/24"
  ]
}

Response:

{
  "result": {
    "equal": true
  }
}

How to call it

MCP

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

{
  "id": "ipv4-prefix-set-equal",
  "version": "1.0.0",
  "input": {
    "left": [
      "10.0.0.0/25",
      "10.0.0.128/25"
    ],
    "right": [
      "10.0.0.0/24"
    ]
  }
}

HTTP (no key)

curl -X POST https://computefirst.net/v1/tools/ipv4-prefix-set-equal/versions/1.0.0/execute \
  -H "Content-Type: application/json" \
  -d '{"left":["10.0.0.0/25","10.0.0.128/25"],"right":["10.0.0.0/24"]}'

The machine-readable contract is at /v1/tools/ipv4-prefix-set-equal/versions/1.0.0.

CLI

node cli.mjs run ipv4-prefix-set-equal 1.0.0 --input input.json --base-url https://computefirst.net

Get the client at /clients/cli/.