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
- accessibility-mcp-server -- WCAG 2.1 AA Pruefung fuer Webseiten
- document-intelligence-mcp -- PDF/DOCX Analyse
- museum-mcp-server -- Kunst & Design aus Met NYC + Art Institute Chicago
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| color_mcp_server-0.1.0.tar.gz | 6.4 kB | Without provenance | Details for color_mcp_server-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| color_mcp_server-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for color_mcp_server-0.1.0-py3-none-any.whl |
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
|
Security for color-mcp-server 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.