color-mcp-server
Provides color and design tools including palette generation, WCAG contrast checking, color conversion, gradients, color blindness simulation, and CSS variables, all without API keys.
README
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
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.