Subnet Calculator MCP Server

Subnet Calculator MCP Server

By melihteke GitHub

-

mathgpt math-solver
Overview

what is Subnet Calculator MCP Server?

Subnet Calculator MCP Server is a tool that provides a simple Model Context Protocol (MCP) server for calculating subnet details based on CIDR (Classless Inter-Domain Routing) notation.

how to use Subnet Calculator MCP Server?

To use the Subnet Calculator, clone the repository, install the required dependencies, and run the MCP server using Python. You can then add the server to your MCP client by following specific configuration steps.

key features of Subnet Calculator MCP Server?

  • Calculates subnet details for a given CIDR.
  • Provides network address, broadcast address, netmask, wildcard mask, usable host range, and number of usable hosts.
  • Runs as an MCP server with Server-Sent Events (SSE) transport.

use cases of Subnet Calculator MCP Server?

  1. Network administrators can quickly calculate subnet details for network planning.
  2. Developers can integrate subnet calculation functionality into their applications.
  3. Educational purposes for teaching networking concepts.

FAQ from Subnet Calculator MCP Server?

  • What is the required Python version?

Python 3.7 or higher is required to run the server.

  • How do I install the necessary dependencies?

You can install the dependencies using the command: pip install fastmcp mcp[cli].

  • Can I use this server with different MCP clients?

Yes! The server can be integrated with various MCP clients by following the provided configuration steps.

Content

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.

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

No tools information available.

-

mathgpt math-solver
View Details
StatSource
StatSource by jamie7893

Statsource is a standalone MCP server designed to simplify data analysis. Whether you're pulling data from a PostgreSQL database or a CSV file, Statsource delivers actionable insights with ease

mathgpt math-solver
View Details

Mirror of

mathgpt math-solver
View Details

created from MCP server demo

mathgpt math-solver
View Details

-

mathgpt math-solver
View Details

created from MCP server demo

mathgpt math-solver
View Details