aesthete-agent
This MCP server exposes color-system tooling for matching, generating, validating, exporting, and visualizing palettes.
Match a natural-language brief against an evidence library, with learned preference penalties and endorsement ranking.
Generate OKLCH harmony palettes from a seed color across rules and light/dark themes.
Score palettes with a 5-dimension scorecard and P0–P3 findings.
Check WCAG or APCA contrast for a foreground/background pair.
Build a full pairwise contrast matrix with best-pair recommendations.
Simulate protanopia, deuteranopia, and tritanopia, flagging collision risks.
Generate color-blind-safe categorical colors for charts.
List named theme packs and emit themes as CSS custom properties or JSON.
Export palettes as CSS, Tailwind, JSON, SVG, W3C Design Tokens, or LLM-ready context.
Detect AI-slop signatures such as training-median hexes, purple gradients, flat lightness, and all-loud palettes.
Render palettes into realistic UI scenes with derived roles and legibility gates.
Produce a one-shot PASS/FAIL report aggregating contrast, color-blind, slop, and scorecard gates.
Exports a validated palette as CSS custom properties (CSS tokens), and the HTML delivery linter checks generated CSS/HTML for aesthetic gate violations such as gradients.
Renders palettes into UI scenes and can recolor an existing SVG, slotting palette colors into the artwork while preserving pure black and white; also exports SVG color tokens.
aesthete-agent
Mechanically validated frontend aesthetics for AI agents. An agent skill (and MCP server) that plans, validates, and exports color systems — so your agent stops shipping purple-gradient AI slop and starts shipping palettes that pass WCAG, survive color-blindness, and read as designed.
npx skills add docsor1212/aesthete-agent # 30 seconds; also: skillhub / clawhub / MCP uvx — see InstallOther tools give your agent taste advice. This one gives it gates: nothing ships until it passes four mechanical checks (WCAG contrast, three color-blindness simulations, AI-slop detection, scorecard) — backed by a 119-palette evidence library, five full-page layout recipes, and a render-verified review loop.
Why
LLMs choose colors badly for measurable reasons: they treat hex codes as text, they regress to the median of their training data (the frontend-tutorial median is purple/indigo), and they cannot see the colors they emit. aesthete-agent fixes this the engineering way — outsource taste to process:
an evidence library of 119 curated palettes filtered by objective quality gates (flat lightness → rejected; no readable text pair → rejected; color-blind collisions / slop signatures → flagged),
mechanical gates on every decision: a 5-dimension scorecard, exact WCAG 2.2 boundaries (APCA optional), three color-blindness simulations, AI-slop signature detection, a gradient ban (any gradient = P0), and an HTML delivery linter,
a six-step method (manifesto → register check → source → roles → validate → five-lens review) that turns "make it pretty" into a reproducible pipeline,
a preference profile (
profile.json) that learns from every accept/reject verdict and mechanically down-ranks what the user rejects.
Related MCP server: MCP Color Converter
What it renders
Every image below is a real deliverable produced by the engine — roles derived in OKLCH, contrast gated, color-blind simulated, slop checked, then rendered into a full scene. No hand-picked colors. Live versions: visual showcase (30 scenes across curated palettes).
Install
Agent skill — one line in any skills-compatible agent (Claude Code, ZCode, Codex, Cursor, Gemini CLI):
npx skills add docsor1212/aesthete-agentSkillHub (中文站, fastest in China — primary release channel):
skillhub install aesthete-agent --dir <your-skills-dir> # e.g. ~/.claude/skillsor open skillhub.cn/skills/aesthete-agent and click 安装到本地 Agent.
DeepSeek Harness native plugin (DSH desktop / web / TUI) — 11 native tools over the bundled engine:
dsh plugin --profile web add github:docsor1212/dsh-aesthete-agentClawHub (international registry):
ClawHub (international registry):
npx clawhub install aesthete-agentMCP server (Claude Desktop, Cursor, any MCP client) — the engine as 21 callable tools:
uvx aesthete-agent-mcp # from PyPI, zero keys
# or: npx -y @smithery/cli install docsor1212/aesthete-agent-mcp --client claudePure Python stdlib in the core engine (offline, zero keys, zero telemetry); Pillow optional for image extraction; FastMCP optional for the MCP server.
30-second agent quickstart
S="scripts/palette_forge.py" # inside the installed skill directory
python "$S" match --brief "pediatric clinical teaching page" --limit 6 # rank the evidence library by register
python "$S" score --palette 264653,2A9D8F,E9C46A,F4A261,E76F51 # 5-dim scorecard /20
python "$S" matrix --palette ... --method apca --recommend # full contrast matrix (APCA = WCAG 3 draft)
python "$S" semantic --count 8 --base 2A9D8F # color-blind-safe categorical colors
python "$S" visualize --palette ... --variants 3 # 10 real UI scenes + variants
python "$S" report --palette ... # all gates → one PASS/FAIL verdict
python "$S" theme "Golden Window Suya" --format css # named theme pack → CSS tokens
python "$S" export --palette ... --format w3c # W3C Design Tokens JSON
python "$S" export --palette ... --format prompt # image-generation prompt block
python "$S" doctor # environment health checkFull method (manifesto → register → source → roles → validate → five-lens review) lives in SKILL.md. References carry a 30-second routing table per task.
What's inside
Area | Highlights |
Engine (38 subcommands) | match/search/harmony/ramp/mutate/roles/score/contrast/blind/matrix/semantic/slop/themes/theme/export(w3c·context·css·tailwind·prompt)/card/showcase/visualize/report/critique/doctor/selftest/house/extract/directions/scene/scaffold/check-image/evidence/tokens/audit/chartpal/typescale/qc/narrate/exemplar/patch/loop |
Evidence library | 119 curated palettes with like tiers, computed style tags, gate flags |
Scene visualizer | 10 real front-end scene types × any palette, light and dark, |
Theme packs | 8 named packs (colors + fonts + voice + use-when), all with provenance |
Quality gates | exit-code enforced: scorecard, contrast, blind collisions, slop, HTML lint (gradient ban: any gradient = P0), |
Learning |
|
Tests | 39 automated tests incl. WCAG boundary values (#767676=4.54 pass / #777777=4.48 fail), APCA, W3C export |
The evidence library
Nobody can know "beautiful" a priori — so the library is built from three filters, each doing only what it can: crowd signal (community-endorsed charts, like tiers, cross-page recurrence), objective gates (reject only objectively broken architecture: flat lightness, no readable pair; flag CB collisions and slop), and in-context review (the final verdict happens in real layouts, with the user). Every rejection is recorded with a measured cause.
MCP server
mcp/ wraps the engine as MCP tools (JSON-RPC over stdio). Zero keys, zero telemetry; ships as a self-contained wheel — server_data/ carries the engine, so uvx aesthete-agent-mcp works standalone. A pure-stdlib stdio fallback (--stdio) runs even without FastMCP.
Tool | Wraps |
| evidence-library ranking by brief |
| OKLCH harmony generation |
| 5-dim scorecard / all-gates PASS-FAIL verdict |
| pair check / full pair matrix (WCAG + APCA) |
| CB simulation / CB-safe categorical colors |
| AI-slop signature detection |
| 10-scene renderings + variants |
| named theme packs |
| css / tailwind / w3c / context / prompt |
Platform availability
Platform | Handle | Link |
GitHub (source of truth) | install above | |
SkillHub (中文站) |
| |
ClawHub |
| |
PyPI (MCP) |
| |
Smithery (MCP) |
| |
Online demo | showcase + live visualizers |
License
MIT
Available Tools
13 toolspalette_blind_implPalette Blind ImplB
Simulate protanopia/deuteranopia/tritanopia; flags collision risk.
Inputs: palette (required). Returns: result
palette_contrast_implPalette Contrast ImplB
Contrast for one fg/bg pair. method='apca' uses the APCA 0.1.9 perceptual algorithm (WCAG 3 draft direction; Lc>=75 body, >=60 large, >=45 bold).
Inputs: bg (required), fg (required), method. Returns: result
palette_export_implPalette Export ImplC
Export tokens: css | tailwind | json | svg | w3c (W3C Design Tokens) | context (paste-ready color-system context for any LLM).
Inputs: palette (required), fmt. Returns: result
palette_harmony_implPalette Harmony ImplB
Generate an OKLCH harmony palette from a seed color (7 rules x light/dark).
Inputs: base (required), mode, theme. Returns: result
palette_match_implPalette Match ImplB
Rank the 89-palette evidence library for a natural-language brief. Auto-detects register, applies learned preference penalties, sorts by endorsement tiers.
Inputs: brief (required), limit, no_flags. Returns: result
palette_matrix_implPalette Matrix ImplC
Full pairwise contrast matrix (WCAG ratios or APCA Lc) + best-pair recommendation.
Inputs: palette (required), method, recommend. Returns: result
palette_report_implPalette Report ImplB
One-shot acceptance artifact: contrast / color-blind / AI-slop / scorecard gates aggregated into a single PASS/FAIL JSON. Exit code = verdict.
Inputs: palette (required). Returns: result
palette_score_implPalette Score ImplB
5-dimension scorecard (/20) with P0-P3 findings: architecture, readability, CB-safety, saturation discipline, uniqueness. Exit non-zero = untrustworthy.
Inputs: palette (required). Returns: result
palette_semantic_implPalette Semantic ImplC
Color-blind-safe categorical colors for charts: interleaved luminance ramp + evenly spread hues, verified >=0.08 min separation under deuteranopia.
Inputs: base, count. Returns: result
palette_slop_implPalette Slop ImplB
Detect AI-slop signatures: training-median hexes, purple gradients, flat lightness, all-loud palettes.
Inputs: palette (required). Returns: result
palette_theme_implPalette Theme ImplC
Emit a named theme as CSS custom properties (or full JSON).
Inputs: name (required), fmt. Returns: result
palette_themes_implPalette Themes ImplB
List named theme packs (colors + fonts + voice + use-when), all dogfood-proven.
Inputs: no named parameters. Returns: result
palette_visualize_implPalette Visualize ImplB
Render the palette into 6 realistic UI scenes (mobile, landing, dashboard, branding, typography, pattern) with derived roles and legibility gates; optionally recolor an SVG keeping pure black/white.
Inputs: palette (required), out, theme. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 13 tools
Most tools have distinct purposes (harmony generation, contrast checking, blindness simulation, export, slop detection), but palette_themes_impl (list packs) and palette_theme_impl (emit one theme) differ only by a trailing 's' and are easy to misselect. palette_score_impl and palette_report_impl, plus palette_contrast_impl vs palette_matrix_impl, also have some functional overlap that descriptions mostly resolve.
Every tool follows the exact same palette_<action>_impl pattern with a single conventional prefix and suffix. The convention is uniform across all 13 tools despite the slightly unusual '_impl' suffix.
13 tools is squarely in the well-scoped range and each one maps to a recognizable capability of a color-system agent (scoring, matching, generation, checking, export, reporting). No tool feels redundant or padded.
The surface covers generation (harmony), analysis (score, contrast, matrix, slop, blindness), curation (match, themes, theme), and output (export, visualize, report) — a full workflow lifecycle. Minor gaps such as extracting or persisting a user's own custom palette from an image/design are not addressed.
Maintenance
Related MCP Connectors
18 color tools: OKLCH, WCAG and APCA contrast fixes, palettes, gradients, color blindness, tokens.
Contrast checks with fixes, OKLCH harmonies, palettes, color-blind previews and code export.
Verified color tokens for AI coding agents: one brand hex in, WCAG/APCA-measured themes out.
WCAG color contrast checks, nearest accessible color, CSS color conversion and palette pair checks.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides comprehensive color conversion, manipulation, analysis, and WCAG accessibility tools supporting multiple formats (hex, rgb, hsl, oklch, oklab) for design systems and web development.32 npm2MIT
- AlicenseNot gradedqualityDmaintenanceA comprehensive toolkit for color conversion, manipulation, and accessibility analysis supporting formats like OkLCH and WCAG compliance. It enables AI agents to manage design systems by generating harmonious palettes, transforming color spaces, and performing contrast checks.2MIT
- AlicenseNot gradedqualityBmaintenanceExtract palettes from images, generate harmonies, gradients, random palettes; Check WCAG and APCA contrast; Suggest nearest passing OkLCH lightness; Simulate color-blindness; Convert and sort colors across formats (hex / RGB / HSL / OkLCH / …)MIT
- AlicenseAqualityCmaintenanceEnables AI assistants to work with color: converting between formats like HEX, OKLCH and Display P3, checking and fixing WCAG 2 and APCA contrast, auditing palettes for accessibility and color blindness, and generating palettes, gradients, scales and design tokens.18MIT