IPv6 in CIDR

ipv6-in-cidr · version 1.0.0 · URLs & IP addresses · free, no key needed

Test whether an IPv6 address lies in a CIDR prefix whose host bits are zero.

Use when you need to: ipv6 in cidr · check ipv6 cidr membership · ipv6 address in network prefix.

Supported

Not supported

Behavior

Input

Output

Limits

Example

Request input:

{
  "address": "2001:db8::10",
  "cidr": "2001:db8::/32"
}

Response:

{
  "result": {
    "inside": true,
    "network": "2001:db8::",
    "prefix": 32
  }
}

How to call it

MCP

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

{
  "id": "ipv6-in-cidr",
  "version": "1.0.0",
  "input": {
    "address": "2001:db8::10",
    "cidr": "2001:db8::/32"
  }
}

HTTP (no key)

curl -X POST https://computefirst.net/v1/tools/ipv6-in-cidr/versions/1.0.0/execute \
  -H "Content-Type: application/json" \
  -d '{"address":"2001:db8::10","cidr":"2001:db8::/32"}'

The machine-readable contract is at /v1/tools/ipv6-in-cidr/versions/1.0.0.

CLI

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

Get the client at /clients/cli/.