MRP Calculator

by brandon-butterwick

Not rated
GitHub

About

Enables supply chain managers to perform Material Requirements Planning calculations by determining optimal order quantities based on inventory data, forecasts, and delivery schedules.

Details

Author
brandon-butterwick
Repository
brandon-butterwick/MRP_Calculation
Categories
Design, AI, Infrastructure, Frontend, Project Management

- Delivery schedule calculation
- Order need determination
- MRP period calculations

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name MRP Calculator
    Command (node, npx, python, etc.) node
    Arguments
    • Argument 1 /path/to/mrp-calculator/dist/index.js

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

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

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

```bash

npm install

calculate_order_need

Calculates when and how much to order based on current inventory levels, forecast periods, delivery schedules, and order constraints.

The server provides the following MCP tools:

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

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

Linux

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

Macos

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

Windows

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

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.

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

```bash
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.