Color logo

Color

Converts colors, checks WCAG contrast, and finds nearest CSS color names through MCP.

Install Color

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "color": {
      "command": "npx",
      "args": [
        "-y",
        "@pipeworx/mcp-color"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 3 tools correctly ().

Overview

The Color MCP server converts HEX, RGB, HSL, and CSS named colors, checks WCAG 2.1 contrast, and finds nearby CSS color names. It provides three keyless, offline tools and can run locally over stdio or through the Pipeworx gateway over streamable HTTP. Use it when an agent needs deterministic color formatting, accessibility checks, or CSS color-name matching without external APIs. Gateway connections also expose shared Pipeworx meta-tools, while the standalone package exposes only the color tools.

Use cases

  • Convert design tokens between HEX, RGB, and HSL
  • Check text and background contrast against WCAG thresholds
  • Find a CSS color name for a numeric color
  • Run color calculations locally without credentials

Key features

  • HEX, RGB, HSL, and CSS name conversion
  • WCAG 2.1 contrast ratio checks
  • AA and AAA results for normal and large text
  • Nearest CSS named-color matching
  • Offline, keyless standalone operation

Tools3

What Color lets your agent do. Expand a tool for its parameters.

Verified live~283 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

13/13 checks healthy over the last 71d

What it can do

From the 3 tools this server returned when we ran it; 3 declare their own safety hints.

Makes network requests · 3Read-only tools · 3
Network at startup4 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age129 days
Maintainers1

Observed 2026-11-07 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 2d ago via OSV.dev · @pipeworx/mcp-color (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads60Package downloads in the last 30 days.
Last commit20d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed3Callable tools this server registers over MCP.

How Color works

What the Color MCP server does

The Color MCP server gives MCP-compatible agents three local color utilities. It accepts HEX values, rgb() strings, hsl() strings, and CSS color names for conversion. It can return equivalent HEX, RGB, and HSL representations, evaluate text contrast using WCAG 2.1 thresholds, and identify the closest CSS named color.

All three tools are keyless and offline when used through the standalone package. They do not require an account, external service credentials, or a network request to calculate results. This makes the server suitable for agents that need repeatable color transformations or accessibility checks inside design, frontend, and documentation workflows.

How it works

The server communicates through MCP and exposes these operations as callable tools:

  • color_convert parses a supported color input and returns HEX, RGB, and HSL forms.
  • color_contrast compares two colors, calculates their WCAG 2.1 contrast ratio, and reports AA and AAA results for normal and large text.
  • nearest_color compares a color against CSS named colors using Euclidean RGB distance and returns the nearest match.

The standalone process communicates over standard input and output. The hosted Pipeworx endpoint uses the same underlying color tools but also lists shared gateway tools, including routing and discovery functions. The endpoint's initialize response is the authoritative source for the tools available in a particular connection.

Setup and configuration

For a local Color MCP server, configure an MCP client to run the package with npx:

config.json
{
  "mcpServers": {
    "color": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-color"]
    }
  }
}

Running npx -y @pipeworx/mcp-color directly can confirm that the process starts. The local package requires no Pipeworx account and exposes only the three color tools.

A client can instead connect to https://gateway.pipeworx.io/color/mcp. The full gateway is available at https://gateway.pipeworx.io/mcp when an agent needs every pack listed directly. Both gateway URLs can reach Pipeworx routing through ask_pipeworx, but the pack endpoint lists the Color tools directly alongside shared meta-tools.

Tools and capabilities

Use color_convert when an agent needs to normalize a color across common web formats. Use color_contrast for readable text and background combinations, with separate results for normal and large text under AA and AAA criteria. Use nearest_color when a workflow needs a human-readable CSS color name rather than only a numeric value.

The Color MCP server can also be called over HTTP through the gateway's tool endpoint. For example, a client can POST a JSON body containing {"color":"#3498db"} to the color_convert tool endpoint. Tool details can be inspected through the gateway's tool inspection endpoint.

Limitations and notes

The standalone server supports only the three color utilities described above. It does not provide Pipeworx's shared discovery, memory, or cross-catalog routing tools. Those are added by gateway connections, where the visible tool count is larger than the Color pack's own tool count.

The documented nearest-color calculation uses Euclidean distance in RGB space, so its result is a mathematical proximity match rather than a perceptual color comparison.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Color

Color is an MCP server that connects AI agents to offline color utilities through MCP. Its main tools convert HEX, RGB, HSL, and CSS names, calculate WCAG 2.1 contrast with AA and AAA results, and find the nearest CSS named color. It can run locally or through the Pipeworx gateway.

Install it by configuring your MCP client to run `npx -y @pipeworx/mcp-color` with stdio transport. This local setup requires no Pipeworx account and exposes the three color tools directly.

Yes, Color works with Cursor through the documented Pipeworx MCP URL or a local stdio configuration. Add `https://gateway.pipeworx.io/color/mcp` as the server URL, or run the package with `npx`.

Yes, the three color tools are keyless, and the standalone package runs without a Pipeworx account. Gateway usage is also documented as requiring no account for the first calls.

It chooses the CSS named color with the smallest Euclidean RGB distance from the input color. The result is based on RGB distance rather than a perceptual color model.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewColor AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/color?style=directory)](https://allmcps.com/mcp/color)
HTML Embed
<a href="https://allmcps.com/mcp/color"><img src="https://allmcps.com/api/badge/color?style=directory" alt="Color on AllMCPs" /></a>