New advertisers: 50% off your first month with code FIRSTMONTHSee slots
kruschdev avatar

Krusch Frontend MCP

kruschdev/krusch-frontend-mcp

Canonical frontend design toolkit covering color palettes, CSS-to-Tailwind conversion, and 16 reusable HTML, SVG, and Vercel templates.

tools
12
transport
STDIO
last updated
Nov 19, 2026
View on GitHub

What it does

  • Generates palettes with generate_color_palette and generate_responsive_breakpoints, and converts CSS with css_to_tailwind and generate_css_variables_from_figma
  • Retrieves starter code with get_canonical_template and list_canonical_templates, and queries 48 curated rules with query_design_rules plus provenance tools
  • Requires Node.js 22 or later and a local Ollama instance for the two LLM-assisted tools, analyze_layout_structure and generate_component_styles
  • Designed for developers and coding agents that need consistent styling, WCAG-aware color choices, and design rule lookups during frontend work

Tools

12 tools

Public tool metadata for what this MCP can expose to an agent.

generate_color_paletteHSL math palette generation from a base hex code with WCAG contrast scoring

HSL math palette generation from a base hex code with WCAG contrast scoring

No parameter schema in public metadata yet.

css_to_tailwindAST-based CSS → Tailwind class mapping (~230 entries + shorthand expansion)

AST-based CSS → Tailwind class mapping (~230 entries + shorthand expansion)

No parameter schema in public metadata yet.

generate_css_variables_from_figmaParse Figma JSON tokens into a CSS `:root` block with custom properties

Parse Figma JSON tokens into a CSS `:root` block with custom properties

No parameter schema in public metadata yet.

generate_responsive_breakpointsCSS media query generation with customizable breakpoint widths

CSS media query generation with customizable breakpoint widths

No parameter schema in public metadata yet.

get_canonical_templateRetrieve 16 authoritative HTML/SVG, Vercel Next.js/Edge, & `@krusch/toolkit` Lego templates

Retrieve 16 authoritative HTML/SVG, Vercel Next.js/Edge, & `@krusch/toolkit` Lego templates

No parameter schema in public metadata yet.

list_canonical_templatesList all 16 available canonical HTML/SVG brand primitives, Vercel bricks, and Lego code starter templates

List all 16 available canonical HTML/SVG brand primitives, Vercel bricks, and Lego code starter templates

No parameter schema in public metadata yet.

ingest_figma_tokensEmbed and store Figma JSON tokens in the vector database

Embed and store Figma JSON tokens in the vector database

No parameter schema in public metadata yet.

query_design_rulesHybrid semantic + lexical `BM25` search over 48 curated design rules with optional paradigm filter

Hybrid semantic + lexical `BM25` search over 48 curated design rules with optional paradigm filter

No parameter schema in public metadata yet.

frontend_get_provenanceTrace version history and provenance of a design rule or token in SQLite

Trace version history and provenance of a design rule or token in SQLite

No parameter schema in public metadata yet.

frontend_traverse_graphTraverse parent/child lineage graphs for frontend design rules

Traverse parent/child lineage graphs for frontend design rules

No parameter schema in public metadata yet.

analyze_layout_structureHTML → CSS layout analysis (Flexbox vs Grid recommendation)

HTML → CSS layout analysis (Flexbox vs Grid recommendation)

No parameter schema in public metadata yet.

generate_component_stylesRAG-enriched component style generation from natural language descriptions

RAG-enriched component style generation from natural language descriptions

No parameter schema in public metadata yet.

Readme

krusch-frontend-mcp banner

krusch-frontend-mcp

Give your AI agent a design eye — MCP tools for color theory, layout analysis, canonical component templates, and design system enforcement.

Node.js 22+ License: MIT MCP: 12 Tools Storage: sqlite-vec + FTS5 Tests: 48 Passed M8ven Score

AI-powered styling assistant MCP server that provides deterministic design utilities, canonical HTML/SVG/Vercel layout primitives, and Hybrid RAG-backed design rule retrieval for autonomous frontend development.

Features


View the full README on GitHub

Details

Repository
github.com/kruschdev/krusch-frontend-mcp
Categories
Design & UI/UX, Developer Tools
Package
krusch-frontend-mcp
Transport
STDIO
Registry
MCP registry, active

More from kruschdev

All 6

Similar to Krusch Frontend MCP

More Design & UI/UX