API & MCP
Everything a person can do on Signalhouse Subnet Planner (VLSM, CIDR aggregation, IPv4/IPv6), a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://signalhousesubnetplanner.usefulweb.site/api/v1/calculate– run Signalhouse Subnet Planner (VLSM, CIDR aggregation, IPv4/IPv6)GET https://signalhousesubnetplanner.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Signalhouse Subnet Planner (VLSM, CIDR aggregation, IPv4/IPv6)
Plans address space the way network engineers do it: details of any address or prefix (network, usable range, broadcast, RFC 5952 canonical IPv6 form, special-purpose range), equal splits by subnet count or hosts, VLSM allocation for a list of host requirements, aggregation of prefix lists into the minimal CIDR set and a summary route (RFC 4632), a block minus excluded prefixes, and address ranges as CIDR blocks. It is the planner of the Signalhouse Network lab.
| Field | Type | Default | Description |
|---|---|---|---|
mode | select (info, split, vlsm, aggregate, exclude, range) | "vlsm" | What to calculate |
block | text | "192.168.1.0/24" | Block, address or range. The address block to plan in (VLSM, split, exclude), any address or prefix (details) or a range “first - last” (range mode). Not used for aggregation. |
requirements | table | [{"name":"Office LAN","hosts":100},{"name":"Lab","hosts":50},{"name":"Wi-Fi gues | Subnets needed (VLSM). One row per subnet: a name and the number of hosts it must hold, or a fixed prefix length. |
order | select (largest, listed) | "largest" | VLSM order |
allow31 | boolean | false | Use /31 (IPv4) or /127 (IPv6) for 2-host point-to-point links |
ipv6Lan64 | boolean | true | IPv6: never smaller than a /64 (SLAAC) |
splitBy | select (count, hosts, length) | "count" | Split by |
count | integer | 4 | Number of subnets |
hosts | integer | — | Hosts per subnet |
newLength | integer | — | New prefix length |
prefixes | textarea | — | Prefixes (one per line). Aggregate: the prefixes to summarise. Exclude: the prefixes to cut out of the block. VLSM: prefixes to keep free (reserved). |
Example request
Classic VLSM: 192.168.1.0/24 for 100, 50, 25 and 10 hosts plus two router links
curl -X POST https://signalhousesubnetplanner.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"mode":"vlsm","block":"192.168.1.0/24","requirements":[{"name":"LAN A","hosts":100},{"name":"LAN B","hosts":50},{"name":"LAN C","hosts":25},{"name":"LAN D","hosts":10},{"name":"Link 1","hosts":2},{"name":"Link 2","hosts":2}]}'
Every result contains
inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.
MCP (Model Context Protocol)
- Streamable HTTP endpoint:
https://signalhousesubnetplanner.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
signalhouse_subnet_planner - Local stdio connector:
node src/mcp-stdio.ts --tool=signalhouse-subnet-planner
{
"mcpServers": {
"signalhouse-subnet-planner": { "type": "http", "url": "https://signalhousesubnetplanner.usefulweb.site/mcp" }
}
}