Skip to main content
Glama
MRP Calculator MCP Server

MRP Calculator MCP Server

MRP Calculator MCP Server

Overview

This MCP server provides tools for Material Requirements Planning (MRP) calculations. It follows the Model Context Protocol (MCP) to expose its functionality to the system.

Related MCP server: shopico

Features

  • Delivery schedule calculation

  • Order need determination

  • MRP period calculations

Tools

The server provides the following MCP tools:

calculate_order_need

Calculates when and how much to order based on:

  • Current inventory levels

  • Forecast periods

  • Delivery schedules

  • Order constraints

Configuration

The server can be configured through the MCP settings file with:

{
  "mcpServers": {
    "mrp": {
      "command": "node",
      "args": ["/path/to/mrp-calculator/dist/index.js"],
      "env": {}
    }
  }
}

Development

  • Written in TypeScript

  • Uses MCP SDK for server implementation

  • Includes test cases for validation

Project Structure

mrp-calculator/
├── src/
│   ├── index.ts          # Main server implementation
│   ├── calculator.ts     # MRP calculation logic
│   ├── types.ts          # TypeScript type definitions
│   └── validator.ts      # Input validation
├── package.json
├── tsconfig.json
└── README.md

Building and Running

# Install dependencies
npm install

# Build the server
npm run build

# Run the server
node dist/index.js

Version Control

This repository uses Git for version control. Important files are tracked while build artifacts and dependencies are ignored via .gitignore.

Available Tools

1 tool
calculate_order_needC

Calculate MRP order need based on forecast, inventory, and delivery schedule

Inputs: analysis_date (required), current_balance (required), delivery_schedule (required), forecast_periods (required), +4 more.

Tool Schema Changelog

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

    TDQS

    B3/5.0

    Scored across 1 tool

    Disambiguation5/5

    With only one tool, there is no possibility of ambiguity or overlap between tools. The tool's purpose is clearly defined and distinct by default.

    Naming Consistency5/5

    A single tool inherently has perfect naming consistency, as there are no other tools to compare it against. The name follows a clear verb_noun pattern.

    Tool Count2/5

    One tool is too few for a server named 'MRP Calculator MCP Server', which suggests a domain (Material Requirements Planning) that typically involves multiple calculations or operations. A single tool feels thin and incomplete for this scope.

    Completeness2/5

    The tool surface is severely incomplete for MRP. While the tool calculates order need, there are obvious gaps such as inventory management, forecast updates, delivery tracking, or other MRP-related operations, which will likely cause agent failures in real-world scenarios.

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables AI-assisted planning inquiries by exposing PP/DS OData APIs as MCP tools for SAP S/4HANA, allowing natural language queries about planned orders, production orders, and work centers.
      -
    • F
      license
      A
      quality
      D
      maintenance
      Enables demand forecasting and replenishment recommendations using statistical models (Syntetos-Boylan classification, AutoETS, TSB) and provides tools for forecasting, evaluation, and order quantity calculation.
      6
      -
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables agents to forecast SKU sales velocity, calculate safety stock and reorder points, and autonomously generate supplier purchase orders when stock is running low. It exposes this supply-chain analysis over JSON-RPC 2.0 tools that can be called from any MCP-compatible client.
      7
      MIT