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