Skip to main content
Glama
melihteke

Subnet Calculator MCP Server

by melihteke

Subnet Calculator MCP Server

alt text 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

  1. Calculate subnet details for a given CIDR.

  2. Provides:

  • Network address

  • Broadcast address

  • Netmask

  • Wildcard mask

  • Usable host range

  • Number of usable hosts

  1. Runs as an MCP server with SSE (Server-Sent Events) transport.

Related MCP server: NetworkCalc MCP Server

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:

alt text

alt text

  • Go extentions section

alt text

  • Select "Add custom extentions"

alt text

alt text

Now the MCP Server(extention is added and enabled) alt text

Now the MCP server is activated: alt text

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

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:

Watch the demo

How to add Subnet Calculator MCP Server to your Goose Client

Watch the demo

How to add Subnet Calculator MCP Server to N8N Instance

Watch the demo

F
license - not found
Not graded
quality - not tested
D
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
    Not graded
    quality
    D
    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
    Not graded
    quality
    D
    maintenance
    Provides network utility tools including DNS lookup, WHOIS lookup, SPF record inspection, SSL/TLS certificate checking, and subnet/CIDR analysis powered by networkcalc.com services.
    1
    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

  • Calculates IPv4 subnet information from an IP address and CIDR prefix or dotted decimal subnet mask

  • Generate IDs, QR codes, and hashes, encode values, geolocate IPs, plus gated host diagnostics.

  • 500+ deterministic tools for AI agents: math, conversion, validation, hashing, encoding, date/time.

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/melihteke/Subnet-Calculator-MCP-Server'

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