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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

color_mcp_server-0.1.0.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

color_mcp_server-0.1.0-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file color_mcp_server-0.1.0.tar.gz.

File metadata

  • Download URL: color_mcp_server-0.1.0.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for color_mcp_server-0.1.0.tar.gz
Algorithm Hash digest
SHA256 66132764cfd4c6f619453acb65fcd2dda3b1b91962ca9c33ae9447b99f8861c4
MD5 750980e5e42d757252d647d1731711a2
BLAKE2b-256 5d5751ffeff6307cb0fb754b78a35880c80de4a254cc611869197524fc50e401

See more details on using hashes here.

File details

Details for the file color_mcp_server-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for color_mcp_server-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fceb4009da30152ab0fce06f4c52a826bf6267115fdf99605073db70de7f890f
MD5 dd0ddc9f9885dcb8f0e7469053a2f46b
BLAKE2b-256 ba454ded63767bceb119d0de62523fe4a5c359008412fcf84912773a080be034

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page