color-mcp-server

by AiAgentKarl

112 downloads
Not rated
GitHub Website

About

MCP-Server fuer Farb- und Design-Tools: Palettengenerator, WCAG-Kontrast, Konvertierung, Farbenblindheits-Simulation. 9 Tools, kein API-Key.

Details

Author
AiAgentKarl
Downloads
112
Categories
Other

- 9 built-in color tools (palette, contrast, conversion, etc.)
- WCAG 2.1 AA/AAA contrast checking for normal and large text
- Color blindness simulation (protanopia, deuteranopia, tritanopia, achromatopsia)
- Generates CSS custom properties from palette colors
- No API keys needed (uses free TheColorAPI or local calculations)
- Supports monochrome, analogic, complement, triad, and quad palettes

Install with pip install color-mcp-server, then configure it in the Claude Desktop client by adding an entry to claude_desktop_config.json with the command color-mcp-server. Once running, you can invoke any of the nine tools directly (e.g., tool_generate_palette or tool_check_contrast).

color-mcp-server

MCP-Server fuer Farb- und Design-Tools: Palettengenerator, WCAG-Kontrast, Farbkonvertierung, Komplementaerfarben, Verlaeufe, Farbenblindheits-Simulation und CSS-Variablen.

Perfekt fuer Design-Agents, Frontend-Bots und Accessibility-Workflows. Keine API-Keys noetig.

Features (9 Tools)

| Tool | Zweck |
|------|-------|
| tool_get_color_info | Detail-Info zu einer Farbe (Name, RGB, HSL, CMYK) via TheColorAPI |
| tool_get_color_info_local | Schnelle lokale Color-Info ohne API-Call |
| tool_generate_palette | Palette generieren: monochrome, analogic, complement, triad, quad |
| tool_check_contrast | WCAG 2.1 Kontrast-Check (AA/AAA, normal/large) |
| tool_convert_color | Konvertierung zwischen hex, rgb, hsl, hsv |
| tool_get_complementary_color | Komplementaerfarbe (180 Grad im HSL-Rad) |
| tool_generate_gradient | Linearer Farbverlauf zwischen zwei Farben |
| tool_simulate_color_blindness | Protanopia, Deuteranopia, Tritanopia, Achromatopsia |
| tool_get_css_variables | CSS-Custom-Properties (--color-1: #...;) aus Palette |

Installation

pip install color-mcp-server

Verwendung mit Claude Desktop

claude_desktop_config.json:

{
  "mcpServers": {
    "color": {
      "command": "color-mcp-server"
    }
  }
}

Beispiele

```python

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.