subnet_lookup
Pack: hackertarget · Endpoint: https://gateway.pipeworx.io/hackertarget/mcp
“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, or use one-click install buttons:
{
"mcpServers": {
"hackertarget": {
"url": "https://gateway.pipeworx.io/hackertarget/mcp"
}
}
}
See Getting Started for client-specific install steps.