color-ai-mcp
v1.0.0
Published
MCP server for color ai. Features hex to rgb, generate palette, check contrast. From MEOK AI Labs.
Maintainers
Readme
Color AI MCP Server
By MEOK AI Labs — Color conversion, palette generation, and WCAG contrast checking
Installation
pip install color-ai-mcpUsage
python server.pyTools
hex_to_rgb
Convert hex color to RGB, HSL, HSV, and CSS formats with luminance calculation.
Parameters:
hex_color(str): Hex color (e.g., '#ff6600')
generate_palette
Generate color palette from a base color using various schemes.
Parameters:
base_hex(str): Base hex colorscheme(str): Scheme — 'complementary', 'analogous', 'triadic', 'split_complementary', 'monochromatic', 'tetradic'count(int): Number of colors (default 5)
check_contrast
Check WCAG contrast ratio between two colors with AA/AAA compliance.
Parameters:
foreground(str): Foreground hex colorbackground(str): Background hex color
suggest_accessible
Suggest accessible text colors for a given background targeting WCAG AA/AAA.
Parameters:
background(str): Background hex colormin_ratio(float): Minimum contrast ratio (default 4.5)
Authentication
Free tier: 15 calls/day. Upgrade at meok.ai/pricing for unlimited access.
License
MIT — MEOK AI Labs
