MRP Calculator MCP Server
The MRP Calculator MCP Server provides Material Requirements Planning (MRP) calculations via the Model Context Protocol (MCP). With this server, you can:
Calculate when and how much to order based on inventory levels, forecast periods, delivery schedules, and order constraints
Determine order needs using inputs including SKU location, current balance, open orders, and must-order points
Optionally account for batch sizes in order calculations
The server is built in TypeScript using the MCP SDK and can be configured through an MCP settings file.
Used for version control of the MRP calculator's source code, tracking important files while ignoring build artifacts and dependencies via .gitignore.
Handles package management and build scripts for the MRP calculator, enabling users to install dependencies and build the server.
The MRP calculator is written in TypeScript, providing static typing and improved developer experience for implementing the MRP calculation logic.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MRP Calculator MCP Servercalculate order needs for next month based on current inventory and forecast"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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: PP/DS MCP Server
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.mdBuilding and Running
# Install dependencies
npm install
# Build the server
npm run build
# Run the server
node dist/index.jsVersion Control
This repository uses Git for version control. Important files are tracked while build artifacts and dependencies are ignored via .gitignore.
Available Tools
1 toolcalculate_order_needC
Calculate MRP order need based on forecast, inventory, and delivery schedule
| Name | Required | Description | Default |
|---|---|---|---|
| analysis_date | Yes | ||
| batch_sizes | No | ||
| current_balance | Yes | ||
| delivery_schedule | Yes | ||
| forecast_periods | Yes | ||
| must_order_point | Yes | ||
| open_orders | Yes | ||
| sku_location | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions 'calculate' but doesn't specify whether this is a read-only operation, if it has side effects, what permissions are needed, or how results are returned. For a complex tool with 8 parameters, this leaves significant behavioral gaps.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence with no wasted words. It's front-loaded with the core purpose and uses clear terminology. Every part of the sentence contributes directly to understanding the tool's function.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a complex tool with 8 parameters, nested objects, no output schema, and no annotations, the description is inadequate. It doesn't explain the calculation logic, output format, error conditions, or how parameters interact. The agent lacks sufficient context to use this tool effectively without guessing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate by explaining parameters. It only mentions 'forecast, inventory, and delivery schedule' generically, which maps loosely to some parameters but doesn't clarify the semantics of the 8 specific inputs (e.g., 'batch_sizes', 'must_order_point'). This adds minimal value beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: 'Calculate MRP order need based on forecast, inventory, and delivery schedule.' It specifies the verb ('calculate'), resource ('MRP order need'), and key inputs. However, without sibling tools, it cannot demonstrate differentiation from alternatives, so it doesn't reach the highest score.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives, prerequisites, or specific contexts. It only states what the tool does, not when it should be applied, leaving the agent with no usage instructions beyond the basic function.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
TDQS
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.
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.
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.
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.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Read-only supply-chain decision support: forecasting, reorder policies, ABC-XYZ, data quality.
TOTVS Protheus ERP for AI: stock, sales, orders, customers and MRP. Read-only, official API.
Deterministic Odoo ERP calculators: implementation cost, ROI, TCO, tax, payroll, inventory.
5,400+ manufacturing calculators plus live U.S. tariff, PMI, cost-index, wage, and forecast data.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables interaction with Odoo ERP systems for product, customer, order, invoice, and payment management using MCP tools.5MIT
- FlicenseNot gradedqualityDmaintenanceEnables 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.
- FlicenseNot gradedqualityCmaintenanceEnables supply chain management tasks such as tracking shipments, managing inventory, and supplier scorecards through MCP protocol.
- FlicenseNot gradedqualityBmaintenanceProvides Shopify demand forecasting, reorder recommendations, and dollar-impact reports as MCP tools.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/brandon-butterwick/MRP_Calculation'
If you have feedback or need assistance with the MCP directory API, please join our Discord server