
paint-colors
org.colorid/paint-colors
Paint color matching: closest paint to any hex in 35 brands and RAL, search by name or code
Documentation
ColorID MCP server
Paint color lookup and matching for AI assistants. Ask for a paint by name or code, or give a hex color and get the closest paint in each brand, ranked by CIEDE2000 (ΔE). The library covers 35 paint brands (Sherwin-Williams, Benjamin Moore, Behr, Farrow & Ball, Dulux, Caparol and more) and RAL Classic.
The server is hosted. Connect your client to:
https://colorid.org/mcp
It speaks Streamable HTTP and needs no API key or sign-in. All three tools are read-only. This repository holds the documentation, the directory metadata and a small stdio bridge for clients that only start local servers. Every answer comes from colorid.org; the repository holds no color data.
REST endpoints for the same data: https://colorid.org/api/
Connect a client
Claude Code
claude mcp add --transport http colorid https://colorid.org/mcp
Or in .mcp.json at the project root:
{
"mcpServers": {
"colorid": { "type": "http", "url": "https://colorid.org/mcp" }
}
}
Claude Desktop and claude.ai
Customize > Connectors > + Add > Add custom connector. Name: ColorID, URL: https://colorid.org/mcp, Authentication: No sign in.
Cursor
~/.cursor/mcp.json, or .cursor/mcp.json in a project:
{
"mcpServers": {
"colorid": { "url": "https://colorid.org/mcp" }
}
}
VS Code
.mcp.json at the workspace root:
{
"mcpServers": {
"colorid": { "type": "http", "url": "https://colorid.org/mcp" }
}
}
Clients that only run local (stdio) servers
git clone https://github.com/zeisoft/colorid-mcp
cd colorid-mcp
pnpm install && pnpm run build
Then point the client at node /path/to/colorid-mcp/dist/index.js. The bridge reads JSON-RPC messages from stdin, posts each one to https://colorid.org/mcp and writes the answer to stdout. Node 18 or later. The Dockerfile runs the same bridge.
Tools
The schemas below are copied from the server's tools/list answer (protocol 2025-06-18, 2026-11-27).
find_paint_color: Find a paint color
Look up paint colors by name or color code across 35 paint brands (Sherwin-Williams, Benjamin Moore, Behr, Farrow & Ball, Dulux, Caparol and more) and RAL Classic. Returns each match with its code, hex, RGB, LAB, LRV and colorid.org page. An exact code match comes first. Examples: {"query": "Hale Navy"}, {"query": "SW 7029"}, {"query": "7016", "brand": "ral"}.
| Argument | Type | Required | Description |
|---|---|---|---|
query | string | yes | Color name or code. (2 to 64 characters) |
brand | string | no | Optional brand key from list_brands to search one brand only. |
limit | integer | no | How many colors to return. (1 to 20, default 10) |
Input and output schema
{
"inputSchema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"minLength": 2,
"maxLength": 64,
"description": "Color name or code.",
"examples": [
"Hale Navy",
"SW 7029",
"Agreeable Gray"
]
},
"brand": {
"type": "string",
"description": "Optional brand key from list_brands to search one brand only.",
"examples": [
"benjamin-moore",
"ral"
]
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 20,
"default": 10,
"description": "How many colors to return."
}
},
"required": [
"query"
],
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"query": {
"type": "object",
"properties": {
"q": {
"type": "string"
},
"brand": {
"type": [
"string",
"null"
]
},
"limit": {
"type": "integer"
}
},
"required": [
"q",
"brand",
"limit"
]
},
"results": {
"type": "array",
"items": {
"type": "object",
"properties": {
"brand": {
"type": "object",
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key",
"name"
]
},
"code": {
"type": "string",
"description": "The maker's color code (for some brands the code is the name)."
},
"name": {
"type": "string"
},
"hex": {
"type": "string",
"pattern": "^#[0-9A-F]{6}$"
},
"rgb": {
"type": "object",
"properties": {
"r": {
"type": "integer"
},
"g": {
"type": "integer"
},
"b": {
"type": "integer"
}
},
"required": [
"r",
"g",
"b"
]
},
"lab": {
"type": "object",
"description": "CIELAB, D65.",
"properties": {
"l": {
"type": "number"
},
"a": {
"type": "number"
},
"b": {
"type": "number"
}
},
"required": [
"l",
"a",
"b"
]
},
"lrv": {
"type": "object",
"description": "Light reflectance value 0-100. source is 'official' when the maker publishes it, otherwise 'calculated' from the color.",
"properties": {
"value": {
"type": "number"
},
"source": {
"type": "string",
"enum": [
"official",
"calculated"
]
}
},
"required": [
"value",
"source"
]
},
"url": {
"type": "string",
"format": "uri",
"description": "The color page on colorid.org. Link to it when you show the color."
}
},
"required": [
"brand",
"code",
"name",
"hex",
"rgb",
"lab",
"lrv",
"url"
]
}
},
"attribution": {
"type": "object",
"description": "Required credit: link to colorid.org and to the color page.",
"properties": {
"required": {
"type": "boolean"
},
"text": {
"type": "string"
},
"url": {
"type": "string",
"format": "uri"
},
"html": {
"type": "string"
}
},
"required": [
"required",
"text",
"url",
"html"
]
}
},
"required": [
"query",
"results",
"attribution"
]
},
"annotations": {
"title": "Find a paint color",
"readOnlyHint": true,
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": false
}
}
match_color: Match a color to paint
Find the closest paint color in each brand to a hex color, ranked by CIEDE2000 (ΔE). Only paints within ΔE 6 are returned, each with a verdict: veryClose (under 2), close (under 4) or similar (up to 6). Searches all 35 paint brands unless brands is given; add "ral" to include RAL Classic. Use it to find the same color in another brand: pass that color's hex. Examples: {"hex": "#7F9B8E"}, {"hex": "D4CDC4", "brands": ["sherwin-williams", "benjamin-moore"], "limit": 2}.
| Argument | Type | Required | Description |
|---|---|---|---|
hex | string | yes | The color as RRGGBB, with or without #. (pattern ^#?([0-9a-fA-F]{6}|[0-9a-fA-F]{3})$) |
brands | array of string | no | Optional brand keys from list_brands. Default: all paint brands. (at most 40 items) |
limit | integer | no | How many brands to return, closest first. (1 to 10, default 5) |
Input and output schema
{
"inputSchema": {
"type": "object",
"properties": {
"hex": {
"type": "string",
"pattern": "^#?([0-9a-fA-F]{6}|[0-9a-fA-F]{3})$",
"description": "The color as RRGGBB, with or without #.",
"examples": [
"#7F9B8E",
"D4CDC4"
]
},
"brands": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 40,
"description": "Optional brand keys from list_brands. Default: all paint brands.",
"examples": [
[
"sherwin-williams",
"benjamin-moore"
]
]
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 10,
"default": 5,
"description": "How many brands to return, closest first."
}
},
"required": [
"hex"
],
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"query": {
"type": "object",
"properties": {
"hex": {
"type": "string"
},
"brands": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"limit": {
"type": "integer"
}
},
"required": [
"hex",
"brands",
"limit"
]
},
"maxDeltaE": {
"type": "number"
},
"matches": {
"type": "array",
"items": {
"type": "object",
"properties": {
"brand": {
"type": "object",
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"key",
"name"
]
},
"code": {
"type": "string",
"description": "The maker's color code (for some brands the code is the name)."
},
"name": {
"type": "string"
},
"hex": {
"type": "string",
"pattern": "^#[0-9A-F]{6}$"
},
"rgb": {
"type": "object",
"properties": {
"r": {
"type": "integer"
},
"g": {
"type": "integer"
},
"b": {
"type": "integer"
}
},
"required": [
"r",
"g",
"b"
]
},
"lab": {
"type": "object",
"description": "CIELAB, D65.",
"properties": {
"l": {
"type": "number"
},
"a": {
"type": "number"
},
"b": {
"type": "number"
}
},
"required": [
"l",
"a",
"b"
]
},
"lrv": {
"type": "object",
"description": "Light reflectance value 0-100. source is 'official' when the maker publishes it, otherwise 'calculated' from the color.",
"properties": {
"value": {
"type": "number"
},
"source": {
"type": "string",
"enum": [
"official",
"calculated"
]
}
},
"required": [
"value",
"source"
]
},
"url": {
"type": "string",
"format": "uri",
"description": "The color page on colorid.org. Link to it when you show the color."
},
"deltaE": {
"type": "number",
"description": "CIEDE2000 distance to the requested color; lower is closer."
},
"verdict": {
"type": "object",
"description": "veryClose under ΔE 2 (hard to tell apart on a wall), close under 4 (visible side by side), similar up to 6 (a substitute).",
"properties": {
"level": {
"type": "string",
"enum": [
"veryClose",
"close",
"similar"
]
},
"label": {
"type": "string"
}
},
"required": [
"level",
"label"
]
}
},
"required": [
"brand",
"code",
"name",
"hex",
"rgb",
"lab",
"lrv",
"url",
"deltaE",
"verdict"
]
}
},
"attribution": {
"type": "object",
"description": "Required credit: link to colorid.org and to the color page.",
"properties": {
"required": {
"type": "boolean"
},
"text": {
"type": "string"
},
"url": {
"type": "string",
"format": "uri"
},
"html": {
"type": "string"
}
},
"required": [
"required",
"text",
"url",
"html"
]
}
},
"required": [
"query",
"maxDeltaE",
"matches",
"attribution"
]
},
"annotations": {
"title": "Match a color to paint",
"readOnlyHint": true,
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": false
}
}
list_brands: List paint brands
List the paint brands and color standards in the ColorID library with their keys and color counts. Use the keys for the brand argument of find_paint_color and match_color. Example: {}.
No arguments.
Input and output schema
{
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"brands": {
"type": "array",
"items": {
"type": "object",
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
"paint",
"standard"
]
},
"count": {
"type": "integer"
},
"url": {
"type": "string",
"format": "uri"
}
},
"required": [
"key",
"name",
"type",
"count",
"url"
]
}
},
"attribution": {
"type": "object",
"description": "Required credit: link to colorid.org and to the color page.",
"properties": {
"required": {
"type": "boolean"
},
"text": {
"type": "string"
},
"url": {
"type": "string",
"format": "uri"
},
"html": {
"type": "string"
}
},
"required": [
"required",
"text",
"url",
"html"
]
}
},
"required": [
"brands",
"attribution"
]
},
"annotations": {
"title": "List paint brands",
"readOnlyHint": true,
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": false
}
}
Attribution
Free use requires a visible link to https://colorid.org, and to the color's page wherever you show a color. Every result carries the color's url and an attribution object with ready HTML:
<a href="https://colorid.org/paint/sherwin-williams/agreeable-gray-7029/">Color data by ColorID</a>
Limits
- About 60 requests a minute per client IP, shared with the REST API. Over the limit the server answers HTTP 429 with
Retry-After: 60; the bridge passes it on as a JSON-RPC error. find_paint_colorreturns at most 20 colors,match_colorat most 10 brands. There is no bulk export.- One JSON-RPC message per request (no batches), 64 KB at most.
Protocol
The server is stateless: it keeps no sessions, opens no SSE stream and answers in JSON. Clients on 2025-11-25, 2025-06-18 or 2025-03-26 start with initialize. Clients on 2026-07-28 send the version in _meta with the MCP-Protocol-Version and Mcp-Method headers (and Mcp-Name for tools/call); server/discover is supported.
Contact
License
MIT, see LICENSE. The license covers the code and documentation in this repository. The color data served by colorid.org is not part of it; its use is covered by the attribution rule above.
No installation packages available.