The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Subnet Calculator MCP listing page.
Subnet Calculator MCP is a Cloudflare Workers-hosted Model Context Protocol server that calculates IPv4 subnet information from an IP address and CIDR prefix or dotted decimal subnet mask.
Transport: Streamable HTTP
Authentication: none currently required
calculate_subnetCalculates IPv4 subnet details.
Accepted input forms:
Returns:
/31 and /32 networksSome clients may require explicitly setting the transport type to streamable-http.
Install dependencies:
Run type checking:
Start a local Cloudflare Workers development server:
The MCP endpoint is available at /mcp on the local Wrangler dev URL.
Authenticate with Cloudflare Wrangler if needed:
Deploy to Cloudflare Workers:
This repository includes server.json for MCP Registry publication. The registry entry describes the hosted remote server and its Streamable HTTP endpoint.