Open-source MRP for food manufacturers
Plan what to make, see what you would run short of, and raise purchase orders to cover it. Demand, recipes, stock and purchasing share one self-hosted database, so the plan is built from the same records you produce against.
Production
Monday 23 Nov – Sunday 29 Nov
Wednesday 25 Nov
- B261125-001Whole milk 1L RCP-MILK-WH1 v1
- B261125-002Yogurt base RCP-YOGBASE v1
Thursday 26 Nov
Plan- B261126-001Natural yogurt 500g RCP-YOG-NAT500 v1
- B261126-002Raspberry yogurt 150g RCP-YOG-RAS150 v1
From demand to purchase order
Material requirements planning answers one question: given what we expect to sell, what do we make, what do we need, and what must we buy? This example uses Demand, Production, Stock and Purchasing together. Production can also run without Demand.
Demand
Enter demand per product, week and customer by hand, import it from CSV, or have your sales system post it.
Batch schedule
Plan batches from demand, using approved recipes.
Material requirements
Each scheduled batch is checked against stock, so shortfalls show before the day you need the material.
Purchase orders
Raise purchase orders from the shortfall, then receive goods against the order.
Demand
Demand plan
| Product | Customer | W48 23 Nov | W49 30 Nov | W50 7 Dec | W51 14 Dec | W52 21 Dec | W53 28 Dec |
|---|---|---|---|---|---|---|---|
| Natural yogurt, 500g FG-YOG-NAT500 Westcountry Co-operative Stores | Westcountry Co-operative Stores | 780 | 900 | 828 | 828 | 756 | 732 |
| Semi-skimmed milk, 1 litre FG-MILK-SS1 Mendip Schools Catering Service | Mendip Schools Catering Service | 1,272 | 1,296 | 1,296 | 1,380 | 1,344 | 1,284 |
| Raspberry yogurt, 150g FG-YOG-RAS150 Mendip Schools Catering Service | Mendip Schools Catering Service | 2,088 | 2,160 | 2,208 | 2,208 | 2,016 | 1,956 |
| Salted butter, 250g FG-BUTTER-S250 Westcountry Co-operative Stores | Westcountry Co-operative Stores | 504 | 516 | 480 | 492 | 480 | 468 |
| Double cream, 300ml FG-CREAM-D300 Bean & Leaf Café Group | Bean & Leaf Café Group | 216 | 216 | 216 | 216 | 204 | 216 |
Purchasing
Purchase orders
44 orders
| Reference | Supplier | Expected | State | Received | Value |
|---|---|---|---|---|---|
| PO-2026-047 | Polybottle Solutions PO-2026-047 | 03/12/2026 | Received | 4 of 4 lines in full | £4,023.00 |
| PO-2026-046 | Somerset Vale Farms Co-op PO-2026-046 | 26/11/2026 | Part received | 1 of 2 lines in full | £2,420.00 |
| PO-2026-045 | Madagascan Vanilla Traders PO-2026-045 | 30/11/2026 | Sent | 0 of 1 line in full | £492.00 |
| PO-2026-044 | Wildflower Honey Company PO-2026-044 | 21/11/2026 | Received | 1 of 1 line in full | £512.00 |
| PO-2026-043 | Orchard & Berry Ingredients PO-2026-043 | 21/11/2026 | Received | 3 of 3 lines in full | £2,802.50 |
| PO-2026-042 | British Sugar Direct PO-2026-042 | 21/11/2026 | Received | 1 of 1 line in full | £294.00 |
A plan that turns into records
A batch isn't only a line on a schedule. Its batch record consumes real lots from stock and produces new ones, so what the plan assumed and what the floor did end up in the same ledger. The next plan starts from what is actually in stock.
Stock is kept as locations and dated lots, with an append-only movement ledger, so every number traces back to the goods-in and batches that made it.
For discrete builds, Routings adds work centres with cost rates, ordered operations for each bill of materials and job cards that record time, good quantities and scrap. Without Food items, recipes read as generic bills of materials.
Production
Monday 23 Nov – Sunday 29 Nov
Wednesday 25 Nov
- B261125-001Whole milk 1L RCP-MILK-WH1 v1
- B261125-002Yogurt base RCP-YOGBASE v1
Thursday 26 Nov
Plan- B261126-001Natural yogurt 500g RCP-YOG-NAT500 v1
- B261126-002Raspberry yogurt 150g RCP-YOG-RAS150 v1
What it isn't
It is designed around food: recipes with yields and allergens, dated lots and the records an inspector asks for. If that describes your site, the planning and the compliance records share one database.
Not a full manufacturing suite
The planning loop above is built around food. Routings adds work centres, ordered operations and job cards for discrete builds, but it doesn't schedule job cards against capacity, and it has no parallel routings or subcontracted operations.
Sales orders don't feed the plan
Sales orders aren't copied into the weekly demand plan. Enter demand by hand, import a CSV or post it from your sales system.
No hosted plan
You run it on your own server. There is no hosted version, no per-seat price and no support contract, so the install and the backups are yours.
In the product
Screens from the demo workspace, for the modules behind this page.
Demand planningOperations Recipes and bills of materialsOperations Stock and lotsOperations Production batchesOperations
The modules behind this
Each is a separate module, switched on for the installation and then granted person by person.
Operations
- Demand planningDemand per product, week and customer, entered by hand, imported from CSV or posted by your sales system.Needs Items and suppliers.
- Recipes and bills of materialsVersioned recipes or bills of materials with yields, scaling and cost roll-up, approved before use. Allergens roll up when Food items is on.Needs Items and suppliers.
- StockLocations, dated lots, goods-in and an append-only movement ledger with traceability.Needs Items and suppliers.
- ProductionA batch schedule from approved recipes, material requirements against stock, and batch records that consume and produce lots.Needs Recipes and bills of materials and Stock.
- RoutingsWork centres with capacity and cost rates, versioned routings of ordered operations for each bill of materials, and job cards with time, good and scrap quantities and exceptions. Capacity is shown, not scheduled.Needs Production.
- PurchasingPurchase orders for stock and non-stock goods, services and subscriptions, receipts, three-way invoice matching and supplier performance.Needs Items and suppliers.
- Items and suppliersA catalogue of materials, components, products and services with units, costs and approved suppliers.
- CostingActual cost per batch from the lots it used, work in progress, yield variance and standard against actual.Needs Recipes and bills of materials, Production and Purchasing.
Questions
- Is this a full MRP system?
- It covers the planning loop above: demand, an approved-recipe batch schedule, requirements against stock and purchase orders. It is built around food production first. Routings adds job cards for discrete builds but doesn't schedule against capacity.
- Do I pay per user?
- No. Knotworking is free and open source, and you run it on your own server. There is no hosted plan or per-seat price.
- Can I switch on just the planning modules?
- Yes. You list the modules to run in KNOTWORKING_MODULES. Each module names the ones it needs, and the API won't start with one missing. Switching a module off hides it and deletes nothing.
- How does demand get in?
- By hand, from a CSV file, or posted by your sales system. Demand is held per product, per week and per customer.
Up and running this afternoon.
Clone it, set a few values and start it with Docker. Caddy, the web app, the API and Postgres come up together on your own machine. There's no account with us and no per-seat bill.
git clone https://github.com/knotworking-oss/knotworking.git
cd knotworking && cp deploy/env.example deploy/.env
docker compose --env-file deploy/.env up -d --build
Set up Knotworking ERP using the instructions in this Markdown file.
https://knotworking.dev/docs/agent-install.md