formlab-mcp 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "formlab-mcp",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "mcpName": "io.github.juliu1980/formlab-mcp",
5
5
  "description": "Read-only Model Context Protocol server for FormLab — lets Claude (and other MCP clients) read and analyze your FormLab data, from a local export file OR your live cloud workspace.",
6
6
  "type": "module",
@@ -46,6 +46,13 @@ function _trimIngredient(i) {
46
46
  family: i.family || '',
47
47
  supplier: i.supplier || '',
48
48
  casNumber: i.cas || i.casNumber || '',
49
+ grade: i.grade || '',
50
+ state: i.state || '',
51
+ function: i.function || '',
52
+ mw: i.mw != null && i.mw !== '' ? Number(i.mw) : null,
53
+ // % active for a technical/impure raw material (drives purity-corrected
54
+ // weigh-out). null when full-strength / unspecified.
55
+ purity: i.purity != null && i.purity !== '' ? Number(i.purity) : null,
49
56
  density: i.density != null ? i.density : null,
50
57
  densityUnit: i.densityUnit || (i.density != null ? 'kg/L' : null),
51
58
  cost: (cost && cost.value != null && cost.value !== '')