Basic information

Runtime
TypeScript
Category
License
MIT
Transports
stdio
Author
x51xxx
Submitted by
Community
Quality
25
Stars
4

About Coolors MCP Server

Advanced color operations MCP server with Material Design 3 support, CSS theme matching, image color extraction, and accessibility compliance. Features HCT color space for perceptually accurate operations.

Coolors MCP is a MCP server in the Media & Design category listed in the AddMCP.net directory, published by x51xxx. It exposes 25 tools, including convert_color, color_distance, check_contrast, adjust_color and more. Supported transport: stdio. Runtime: TypeScript. License: MIT. The repository has 4 GitHub stars. Source code is hosted on github.com. Related topics: accessibility, color, css, material-design.

Setup

{
    "mcpServers": {
        "coolors": {
            "command": "npx",
            "args": [
                "-y",
                "@trishchuk/coolors-mcp"
            ]
        }
    }
}

Coolors MCP config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "coolors": {
            "command": "npx",
            "args": [
                "-y",
                "@trishchuk/coolors-mcp"
            ]
        }
    }
}

Coolors MCP tools

  • convert_color — Convert colors between different formats (hex, rgb, hsl, lab, hct)
    color:string*, to:string*
  • color_distance — Calculate perceptual distance between two colors using Delta E 2000
    color1:string*, color2:string*, metric:string*
  • check_contrast — Check contrast between two colors. Supports WCAG 2.x luminance ratio (default), APCA Lc (WCAG 3 draft), or both algorithms side-by-side.
    algorithm:string*, background:string*, foreground:string*
  • adjust_color — Adjust a color: lighten, darken, saturate, desaturate, grayscale, invert, or mix with a second color. Amount is 0-100 (percent) for lighten/darken/saturate/desaturate, 0-1 for mix weight.
    amount:number, color:string*, operation:string*, with:string
  • generate_palette — Generate a color palette from a base color
    baseColor:string*, count:number*, type:string*
  • generate_palette_with_locks — Generate a color palette while preserving specific locked colors
    colorSpace:string*, lockedColors:array*, mode:string*, totalColors:number*
  • generate_gradient — Generate a smooth gradient between colors with multiple interpolation methods
    colors:array*, easing:string*, format:string*, interpolation:string*, steps:number*
  • export_palette — Export a list of colors as CSS custom properties, SCSS variables, a Tailwind config snippet, W3C design tokens, or JSON.
    colors:array*, format:string*, names:array, prefix:string
  • simulate_color_blindness — Simulate how one or more colors appear to viewers with color vision deficiency (protanopia, deuteranopia, tritanopia, their milder anomaly forms, or achromatopsia).
    colors:array*, types:array
  • check_palette_accessibility — Audit a color palette for color-blind accessibility. For each pair of colors, reports the perceptual distance (Delta E 2000) under each CVD type and flags pairs that become indistinguishable.
    colors:array*, indistinguishableThreshold:number*, types:array
  • generate_tonal_scale — Generate a complete tonal scale (Tailwind-style 50/100/.../900/950) from a seed color. Uses Google's HCT color space so each step is perceptually even — ideal for building shadable design-system colors.
    chromaBoost:number*, name:string, seed:string*, stops:array
  • generate_state_colors — Generate consistent interaction-state colors (hover / active / pressed / focus / disabled / selected) from a base color. Steps are computed in HCT space so they keep equal perceptual weight regardless of base hue.
    base:string*, isDark:boolean*
  • analyze_palette_consistency — Score how visually cohesive a palette is. Reports tonal step uniformity, chroma spread, hue distribution, and a single 0-100 cohesion score, plus targeted suggestions for tightening it up.
    colors:array*
  • generate_semantic_palette — From a single brand color, generate a complete visually-cohesive semantic palette: primary, secondary, tertiary, plus success/warning/error/info status colors. Tone and chroma are normalized in HCT space so every color feels like part of the same family.
    brand:string*, isDark:boolean*
  • generate_material_theme — Generate a complete Material Design 3 color theme from a source color
    includeCustomColors:boolean*, sourceColor:string*
  • harmonize_colors — Harmonize colors to work better together using Material Design algorithms
    colors:array*, factor:number*, method:string*
  • generate_tonal_palette — Generate a Material Design tonal palette from a color
    color:string*, tones:array
  • match_theme_color — Find the closest matching theme variable for a given color
    color:string*, context:string, minConfidence:number*, themeCSS:string*
  • refactor_css_with_theme — Refactor CSS to use theme variables instead of hardcoded colors
    css:string*, generateReport:boolean*, minConfidence:number*, preserveOriginal:boolean*, themeCSS:string*
  • match_theme_colors_batch — Find theme matches for multiple colors at once
    colors:array*, context:string, themeCSS:string*
  • generate_theme_css — Generate CSS custom properties for a complete theme from a source color
    includeTones:array, prefix:string*, sourceColor:string*
  • extract_image_colors — Extract dominant colors from an image. Input should be image data as an array of RGBA values.
    format:string*, imageData:object*, maxColors:integer*, quality:string*
  • generate_theme_from_image — Generate a complete Material Design 3 theme from an image
    imageData:object*, includeCustomColors:boolean*, isDark:boolean*
  • analyze_color_likability — Check if a color is universally disliked (dark yellow-green associated with biological waste) and get a fixed version if needed
    autoFix:boolean*, color:string*
  • fix_disliked_colors_batch — Analyze and fix multiple colors, returning only liked versions
    colors:array*, includeAnalysis:boolean*

Overview

What is Coolors MCP?

Coolors MCP is an advanced color operations MCP server with Material Design 3 support, CSS theme matching, image color extraction, and accessibility compliance. It is designed for developers and designers who need programmatic color manipulation, theme generation, and WCAG contrast checking within MCP-compatible environments like Claude.

How to use Coolors MCP?

Install via NPX (recommended) by adding the server to your Claude Desktop configuration with {"command": "npx", "args": ["-y", "@trishchuk/coolors-mcp"]}. Alternatively, install via NPM (npm install @trishchuk/coolors-mcp) or build from source. Use the server by running node dist/bin/server.js or via MCP Inspector. Configure with Claude Desktop or Claude Code using claude mcp add coolors --npm-package @trishchuk/coolors-mcp.

Key features of Coolors MCP

  • Color space conversions (RGB, HSL, HSV, LAB, XYZ, HCT)
  • Perceptual color metrics (Delta E 76/94/2000, HCT distance)
  • Material Design 3 theme generation with tonal palettes
  • Smart CSS theme matching with context-aware strategies
  • Image color extraction via Celebi quantization
  • WCAG contrast ratio compliance checking
  • Automated CSS refactoring with theme variables
  • Palette generation with locked colors and gradient generation
  • Dislike analysis for universally disliked colors

Use cases of Coolors MCP

  • Convert hardcoded colors to CSS variables with confidence scores
  • Ensure all color combinations meet WCAG AA/AAA standards
  • Generate complete Material Design 3 themes with tonal palettes
  • Create cohesive palettes that harmonize brand colors
  • Extract colors from logos or photos to generate matching themes

Frequently asked questions

1 What color spaces does Coolors MCP support?

It supports RGB, HSL, HSV, LAB, XYZ, and Google's HCT color space.

2 How does the HCT color space work for accessibility?

HCT tone difference of 40 guarantees a 3:1 contrast ratio; tone difference of 50 guarantees 4.5:1, making it perceptually uniform for UI design.

3 Can Coolors MCP extract colors from images?

Yes, it uses the Celebi quantization algorithm to extract dominant colors from RGBA pixel data, and can generate Material Design themes from those colors.

4 Is Coolors MCP free and open-source?

Yes, it is released under the MIT license and built with the MCP SDK and Google’s Material Color Utilities.

5 Does it support custom CSS variable generation?

Yes, tools like generate_theme_css output CSS custom properties for complete themes, and refactor_css_with_theme automatically replaces legacy colors with theme variables.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬