Skip to main content
Glama
Calculator MCP Server

Calculator MCP Server

by pranav-v-k

AI Production Planner MCP (auto-planner-mcp)

An Industry 4.0 AI Production Planning MCP (Model Context Protocol) Server for automotive manufacturing lines. This system provides unified assembly queue management, intelligent build plan resequencing, Just-In-Sequence (JIS) inventory tracking, Overall Equipment Effectiveness (OEE) analytics, and financial downtime impact calculations.


πŸ“ System Architecture & Structure

auto-planner-mcp/
β”œβ”€β”€ data/                      # Industry 4.0 Mock Datasets
β”‚   β”œβ”€β”€ assembly_queue.json    # Active vehicle assembly queue (VINs, models, seat types)
β”‚   β”œβ”€β”€ inventory_jit.json     # Just-In-Time/Sequence parts inventory & ETA tracking
β”‚   └── station_oee.json       # Assembly station efficiency & operational status
β”œβ”€β”€ teammates/                 # Core Production Logic Engines
β”‚   β”œβ”€β”€ dev_a/                 # Assembly Queue & Resequencing Module
β”‚   β”‚   β”œβ”€β”€ __init__.py
β”‚   β”‚   └── logic.py
β”‚   └── dev_b/                 # Inventory & OEE Analytics Module
β”‚       β”œβ”€β”€ __init__.py
β”‚       └── logic.py
β”œβ”€β”€ package.json               # NitroStack MCP server configuration
└── tsconfig.json              # TypeScript configuration

Related MCP server: NitroStack Calculator MCP Server

✨ Features & Production Tools

🚘 Assembly Queue & Resequencing Module

  • get_assembly_sequence(shift_id: str, line_id: str)

    • Retrieves the active build queue for a specified shift and assembly line.

  • resequence_build_plan(delay_reason: str, missing_option: str)

    • Dynamically resequences the assembly line schedule when part shortages occur (e.g., missing seat trims) by prioritizing available vehicle configurations and shifting delayed VINs to the end of the queue.

🏭 Inventory & Equipment Analytics Module

  • check_jis_inventory(part_number: str, vin_sequence: str = None)

    • Checks stock levels, supplier ETAs, and shortage indicators for required JIS automotive components.

  • calculate_station_oee(station_id: str)

    • Calculates Overall Equipment Effectiveness ($OEE = Availability \times Performance \times Quality$) for assembly stations (e.g., STATION_WELDING).

  • estimate_downtime_cost(stopped_station_id: str)

    • Computes estimated financial losses based on station downtime duration (assumes $$22,000/\text{min}$ for non-running stations).


πŸ“Š Data Schemas

Dataset

File Path

Key Attributes

Assembly Queue

data/assembly_queue.json

vin, model, trim, seat_type, status

JIT Inventory

data/inventory_jit.json

stock, supplier_eta, shortage

Station OEE

data/station_oee.json

availability, performance, quality, status


πŸš€ Running the MCP Server

# Start in development mode
npm run dev

# Build the project
npm run build

# Start production server
npm start

Available Tools

2 tools
calculateC

Perform basic arithmetic calculations

NameRequiredDescriptionDefault
aYesFirst number
bYesSecond number
operationYesThe operation to perform
convert_temperatureC

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

NameRequiredDescriptionDefault
valueNoTemperature value to convert
to_unitNoUnit to convert to (C or F)
file_nameYesName of the uploaded file
file_typeYesMIME type of the uploaded file
from_unitNoUnit to convert from (C or F)
file_contentYesBase64 encoded file content. Will be injected by system.

Tool Schema Changelog

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

  1. 2 tool updatesv1.0.0
    • First observedcalculate
    • First observedconvert_temperature

TDQS

A3.5/5.0

Scored across 2 tools

Disambiguation5/5

The two tools have clearly distinct purposes: one for arithmetic calculations and one for temperature conversion. There is no overlap or ambiguity between them.

Naming Consistency5/5

Both tool names follow a consistent verb-based pattern: 'calculate' and 'convert_temperature'. Though one is a single verb and the other is verb_noun, the style is coherent and predictable.

Tool Count4/5

With only two tools, the server is minimal but appropriate for a focused calculator MCP server. It feels slightly thin but not unreasonable.

Completeness3/5

The server covers basic arithmetic and temperature conversion, but lacks other common calculator features such as advanced math functions or general unit conversion. The coverage is adequate for a narrow calculator domain but has notable gaps.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues

Related MCP Connectors

Related MCP Servers

  • F
    license
    A
    quality
    D
    maintenance
    A minimal NitroStack starter template with a calculator module including tools, resources, and prompts for learning MCP server fundamentals.
    4
    -
  • F
    license
    B
    quality
    D
    maintenance
    A minimal MCP server template for learning NitroStack fundamentals, featuring a calculator module with tools, resources, and prompts.
    6
    -
  • F
    license
    C
    quality
    D
    maintenance
    A minimal MCP server template for learning NitroStack fundamentals, featuring a calculator module with tools, resources, and prompts.
    9
    -