Skip to main content
Glama
zekerutledge

subnet-calculator-mcp

by zekerutledge

Subnet Calculator MCP

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.

Public endpoint

https://subnet-calculator.zekedoesai.com/mcp

Transport: Streamable HTTP

Authentication: none currently required

Related MCP server: nwtools-mcp

Tools

calculate_subnet

Calculates IPv4 subnet details.

Accepted input forms:

{ "address": "192.168.1.10/24" }
{ "address": "192.168.1.10", "prefixLength": 24 }
{ "address": "192.168.1.10", "subnetMask": "255.255.255.0" }

Returns:

  • network address

  • broadcast address

  • subnet mask

  • wildcard mask

  • first usable host

  • last usable host

  • total address count

  • usable host count

  • CIDR prefix

  • IP class

  • scope: private, public, loopback, link-local, multicast, or reserved

  • notes for /31 and /32 networks

Connect from an MCP client

{
  "mcpServers": {
    "subnet-calculator": {
      "url": "https://subnet-calculator.zekedoesai.com/mcp"
    }
  }
}

Some clients may require explicitly setting the transport type to streamable-http.

Local development

Install dependencies:

npm install

Run type checking:

npm run typecheck

Start a local Cloudflare Workers development server:

npm run dev

The MCP endpoint is available at /mcp on the local Wrangler dev URL.

Deploy

Authenticate with Cloudflare Wrangler if needed:

wrangler login

Deploy to Cloudflare Workers:

npm run deploy

MCP Registry

This repository includes server.json for MCP Registry publication. The registry entry describes the hosted remote server and its Streamable HTTP endpoint.

F
license - not found
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    C
    maintenance
    Enables subnet mask calculations and network planning through MCP framework. Provides detailed subnet information including network addresses, IP ranges, and broadcast addresses, plus LAN planning advice for different network scales.
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Provides accurate IPv4 subnet and address tools for LLMs using Python's ipaddress library. Includes CIDR parsing, overlap detection, IP classification, and more.
    11
    GPL 3.0

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zekerutledge/subnet-calculator-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server