Skip to main content
MCP server CX Codex

Coolors MCP — Claude Code MCP server: what it does, how to install

Coolors MCP — an MCP server for Claude Code and Codex that handles WCAG and APCA contrast calculation, palette generation, and accessibility audits. All operations execute locally over stdio.

MIT ★ 5 updated 2026-11-14

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add coolors-mcp -- npx -y @trishchuk/coolors-mcp
Open on GitHub

What Coolors MCP does

The server exposes 31 color tools directly to the coding agent without relying on external network endpoints. It evaluates foreground and background combinations using WCAG 2.x ratios alongside APCA algorithms, while fix_contrast finds the closest accessible color without changing hue. The CAM16-based Google HCT model builds consistent Material Design 3 light and dark themes from a single input swatch.

Accessibility modules simulate seven forms of color-vision deficiency to uncover collisions across UI and chart palettes. In addition, the tools extract primary color palettes from images using Celebi quantization, rewrite hardcoded stylesheet values into CSS variables, and inspect DESIGN.md files. Running the package requires Node.js 20 or newer.

What it helps with

  • adjust foreground colors to meet WCAG AA or APCA target levels
  • generate Material Design 3 theme tokens from a seed color
  • detect palette collisions across color-vision deficiency types
  • refactor hardcoded hex codes in stylesheets to CSS variables

Example prompts for the agent

  • Check if #6366f1 passes WCAG AA on white and suggest an exact fix
  • Generate a Material 3 palette from #10b981 as CSS custom properties
  • Audit this palette for protanopia and deuteranopia collisions

How to install Coolors MCP

Platform CLI

claude mcp add coolors-mcp -- npx -y @trishchuk/coolors-mcp

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about Coolors MCP

How to install Coolors MCP in Claude Code?

Run claude mcp add coolors-mcp -- npx -y @trishchuk/coolors-mcp. Then verify that the server is connected by running /mcp.

What does Coolors MCP do?

It provides 31 offline tools for contrast calculation, palette construction, accessibility simulation, and design token exports.

What is required to run Coolors MCP?

The server requires Node.js 20 or newer. It communicates over stdio and operates entirely without API credentials.

Similar MCP servers

All MCP servers for Design →

Project sponsors

Companies that keep this analytics open