color-space MCP

color-space MCP server: verified color conversions across 221 spaces, gamut, CSS, LUTs and shaders for an agent

  • 393 ★ on the repository
  • Last commit
  • CC0-1.0
MCP server

Minimal access

Why this level

  • The server does local computation and writes only the files you ask for, such as a LUT or an ICC profile
All reasons and checks

colorjs/color-space

Install

In your terminal, with SkillFoxx CLI

npx skillfoxx add mcp/color-space

Detects the agents on your machine, shows the access level and pins the version.

Other ways to install

Access and checks

How we review

Minimal accessThe tool runs nothing and makes no network calls.

  • The server does local computation and writes only the files you ask for, such as a LUT or an ICC profile

This is third-party code. Review the repository files before installing.

What it does

color-space is an open collection of color spaces with formulas checked against cited sources and the errors found in them. The JavaScript library with TypeScript types also ships WebAssembly, GLSL, LUT tables, ICC profiles and OCIO configs. The MCP server starts with `npx -y color-space mcp` so an agent calls verified color math instead of guessing it. Nine tools: `convert` converts a color between spaces, `gamut` checks whether it fits a gamut, `css` builds and parses CSS strings, `space` and `spaces` describe spaces, `cube` builds a `.cube` LUT file for Resolve, Premiere, OBS and ffmpeg, `shader` writes the conversion in GLSL, WGSL, HLSL or MSL, `icc` makes an ICC profile, and `code` shows the JavaScript call and its verified colorimetry equivalent. A color is accepted as a CSS string such as `#ff8000` and `oklch(0.7 0.1 50)` or as channel values.

Who it is for. Interface designers, colorists and graphics developers who need exact color conversions, camera curves and LUTs without model guesswork.

Good fit when

  • A brand color in sRGB has to be converted to OKLCH for CSS and checked that it stays inside the Display P3 gamut
  • A scene needs conversions between the S-Log3 camera log and Rec.2020 packed into a `.cube`
  • A WGSL or HLSL shader needs a conversion function between two spaces
  • An ICC profile or an OCIO config for Blender and Nuke is made without manual assembly

Not a fit when

  • You need palette picking or a harmony check: the server computes color and formulas, not taste
  • You need contrast checks per WCAG or APCA: separate tools exist for that
  • The project has neither Node.js nor Docker: running the server needs one of them

Example request

Convert the color #ff8000 to OKLCH and Display P3, check the gamut and give a CSS string and a conversion function in WGSL

MCP

Transport
stdio, http
Authentication
not required

Limitations

The server computes conversions and produces files but does not pick palettes or judge contrast. HLSL and MSL need the optional `naga-wasm` package, which declares Node 24.12 or newer while CI runs it on Node 22 where npm only warns. The lite set of 54 spaces takes 29 KB gzipped and the full 221-space set takes 70 KB. The server also runs over stateless HTTP: `npx -y color-space mcp --http 8787` on a local address. In the browser the color-space.io site registers the same tools except `icc` through WebMCP where Chrome offers it.

How to disable. Remove the color-space block from the client config (`claude mcp remove color-space`) or the plugin with `/plugin uninstall color-space@color-space`.

FAQ

How do I connect color-space to Claude Code?

Run `claude mcp add color-space -- npx -y color-space mcp`. You can also install the plugin with a skill: `/plugin marketplace add colorjs/color-space`, then `/plugin install color-space@color-space`.

How many color spaces are supported?

221 in the full build and 54 in the lite `color-space/lite`. They include OKLCH, CAM16, DIN99, ACES, camera logs and the Display P3 and Rec.2020 profiles.

In what format is a color accepted?

A CSS string: `'#ff8000'`, `'oklch(0.7 0.1 50)'`, `'rebeccapurple'`, or numeric channel values.

Can the server run in Docker?

Yes: `docker build -t color-space-mcp .`, then `docker run -i --rm color-space-mcp`.

Which programs fit the LUT and OCIO exports?

`.cube` files fit Resolve, Premiere, OBS and ffmpeg, and OCIO configs are described for Blender, Nuke, Resolve and Houdini.

Discussion

No questions or reviews yet.

Color Expert

color-expert

A color science skill: OKLCH, APCA and WCAG contrast, design system ramps, palette generation, pigment mixing and color history

SkillMinimal access656Repository stars17Installs via CLI and agents

A Tailwind palette from 50 to 950 for any color: a VS Code extension, a CLI and an MCP server so agents stop guessing shades

MCP serverMinimal access79Repository stars

An agent inspects a live Three.js scene, tries material and light tweaks in the browser and writes the accepted ones into source.

MCP serverExtended access130Repository stars

A skill for the OKLCH color space: hex, rgb and hsl conversion, 9-step palettes, APCA and WCAG contrast, P3 and Tailwind v4.

SkillMinimal access283Repository stars
Official

Skill and MCP server for Shaders: the agent builds backgrounds, glass, gradients and cursor effects on WebGPU for React, Vue, Svelte, Solid and JS

SkillExtended access5.9KRepository stars

An MCP server plus a Chrome extension: pick a DOM element by Option-click and the agent gets its text, styles and selector

MCP serverExtended access600Repository stars

README in short

The text presents color-space as an open collection of spaces with formulas checked against sources and links to the errors found. Next come call examples, a list of imports (all spaces, one space, lite, WASM, GLSL, LUT, ICC, OCIO), a CLI section and hints for agents.

README badge

Report a problem