Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Genpark Inventory Forecasting Skill

FreeNot checked

Inventory demand forecasting agent skill that analyzes sales velocity to predict stock-out dates and generate automated replenishment purchase orders.

GitHubEmbed

About

Inventory demand forecasting agent skill that analyzes sales velocity to predict stock-out dates and generate automated replenishment purchase orders.

README

GenPark AI Agent Skill -- # Inventory Demand Forecasting Skill

This repository contains the Inventory Demand Forecasting Skill — an agent skill configuration interface (skill.json), developer Python SDK (forecaster.py), and executable validation scripts designed to predict product stock-out dates, compute reorder trigger windows, and auto-draft supplier purchase orders.


🚀 Capabilities

  • Smoothed Velocity Engine: Calculates average daily sales velocity from 30-day history while automatically filtering out promotional spike outliers (e.g. flash sale days above 3x average).
  • Stockout & Reorder Projection: Maps current stock to a projected depletion date, then back-calculates the last safe purchase order date based on supplier lead time + safety buffer.
  • Automated PO Drafting: Generates structured ERP-ready purchase order payloads (PO number, SKU, quantity, estimated delivery date, unit cost, total cost) for immediate use in procurement systems.

🛠️ Setup & Installation

  1. Install dependencies:

    pip install -r requirements.txt
    
  2. Configuration: Set your API environment variable if connecting to a live forecasting backend. Otherwise, the client auto-activates in mock mode:

    • PowerShell:
      $env:FORECAST_API_KEY="your_api_key"
      
    • bash:
      export FORECAST_API_KEY="your_api_key"
      

💻 SDK Usage Reference

from forecaster import InventoryForecastingClient

client = InventoryForecastingClient()

sales_history = [
    {"date": "2026-06-01", "units_sold": 20},
    {"date": "2026-06-02", "units_sold": 18},
    # ... 30 days of data
]

result = client.forecast(
    sku="SKU-001",
    current_stock=450,
    sales_history=sales_history,
    lead_time_days=14,
    safety_stock_days=7
)

print(f"Stockout Date: {result['stockout_date']}")
print(f"Reorder By: {result['reorder_trigger_date']}")
print(f"Order Qty: {result['suggested_order_quantity']} units")

# Generate purchase order draft
po = client.build_purchase_order(
    sku="SKU-001",
    qty=result['suggested_order_quantity'],
    reorder_date=result['reorder_trigger_date'],
    lead_time_days=14,
    unit_cost=12.50
)

📜 License

This project is licensed under the MIT License.

from github.com/alphaparkinc/genpark-inventory-forecasting-skill

Installing Genpark Inventory Forecasting Skill

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/alphaparkinc/genpark-inventory-forecasting-skill

FAQ

Is Genpark Inventory Forecasting Skill MCP free?

Yes, Genpark Inventory Forecasting Skill MCP is free — one-click install via Unyly at no cost.

Does Genpark Inventory Forecasting Skill need an API key?

No, Genpark Inventory Forecasting Skill runs without API keys or environment variables.

Is Genpark Inventory Forecasting Skill hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install Genpark Inventory Forecasting Skill in Claude Desktop, Claude Code or Cursor?

Open Genpark Inventory Forecasting Skill on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Genpark Inventory Forecasting Skill with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All ai MCPs