Calculates IPv4 subnet information from an IP address and CIDR prefix or dotted decimal subnet mask
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
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.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/subnet-calculator-mcp)<a href="https://allmcps.com/mcp/subnet-calculator-mcp"><img src="https://allmcps.com/api/badge/subnet-calculator-mcp?style=directory" alt="Subnet Calculator MCP on AllMCPs" /></a>