home / mcp / color converter mcp server
Provides a comprehensive color toolkit for format conversion, manipulation, analysis, and accessibility within MCP-enabled workflows.
Configuration
View docs{
"mcpServers": {
"bennyzen-mcp-accessibility-checker": {
"command": "npx",
"args": [
"-y",
"mcp-color-convert@latest"
]
}
}
}You can run and use the Color Converter MCP server to perform color format conversions, manipulations, analysis, and accessibility checks within your MCP-enabled development workflow. It provides a complete color toolkit that integrates with your AI coding agents to streamline design system work, web development, data visualization, and accessibility compliance using perceptual color spaces.
You will connect an MCP client to the Color Converter server using a standard MCP transport. The server exposes a set of tools you can invoke from your agent to convert colors between formats, adjust color properties, analyze accessibility, generate palettes, and more. Use natural language prompts or structured tool calls to perform tasks such as converting a color to OkLCH, lightening a color, or checking WCAG contrast against a background.
Prerequisites: you need Node.js 18+ installed on your machine. You will run the server locally via a CLI command that installs the package on demand if needed.
# Quick install and run using the MCP client integration
npx -y mcp-color-convert@latestTo use this MCP server with your agent, configure the MCP client to launch the server as a stdio transport. The following configuration shows how to set the color converter as a local, self-installing MCP server. This keeps the server ready for inquiries like converting colors, generating palettes, and analyzing accessibility.
{
"servers": [
{
"name": "color-converter",
"description": "AI-powered color conversion, manipulation, analysis, and accessibility tools for design systems",
"transport": {
"type": "stdio",
"command": "npx",
"args": ["-y", "mcp-color-convert@latest"]
}
}
]
}The server relies on your MCP client to manage the lifecycle. Ensure you restart your MCP client after configuration changes. Regularly update the mcp-color-convert package to keep features and compatibility current.
If the server fails to start or respond, verify Node.js 18+ is installed, clear caches if needed, and re-install dependencies. Ensure the MCP client is configured to launch the server correctly and that the path to the npx command is accessible.
# Example: verify server command by attempting to start the process directly
node -e "console.log('ready')" # should start with a waiting state in the MCP clientThis server supports a broad set of color formats and tools for conversion, manipulation, analysis, and accessibility. You can convert between HEX, RGB(A), HSL(A), OkLCH, and OkLab spaces, preserve or drop alpha depending on the target format, and perform actions like lightening, darkening, saturating, rotating hue, and comparing contrast.
Universal color format converter between supported formats including hex, rgb, rgba, hsl, hsla, oklch, and oklab with alpha preservation across alpha formats.
Increase the lightness of a color by a percentage amount.
Decrease the lightness of a color by a percentage amount.
Increase color saturation/intensity by a percentage amount.
Decrease color saturation/intensity by a percentage amount.
Create the complementary color by rotating hue by 180 degrees.
Convert a color to grayscale using perceptual OkLCH.
Rotate the hue around the color wheel by a number of degrees.
Compute WCAG relative luminance on a 0-1 scale.
Evaluate color intensity/purity on a 0-1 scale.
Extract alpha/opacity value from a color that supports transparency.
Return a common color name or hex if unnamed.
Generate a 6-color harmonious palette from a base color.
Generate color harmonies such as complementary or triadic schemes.
Create an 11-step design system swatch (50-950).
Generate a random color in a specified format.
Calculate WCAG contrast ratio between two colors.
Full WCAG compliance analysis with recommendations.
Suggest optimal text color (black or white) for a given background.
Validate whether a color string can be parsed.