Skip to main content
Glama
Calculator MCP Server

Calculator MCP Server

by nehabhigna21

NitroStack Starter Template

Minimal template for learning NitroStack fundamentals with a calculator-focused MCP server and basic widgets.

What This Template Includes

  • calculator module with tools, resources, and prompts

  • TypeScript + Zod validation setup

  • Widget-ready project structure

  • Production-friendly npm scripts

Related MCP server: TypeScript MCP Server Boilerplate

Quick Start

npx @nitrostack/cli init my-server --template typescript-starter
cd my-server
npm run dev

Common Commands

npm run dev
npm run build
npm start

NitroStudio

NitroStudio is the recommended way to test and debug this template during development.

Community

Available Tools

2 tools
calculateB

Perform basic arithmetic calculations

Inputs: a (required), b (required), operation (required).

convert_temperatureB

Convert temperature units based on file content or direct input. Supports Celsius (C) and Fahrenheit (F).

Inputs: file_name (required), file_type (required), file_content (required), value, +2 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 2 tools

    Disambiguation4/5

    The two tools target distinct tasks: unit conversion (temperature) versus arithmetic evaluation. Minor overlap exists because both are numeric utilities, but their descriptions make the intended use cases reasonably clear.

    Naming Consistency5/5

    Both names follow a consistent snake_case verb_noun pattern (convert_temperature, calculate). The convention is predictable and readable.

    Tool Count3/5

    Two tools is thin for a server framed as a general-purpose calculator; it sits at the borderline of under-scoped. A small unit converter/calculator might legitimately need only a couple of entry points, but this feels sparse.

    Completeness3/5

    Basic arithmetic and temperature conversion are covered, but temperature supports only C/F (no Kelvin) and there is no coverage for length, mass, or other common conversion families. Notable gaps exist for a calculator-domain server, though agents can work around them.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      A starter template for building Model Context Protocol (MCP) servers using TypeScript and Zod for schema validation. It provides a foundational structure and examples for implementing custom tools and resources, such as calculators and system information endpoints.
      ISC
    • A
      license
      A
      quality
      D
      maintenance
      A foundational project for quickly developing Model Context Protocol servers using the TypeScript SDK and Zod for schema validation. It features pre-implemented examples for tools like a calculator and greeting service, along with templates for managing dynamic resources.
      6
      ISC
    • F
      license
      Not graded
      quality
      D
      maintenance
      A calculator-focused MCP server with TypeScript and Zod validation, providing tools, resources, and prompts for basic arithmetic operations.
      -
    • F
      license
      B
      quality
      D
      maintenance
      Minimal calculator-focused MCP server with tools, resources, and prompts using TypeScript and Zod validation.
      2
      -