About Subnet Calculator MCP Server
A FastMCP server for calculating subnet information from CIDR notation. It is intended for network troubleshooting and planning, returning address, mask, host-range, and host-count details.
Key features
- 01Calculate subnet details from CIDR
- 02Return network and broadcast addresses
- 03Show netmask and wildcard mask
- 04Report usable host range and count
- 05SSE transport
Use cases
- 01Check subnet details during network setup
- 02Determine usable host ranges from a CIDR block
MCP support
Exposes subnet calculation as a tool for MCP clients and runs over SSE transport.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMESubnet Calculator MCP Server
This project provides a simple MCP (Model Context Protocol) server for calculating subnet details based on a given CIDR (Classless Inter-Domain Routing) notation. It uses the FastMCP library to expose the subnet calculation functionality as a tool.
Features
- Calculate subnet details for a given CIDR.
- Provides:
- Network address
- Broadcast address
- Netmask
- Wildcard mask
- Usable host range
- Number of usable hosts
- Runs as an MCP server with SSE (Server-Sent Events) transport.
Requirements
- Python 3.7+
- fastmcp library
Installation
- Clone the repository or copy the script.
- Install the required dependencies:
pip install fastmcp mcp[cli]
Usage
THis MCP runs with SSE transport mode.
Run the MCP server:
python main.py
How to add this Server to your MCP Client
Goose MCP Client
- Click Menu ("..." icon) and select Advanced settings:


- Go extentions section

- Select "Add custom extentions"

- Select Server-Sent Events as Type
- Select a random ID
- Select Name for the MCP Server
- Sleect Description
- Enter URI : https://mcp-subnet-calculator.mteke.com/sse
- Click Add button

Now the MCP Server(extention is added and enabled)

Now the MCP server is activated:

You can watch the video to demonstrate how to enable mcp server on Goose Client App:

Claude Desktop MCP Client
- Select Claude Desktop Settings
- Select Developer and Edit config
- Change claude_desktop_config.json content to below
{
"mcpServers": {
"mcp-subnet-calculator-sse": {
"command": "npx",
"args": [
"-y",
"supergateway",
"--sse",
"https://mcp-subnet-calculator.mteke.com/sse"
]
}
}
}
- Close Claude Desktop App completely and restart it
You can watch the video to demonstrate how to enable mcp server on Claude Desktop Client App:
How to add Subnet Calculator MCP Server to your Goose Client
How to add Subnet Calculator MCP Server to N8N Instance
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.


