subnet_lookup

Pack: hackertarget · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/subnet_lookup for the schema, then POST the same URL with its arguments for the data.

“What is the range of [CIDR]” / “how many hosts in a /24” / “network and broadcast address for [X]” / “subnet calculator” — subnet arithmetic via HackerTarget, returning network address, broadcast address, usable host range, netmask and host count for a CIDR block. A pure calculation over the input; it does not probe the network.

Example call

Arguments

{
  "target": "192.168.1.0/24"
}

curl

curl -X POST https://gateway.pipeworx.io/hackertarget/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"subnet_lookup","arguments":{"target":"192.168.1.0/24"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('subnet_lookup', {
  "target": "192.168.1.0/24"
});

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the hackertarget pack
{
  "mcpServers": {
    "hackertarget": {
      "url": "https://gateway.pipeworx.io/hackertarget/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 30, 2026