Skip to main content

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

# Palette generieren
await tool_generate_palette(base_color="#3498db", mode="triad", count=3)

# Kontrast pruefen (WCAG 2.1)
tool_check_contrast(foreground="#ffffff", background="#3498db")
# -> {"contrast_ratio": 3.14, "wcag_aa_normal": False, "rating": "AA Large"}

# Farbverlauf fuer CSS
tool_generate_gradient(start_color="#ff0000", end_color="#0000ff", steps=5)

# Farbenblindheit simulieren
tool_simulate_color_blindness(color_hex="#ff0000", blindness_type="protanopia")

APIs

  • TheColorAPI (kostenlos, kein Key) -- Detail-Info und Palettengenerierung
  • Alle anderen Tools laufen rein lokal (Python colorsys)

Lizenz

MIT -- (c) AiAgentKarl

Verwandte Server

Metadata

Release files for color-mcp-server 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for color-mcp-server 0.1.0
File Size Uploaded
color_mcp_server-0.1.0.tar.gz 6.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for color-mcp-server 0.1.0
File Interpreter ABI Platform
color_mcp_server-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 15.2 kB

Release files / color_mcp_server-0.1.0.tar.gz

Download URL color_mcp_server-0.1.0.tar.gz
Size 6.4 kB
Tags Source
SHA-256 checksum
How to use checksums
66132764cfd4c6f619453acb65fcd2dda3b1b91962ca9c33ae9447b99f8861c4
BLAKE2b-256 checksum
How to use checksums
5d5751ffeff6307cb0fb754b78a35880c80de4a254cc611869197524fc50e401
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.3

Release files / color_mcp_server-0.1.0-py3-none-any.whl

Download URL color_mcp_server-0.1.0-py3-none-any.whl
Size 8.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fceb4009da30152ab0fce06f4c52a826bf6267115fdf99605073db70de7f890f
BLAKE2b-256 checksum
How to use checksums
ba454ded63767bceb119d0de62523fe4a5c359008412fcf84912773a080be034
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.3

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page