
color-space
Convert colors across 221 color spaces, with gamut checks, CSS parsing and LUT export
- Pricing
- Open source
- Platforms
- CLI, Web, self-hosted
- Runs
- Locally
- Version
- 3.5.0
- Listing updated
- 2 days ago
About color-space
color-space is an open-source MCP server for design and media. It runs locally on your machine and is started by your AI client.
Color-space is first a JavaScript library of 221 interconnected color spaces, from sRGB, Display P3 and OKLCH to camera log encodings, video YCbCr variants and colorimetry research spaces. The MCP server is its command mode, started with npx, so an agent can call checked conversion math rather than guessing it.
The README says formulas are tested against cited sources and lists errata found in them. Colors go in as any CSS string, such as a hex value, an oklch() expression or a named color, or as raw channel values. Beyond converting, the tools generate shader code in GLSL, WGSL, HLSL or MSL, produce .cube LUTs and ICC profiles, and show the JS call that matches a given conversion. A stateless Streamable HTTP mode is also available.
The same package ships a WebAssembly build, GLSL shaders, OpenColorIO configs, and utilities for mixing, deltaE, WCAG contrast and color-vision simulation. It is free and public domain according to the atlas site.
Install
Run in a terminal
claude mcp add color-space -- npx -y color-spaceAdd to claude_desktop_config.json
{
"mcpServers": {
"color-space": {
"command": "npx",
"args": [
"-y",
"color-space"
]
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"color-space": {
"command": "npx",
"args": [
"-y",
"color-space"
]
}
}
}Add to .vscode/mcp.json
{
"servers": {
"color-space": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"color-space"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"color-space": {
"command": "npx",
"args": [
"-y",
"color-space"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"color-space": {
"command": "npx",
"args": [
"-y",
"color-space"
]
}
}
}Tools this server provides (9)
Taken from the project documentation; the running server may differ.
- convert
- Converts a color between color spaces.
- gamut
- Checks a color against a gamut.
- css
- Handles CSS color strings.
- space
- Describes one color space.
- spaces
- Lists available color spaces.
- cube
- Generates .cube LUTs.
- shader
- Writes a conversion as GLSL, WGSL, HLSL or MSL.
- icc
- Generates ICC profiles.
- code
- Gives the JS call and its verified colour-science equivalent.
What it does
- 221 color spaces
- Converts between any two spaces in the collection.
- Cited formulas
- Conversions are tested against cited sources, with errata documented.
- CSS string input
- Accepts hex, oklch() and named colors as well as channel values.
- Shader generation
- Writes the conversion as GLSL, WGSL, HLSL or MSL.
- LUT and ICC output
- Produces .cube LUTs and ICC profiles.
- Gamut checks
- Includes a gamut tool for out-of-range colors.
Good for
- Convert a CSS color to OKLCH or Display P3 with verified math
- Generate a shader function for a color conversion
- Build a .cube LUT for grading in Resolve or Premiere
- Check whether a color fits a target gamut
- Map camera log footage values to a wide gamut space
Pricing
Open source
Free, public domain
Prices change. Check color-space.io before you buy.
color-space FAQ
How do I start the MCP server?
Run npx -y color-space mcp, or add it to Claude Code with claude mcp add color-space -- npx -y color-space mcp.
Can it run over HTTP?
Yes, a stateless Streamable HTTP mode starts with npx -y color-space mcp --http and a port number.
How many color spaces are covered?
221, grouped into display, cylindrical, perceptual, colorimetry, video, camera and print families.
Is it free?
Yes. The atlas site describes it as free and public domain.
Is color-space free?
Yes. color-space is open source, so you can use and self-host it for free.
How do I add color-space to Claude Code?
Run this command in your terminal: claude mcp add color-space -- npx -y color-space
What are the best alternatives to color-space?
The closest alternatives to color-space are REA, HyperFrames by HeyGen, Codebase Memory, GitHub and Serena MCP: the IDE for your agent.
Alternatives to color-space

REA
MCP serverCLI and MCP server that lets coding agents reverse engineer apps and binaries
Runs locally- Open source
- 464K GitHub stars
- Developer tools

HyperFrames by HeyGen
MCP serverHosted MCP connector for creating and rendering videos from HTML through AI chat
- Remote
- Freemium
- 85.3K GitHub stars
- Design and media

Codebase Memory
MCP serverLocal MCP server that builds a code knowledge graph for AI coding agents
Runs locally- Open source
- 48.7K GitHub stars
- Knowledge and memory

GitHub
MCP serverOfficial MCP server connecting AI assistants to GitHub repos, issues and workflows
Not checked yet- Remote
- Open source
- 34.5K GitHub stars
- Developer tools

Serena MCP: the IDE for your agent
MCP serverMCP toolkit giving coding agents symbol-level code retrieval and editing
Runs locally- Open source
- 31.5K GitHub stars
- Developer tools

XERJ
MCP serverLocal search engine for AI agents with cited answers over your code and docs
Runs locally- Open source
- 19.2K GitHub stars
- Knowledge and memory