MCP.so
Sign In

Subnet Calculator MCP Server

@melihteke

About Subnet Calculator MCP Server

No overview available yet

Basic information

Category

Other

Runtime

python

Transports

stdio

Publisher

melihteke

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "Subnet-Calculator-MCP-Server": {
      "command": "python",
      "args": [
        "main.py"
      ]
    }
  }
}

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is Subnet Calculator MCP Server?

Subnet Calculator MCP Server is a simple MCP (Model Context Protocol) server that calculates subnet details for a given CIDR (Classless Inter-Domain Routing) notation. It uses the FastMCP library and exposes subnet calculation as a tool via SSE (Server-Sent Events) transport. It is intended for network engineers, developers, or anyone who needs quick subnet calculations within an AI assistant.

How to use Subnet Calculator MCP Server?

Clone the repository or copy the script, then install dependencies: pip install fastmcp mcp[cli]. Run the server with python main.py. To add it to an MCP client, use the SSE endpoint https://mcp-subnet-calculator.mteke.com/sse — configuration steps are provided for Goose MCP Client and Claude Desktop MCP Client.

Key features of Subnet Calculator MCP Server

  • Accepts a CIDR notation and returns subnet details.
  • Outputs: network address, broadcast address, netmask.
  • Also outputs wildcard mask and usable host range.
  • Reports the number of usable hosts.
  • Runs as an MCP server with SSE transport.

Use cases of Subnet Calculator MCP Server

  • Quickly obtain subnet details while chatting with an AI assistant.
  • Automate network design tasks within an MCP-enabled workflow.
  • Validate or explore CIDR ranges without leaving the chat interface.
  • Integrate subnet calculations into custom MCP clients like Goose or Claude Desktop.

FAQ from Subnet Calculator MCP Server

What subnet details does the tool return?

It returns the network address, broadcast address, netmask, wildcard mask, usable host range, and number of usable hosts for a given CIDR.

What are the installation requirements?

Python 3.7+ and the fastmcp library (install via pip install fastmcp mcp[cli]).

How do I run the server?

After installing dependencies, run python main.py in the project directory. The server uses SSE transport and listens for connections.

Which MCP clients are supported?

The README includes setup instructions for Goose MCP Client (via advanced settings) and Claude Desktop MCP Client (via editing the claude_desktop_config.json file to point to the SSE endpoint).

Is there any authentication or data persistence?

The README does not mention authentication or data storage; the server appears to perform calculations in memory and does not persist user input.

Comments

More Other MCP servers