Skip to main content
Glama
Calculator MCP Server

Calculator MCP Server

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: Calculator MCP Server

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

6 tools
analyze_accessibilityB

Analyze a parsed lesson for accessibility barriers: missing captions, missing diagram descriptions, and language.

Inputs: raw_text (required), has_audio, has_images.

calculateC

Perform basic arithmetic calculations

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

convert_temperatureC

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.

get_student_progressB

Retrieve a student's recorded quiz history and progress

Inputs: student_id (required).

parse_lesson_fileB

Parse an uploaded lesson file (PDF) and extract structured content

Inputs: file_name (required), file_type (required), file_content (required).

record_quiz_resultB

Record a student quiz result for progress tracking

Inputs: score (required), total (required), student_id (required), lesson_topic (required).

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 6 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: arithmetic calculation, temperature conversion, lesson parsing, accessibility analysis, quiz recording, and progress retrieval. There is no overlap or ambiguity in their functions.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern in snake_case (calculate, convert_temperature, parse_lesson_file, analyze_accessibility, record_quiz_result, get_student_progress). This makes the API predictable and easy to navigate.

    Tool Count5/5

    Six tools is well within the ideal range for a focused server. Each tool addresses a specific workflow step without redundancy, though the server name suggests a calculator, the broader educational purpose justifies the variety.

    Completeness3/5

    While the domain is not strictly defined, there are notable gaps: no tool to create or edit lessons (only parse), no update/delete for quiz results, and no temperature conversion beyond C/F. Core workflows exist but lack full lifecycle coverage.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables arithmetic operations and calculations through natural language, serving as a learning template for NitroStack.
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      This MCP server provides calculator tools, resources, and prompts for arithmetic operations, and serves as a minimal template for learning NitroStack fundamentals.
      -
    • F
      license
      A
      quality
      D
      maintenance
      A calculator-focused MCP server built with NitroStack, providing tools, resources, and prompts for arithmetic operations.
      14
      -