Subnet Calculator MCP Server

Subnet Calculator MCP Server

Enables subnet calculations from CIDR notation, providing network address, broadcast address, netmask, wildcard mask, usable host range, and number of usable hosts.

Category
Visit Server

README

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

  • 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

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

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured