MCP-Server

CSS Crème

com.csscreme/design-systems
Design & Kreativ Entwicklertools Öffentlich und erreichbar MCP 2026-07-28

Was dieses MCP kann

Analyzes websites for design tokens, typography, spacing, accessibility contrast, and CSS features, and generates DESIGN.md files and shadcn theme installation instructions.

css_feature
Is this CSS feature safe to ship, and who ships it
Answers two questions about a modern CSS feature with data instead of recall. First, its Baseline status (widely available, newly available, or limited availability), the date, and which core browsers lack it, read from the open web-features dataset at build time. Second, how many of CSS Crème's curated, decoded showcase sites ship it, which ones, how many of them guard it with @supports, and the exact @supports conditions they test. Also returns a fallback note where we have one, any name the feature has shipped under before (an agent that learned the old name will otherwise write it), and the documented limits that catch people out, each cited to the page it was read on. Call it before writing CSS that uses container queries, :has(), anchor positioning, @scope, view transitions, oklch(), color-mix(), light-dark(), subgrid, scroll-driven animations, @property, text-wrap and similar, so the CSS you write is accurate for today rather than for your training date. With no feature given it returns the Ship Gap: features that are safe and mostly ignored, and features that are early and shipped anyway.
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'properties': {'feature': {'type': 'string', 'description': 'A web-features id or a plain name: "container-queries", "has", ":has()", "anchor positioning", "oklch", "subgrid", "@scope". Omit for the whole Ship Gap summary.'}}}
decode_site
Measure a design system across a whole site, not one page
Read a sample of pages from one site (from its sitemap.xml, or the homepage links when there is no sitemap) and report what is CONSISTENT across them: which declared tokens, colours, font stacks, radii and spacing values appear on every page read, and which appear on only some. One page shows what a page uses; a design system is a claim about consistency, and only a sample can test it. Returns counts and the pages actually read, never a score. Use when the user asks whether a site is really on a system, or wants the system rather than one page of it.
Nur Lesen Externer Zugriff Idempotent
Eingabeschema
{'type': 'object', 'required': ['url'], 'properties': {'url': {'type': 'string', 'description': 'Absolute public http(s) URL anywhere on the site.'}, 'pages': {'type': 'integer', 'maximum': 8, 'minimum': 2, 'description': 'How many pages to read, 2 to 8. Default 5.'}, 'maxAge': {'type': 'integer', 'maximum': 3600, 'minimum': 0, 'description': 'How old a reused read may be, in seconds. Default 600; 0 reads the site now. A reused read keeps its own fetchedAt and says cache.hit: true.'}}}
decode_url
Decode any live site into design tokens
Fetch a public site's HTML and stylesheets and return what its CSS declares: named custom properties that look like design tokens, the colours it uses most, its font stacks, border radii, spacing values, and the framework it appears to be built with. Also returns a "drop" report: roughly how many words a web-to-markdown reader would carry away from this page, against the design decisions it would discard, because markdown is defined by throwing the design layer away. It reads CSS and does not render the page, so it reports a confidence ("tokens" when named properties were found, "derived" when only compiled CSS was available) and flags a JavaScript shell rather than pretending every site is equally legible. It obeys the site's robots.txt for CSSCremeBot: a disallowed path is refused with ROBOTS_DENIED, which a retry will not change. A bot challenge, a parked or for-sale domain, or a host's default page is refused with NOT_THE_SITE and the evidence, rather than measured as if it were the site. Every error starts with its code and a retry verdict (never, later, with-changes). A read is reused for up to maxAge seconds (default 600, 0 for fresh), and every result carries `work`: the requests it made of the site. Use when the user wants to match a site that is not in the catalogue, or has fetched a page as markdown and needs what that markdown lost.
Nur Lesen Externer Zugriff Idempotent
Eingabeschema
{'type': 'object', 'required': ['url'], 'properties': {'url': {'type': 'string', 'description': 'Absolute public http(s) URL of the page to read.'}, 'expect': {'type': 'string', 'description': 'Optional brand hex, like #635BFF. The json response then carries `expect`: the nearest value the site declares (a token when it has any, else a literal), its CIE76 distance, and whether that is within the same-colour tolerance, near, or different. A distance, not a grade.'}, 'format': {'enum': ['json', 'md', 'tokens', 'css', 'tailwind', 'registry', 'agents', 'aliases', 'figma'], 'type': 'string', 'description': "Default json (the measurement). Or one artefact from the same read: md (DESIGN.md), tokens (W3C DTCG tokens.json with the site's declared names by scope), css (globals.css: shadcn variables, Tailwind v4 @theme, the declared block), tailwind (v4 and v3 shapes), registry (a shadcn registry item: npx shadcn add <url>), agents (an agents.md rules block), aliases (every resolved value mapped back to the declared names that produce it, with scope), figma (a script for Figma's use_figma tool that creates a Variables collection with Light and Dark modes, built from the same mapper the CSS Crème plugin runs)."}, 'maxAge': {'type': 'integer', 'maximum': 3600, 'minimum': 0, 'description': 'How old a reused read may be, in seconds. Default 600; 0 reads the site now. A reused read keeps its own fetchedAt and says cache.hit: true.'}, 'expectSpec': {'type': 'object', 'description': 'Optional brand spec to check field by field, for example {"primary":"#635BFF","bg":"#FFFFFF","font":"Inter","heading":"Sohne","radius":"8px","base":"16px","spacing":"4px","darkMode":true,"tokens":{"--brand":"#635BFF"}}. The json response then carries `compliance`: per field a verdict (match, near, different, not-declared), what it was compared against, and the value found. not-declared means the site gives nothing to compare; it is never filled with the nearest guess.'}}}
get_agent_rules
Get a rules block for CLAUDE.md / AGENTS.md / .cursor/rules
Return a short standing-instructions block that makes every future session read DESIGN.md before touching UI. Paste it whole into CLAUDE.md, AGENTS.md or .cursor/rules/design.mdc. It points at the DESIGN.md rather than restating it, and carries the token fingerprint so drift is detectable.
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'required': ['id'], 'properties': {'id': {'type': 'string', 'description': 'Theme or template id.'}}}
get_design_md
Get a DESIGN.md
Fetch the full DESIGN.md for one theme: semantic colour roles, the complete shadcn token set in light and dark, typography, radius, spacing, MEASURED WCAG contrast ratios, and numbered rules the generated UI must follow. Read this before writing any UI. Save it at the repo root as DESIGN.md so it applies to every session.
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'required': ['id'], 'properties': {'id': {'type': 'string', 'description': 'Theme or template id, e.g. "deep-ocean". Get ids from search_themes or list_themes.'}}}
get_design_md_for_url
Get a complete DESIGN.md for any public URL
Read the stylesheets of a public site and return a full DESIGN.md: semantic roles with the token each came from, measured WCAG contrast pairs, the tokens the site itself declares (framework internals counted separately), font families, the type scale with the ratio between steps, colour frequency, gradients, corner radii, spacing, an elevation ladder of shadows, breakpoints, the z-index ladder, interaction-state rule counts, motion, and whether a dark theme is declared. This is the artefact to hand a coding agent before it writes UI that should match a site. It reads declared CSS and does not execute JavaScript, so it reports what the stylesheets say rather than what the page renders.
Nur Lesen Externer Zugriff Idempotent
Eingabeschema
{'type': 'object', 'required': ['url'], 'properties': {'url': {'type': 'string', 'description': 'Absolute public http(s) URL of the page to read.'}, 'maxAge': {'type': 'integer', 'maximum': 3600, 'minimum': 0, 'description': 'How old a reused read may be, in seconds. Default 600; 0 reads the site now. A reused read keeps its own fetchedAt and says cache.hit: true.'}}}
get_install_command
Get the one-line install command
Return the exact `npx shadcn@latest add <url>` command that installs one theme into a shadcn/ui project, plus the registry URL it reads. Use when the user says "install it" and you already know the id.
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'required': ['id'], 'properties': {'id': {'type': 'string', 'description': 'Theme or template id.'}}}
get_theme_tokens
Get raw theme tokens
Get the shadcn/ui registry item (OKLCH tokens, light and dark) plus the paste-ready CSS variables for one theme, and the one-line command that installs it for real. Use after get_design_md when you are ready to write the tokens into globals.css.
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'required': ['id'], 'properties': {'id': {'type': 'string', 'description': 'Theme or template id.'}, 'format': {'enum': ['registry', 'css', 'both'], 'type': 'string', 'description': 'Default both.'}}}
how_to_use
How to wire a DESIGN.md into this tool
Explains where a DESIGN.md belongs for a given coding agent (Claude Code, Cursor, v0, Codex, Lovable) so the design rules apply to every session rather than one message.
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'properties': {'tool': {'type': 'string', 'description': 'claude-code | cursor | v0 | codex | lovable'}}}
list_themes
List all design systems
Browse the full catalogue of curated themes and templates. Use when the user wants to see options rather than search for one.
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'properties': {'kind': {'enum': ['any', 'theme', 'template'], 'type': 'string'}, 'mode': {'enum': ['any', 'light', 'dark'], 'type': 'string'}}}
search_themes
Search design systems
Find a design system by describing what you are building ("dark developer tool", "calm fintech dashboard", "playful consumer app"). Returns matching themes with their DESIGN.md URL and shadcn install command. Call this first when the user has no design system defined.
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'required': ['query'], 'properties': {'kind': {'enum': ['any', 'theme', 'template'], 'type': 'string', 'description': 'Curated palette theme, full page template, or either. Default any.'}, 'mode': {'enum': ['any', 'light', 'dark'], 'type': 'string', 'description': 'Preferred light or dark. Default any.'}, 'limit': {'type': 'integer', 'maximum': 25, 'minimum': 1, 'description': 'Max results, 1-25. Default 8.'}, 'query': {'type': 'string', 'description': 'Free text: mood, industry, colour, or use case.'}}}
verify_design_md
Check whether a DESIGN.md copy is still current
Every DESIGN.md carries a Fingerprint line. Pass the id and that fingerprint; the server answers whether the copy matches the current token set, and if not, returns the current tokens so the agent can update the file instead of following a stale one. Call this at the start of a session when a DESIGN.md is already in the repo.
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'required': ['id', 'fingerprint'], 'properties': {'id': {'type': 'string', 'description': 'Theme or template id from the DESIGN.md Source line.'}, 'fingerprint': {'type': 'string', 'description': 'The value from the DESIGN.md Fingerprint line, e.g. "fnv1a-9c2a41d7".'}}}
Geändert
decode_site
26. September 2026 02:40
Geändert
get_design_md_for_url
26. September 2026 02:40
Geändert
decode_url
26. September 2026 02:40
Hinzugefügt
verify_design_md
20. September 2026 02:40
Hinzugefügt
decode_site
20. September 2026 02:40
Hinzugefügt
get_design_md_for_url
20. September 2026 02:40
Hinzugefügt
css_feature
20. September 2026 02:40
Hinzugefügt
decode_url
20. September 2026 02:40
Hinzugefügt
get_agent_rules
20. September 2026 02:40
Hinzugefügt
get_install_command
20. September 2026 02:40
Hinzugefügt
how_to_use
20. September 2026 02:40
Hinzugefügt
get_theme_tokens
20. September 2026 02:40
Hinzugefügt
get_design_md
20. September 2026 02:40
Hinzugefügt
list_themes
20. September 2026 02:40
Hinzugefügt
search_themes
20. September 2026 02:40