MCI engine — test interface

Open the product calculator (bill of materials) →

Calls calculateMCIWithDefaults() on the local engine (v1 API, POST /api/v1/mci/with-defaults). Only Product mass is required — leave anything else blank to take the engine's worst-case default, per the Sept 2026 minimum-data rules.

The API now requires a key (BL-005) — mint one with node server/admin/create-key.mjs and paste it below. It's kept only in this browser (localStorage), never sent anywhere but this server.

A second, separate calculator further down this page (BL-028) exercises calculateMCIWithManufacturingLoss() directly (Appendix A manufacturing scrap/production losses) — every field there is required, nothing defaults, matching the raw POST /api/v1/mci route's philosophy rather than this form's minimum-data one.

API key
Product
kg
Feedstock — rule 2 & 3: virgin / not responsibly sourced unless stated
%
%
%
%
Remanufactured feedstock (F_M)
%
%
%
%
%
End of life — rule 4: landfill unless stated
%
%
%
%
Energy recovery, remanufacturing, informal disposal
%
%
%
%
%
%
%
%
%
Utility — rule 1: average unless stated
"full" mode only: U/U_Av, M_Av

Fill in the form and click Calculate — the request and response are also logged to the browser console for inspection.

Manufacturing loss (scrap) — advanced

Calls calculateMCIWithManufacturingLoss() directly (v1 API, POST /api/v1/mci/manufacturing-loss) — Appendix A's production-losses extension (pp. 54–55). Every field below is required; there is no minimum-data defaults layer for this route, by design (BL-028; see BACKLOG.md). Uses the same API key entered above.

Product & production
kg
kg
Feedstock (F_R / F_U / F_S — shared with the scrap's own W′_F)
%
%
%
%
Finished product's own end-of-life waste (already computed — e.g. from the calculator above)
kg
kg
kg
Manufacturing scrap fate (the M′ − M that never reached the finished product)
%
%
%
Utility — applies to the FINISHED product (M), never M′
"full" mode only: U/U_Av, M_Av

Fill in the form and click Calculate.