Mary's Lab
She knows everything about color. She has never seen it. A laboratory that studies color the way Mary does: as physics, as mathematics, as proof.
She knows everything about color.
She has never seen it.
Mary's Lab is an open-source laboratory for computational color science. It exposes 32 instruments through a Model Context Protocol server, backed by two engines that must agree: a C++20 compute core behind a stable C ABI and a pure TypeScript reference implementation, held to identical outputs by a 401-vector conformance suite. The instruments run from standard colorimetry to tools the field did not have, including certified illuminant robustness, inverse spectral design, and topological audits of colormaps.
claude mcp add maryslab -- node mcp/dist/server.js The room
In Frank Jackson's 1982 thought experiment, Mary is a scientist who knows every physical fact about color but has spent her whole life inside a black and white room. This lab is her room. It works with color entirely through spectra, matrices, and constrained optimization; it has never seen red. The name is a standing commitment: every claim here must be defensible from the mathematics alone, because the mathematics is all the lab has.
Instruments
Thirty-two instruments, from spectrum search and color space conversion to certified robustness bounds and topological audits. Each one states what it guarantees, and each one fails loudly when it cannot deliver. Hover to let the light in.
How the lab works
- Remap, never restore. CVD compensation improves discriminability; it does not return missing vision, and the lab never says otherwise.
- Decision support, never authoritative identification. Photopeak isotope output is a ranked suggestion, not a verdict.
- Caveats travel with results. Each tool carries its own limits in its output, and unreachable targets fail loudly with the achieved bound rather than a fudged answer.
- Every response is stamped with engine version, ABI version, and dataset snapshot. A result that cannot be reproduced is not a result.