designmd-forge

v2.1.0
designmd-forge Checked 3 days ago Published 19 days ago

Free, offline MCP server for browsing/searching/fetching DESIGN.md design-system specs (colors, typography, components, motion), searching component groups…

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

designmd_list_categories List DESIGN.md Categories

List every category present in the local DESIGN.md collection, with a count of designs in each. This is a read-only tool. Call it first if you don't know what categories exist (e.g. "Fintech & Crypto", "Automotive", "AI & LLM Platforms", "Mobile") before filtering designmd_list_designs or designmd_search_designs by category. The "Mobile" category holds the TrustOtc mobile archetypes. Args: - platform (web|mobile, optional): restrict the listing to one platform's categories. Omit for all. Returns: JSON with schema: { "source": string, // primary (web) upstream repo URL…

ParameterTypeDescription
platformstringOptional platform to restrict the category listing to: 'web' or 'mobile'. Omit for both.

designmd_list_designs List All DESIGN.md Files

List every design system available in the local DESIGN.md collection, optionally filtered by category. Each entry includes a title, slug, category, and a one-line description — enough to browse and pick candidates before calling designmd_get_design_md for the full file. Does NOT return full DESIGN.md content (use designmd_get_design_md for that). Data comes from a local snapshot of VoltAgent/awesome-design-md (MIT licensed). These are reverse-engineered design tokens (colors, type, spacing, components) extracted from publicly visible CSS — no logos, trademarks, or copyrighted imagery are…

ParameterTypeDescription
categorystringOptional exact category name to filter by (see designmd_list_categories for valid values, e.g. 'Fintech & Crypto' or 'Mobile').
platformstringOptional platform to filter by: 'web' (VoltAgent desktop design systems) or 'mobile' (TrustOtc mobile archetypes). Omit for both.
sourcestringOptional provenance filter: 'adelpro' for entries authored in-repo for the maintainer's own projects, 'upstream' for entries derived from the upstream MIT collections. Omit for all.

designmd_search_designs Search DESIGN.md Files

Search the local DESIGN.md collection by free-text query against title, slug, category, and description text. This is metadata search, not full-text search: it does NOT search the markdown bodies, sections, or ### component sub-groups inside a DESIGN.md. There is no cross-design "find every design with a footer/menu" query — shortlist products here, then call designmd_get_design_md on each candidate with section: "components", component: "footer" (or "navigation", "header") to read that region. Use this when you have a vibe/keyword in mind ("dark cinematic AI product", "warm editorial seri…

ParameterTypeDescription
brandstringOptional brand key: returns every collection a brand appears in as separate rows (brand 'spotify' → spotify plus ios-spotify). Use the brand value returned in results.
categorystringOptional exact category name to restrict the search to.
huestringOptional accent hue family derived from the declared colors (red, orange, yellow, green, teal, blue, purple, pink, neutral). Prose-only designs cannot match a hue filter.
limitintegerMaximum number of results to return (default 10, max 50).
modestringOptional palette mode. 'dark' means dark-compatible (dark or dual-mode) and never returns a light-only design. Derived from frontmatter tokens, so it covers only the designs that declare them — see…
platformstringOptional platform to restrict the search to: 'web' or 'mobile'. Omit for both.
querystringFree-text search terms matched against each design's title, slug, category, and description (e.g. 'dark fintech dashboard', 'warm minimal serif', 'automotive luxury black', 'mobile dark pro tool'). Me…
sourcestringOptional provenance filter: 'adelpro' for entries authored in-repo for the maintainer's own projects, 'upstream' for entries derived from the upstream MIT collections. Omit for all.

designmd_get_design_md Get Full DESIGN.md File

Fetch DESIGN.md content for one design system by slug — either the full file, or (with the optional "section" param) just one section. The returned file follows the Stitch DESIGN.md format: visual theme, color palette with hex values, typography hierarchy, component styling (buttons, cards, inputs, nav), layout/spacing principles, depth/elevation, do's and don'ts, responsive behavior, and an agent prompt guide. Content is sourced from local snapshots of VoltAgent/awesome-design-md (web), TrustOtc/awesome-mobile-design-md (mobile archetypes), and Meliwat/awesome-ios-design-md (iOS app system…

ParameterTypeDescription
slug *stringThe exact slug of the design to fetch, as returned by designmd_list_designs or designmd_search_designs (e.g. 'stripe', 'ios-spotify', 'midnight-pro').
componentstringOptional: fetch just ONE '### ' sub-group instead of a whole section — e.g. 'navigation', 'buttons', 'cards', 'inputs'. Searches inside the section named by 'section' (default 'components', the Comp…
flavorstringOptional: fetch a paste-ready framework implementation instead of the neutral spec. One of: swiftui, expo, android. Available when the entry declares that flavour — every iOS design ships all three,…
sectionstringOptional: fetch only one section instead of the whole file. One of: overview, colors, typography, layout, elevation, shapes, components, dos_and_donts, responsive, iteration_guide, known_gaps, agent_p…
themestringOptional: fetch one official theme of a system that ships variants, as a DELTA — palette, type pairing and what changes, without repeating the parent's components or guardrails (e.g. 'butter', 'goth…

designmd_get_guardrails Get Design Guardrails (Do's and Don'ts)

Fetch ONLY the "Do's and Don'ts" section for one design system — the behavioral rules, not the color/typography/spacing token values. Why this exists: color hex codes and type scales tell an agent WHAT the values are, but not HOW to use them. In practice, agents given only tokens tend to make token-correct but decision-wrong choices — e.g. applying a brand accent color as a background tint on every info banner, or giving every card component the same shadow weight regardless of hierarchy. The Do's and Don'ts section is where a DESIGN.md file encodes exactly those usage rules and anti-patt…

ParameterTypeDescription
slug *stringThe exact slug of the design, as returned by designmd_list_designs or designmd_search_designs (e.g. 'stripe', 'linear.app', 'tesla').

designmd_lint Lint a DESIGN.md File

Validate a DESIGN.md file for structural correctness using the official @google/design.md linter (the same tool the format's spec maintainers publish). Checks include: YAML frontmatter presence and shape, orphaned tokens (colors/typography/etc. defined but never referenced by any component), and other structural issues. This validates STRUCTURE only — it cannot tell you whether your prose is specific enough or whether your Do's and Don'ts section actually covers your product's real failure modes. Pair this with designmd_get_authoring_guide for that. Use this on a DESIGN.md you're drafting…

ParameterTypeDescription
contentstringRaw DESIGN.md markdown content to lint (e.g. a file you're drafting for your own product). Provide this OR slug, not both.
slugstringSlug of a bundled reference design to lint instead of arbitrary content (e.g. 'stripe'). Provide this OR content, not both.

designmd_diff Diff Two DESIGN.md Files

Compare two DESIGN.md documents with the official @google/design.md CLI's diff command. It diffs declared design tokens (colors, typography, rounded, spacing, components) and reports a "regression" flag — whether the after file introduced a token regression compared to before. Use it to spot changes between a draft and the version you're building on, or to check that an edit didn't silently lose a token. Each side (before and after) is given EITHER as raw "content" markdown (a file you're drafting) OR a bundled "slug" (e.g. 'stripe'). Mixing is fine: compare a bundled reference against you…

ParameterTypeDescription
after *The changed DESIGN.md side (after).
before *objectThe baseline DESIGN.md side (before).

designmd_get_authoring_guide Get DESIGN.md Authoring Guide

Fetch a condensed, field-tested guide on WRITING a DESIGN.md file's prose sections — not fetching an existing one. Covers: why token-only DESIGN.md files under-perform, which sections tend to carry most of the improvement (Overview, Colors, Do's and Don'ts), concrete prose-writing principles (specificity, negative constraints, edge-case coverage, conciseness), a recommended draft-then-refine process, and known format limitations. This is reference material for a human or agent about to draft or improve a DESIGN.md for their OWN product — it does not fetch any of the bundled example design…

designmd_scaffold_template Scaffold a New DESIGN.md Template

Generate a fill-in-the-blank DESIGN.md skeleton for a NEW file, structured around the three sections that tend to matter most (Overview, Colors, Do's and Don'ts) with inline prompts guiding what to write in each — rather than a bare empty section list. This is a starting scaffold, not a finished file: the YAML token block is a stub you fill in with your own real values, and the prose comments are prompts, not filler — replace them with your product's actual answers. Pair with designmd_get_authoring_guide for the reasoning behind why the scaffold is shaped this way, and designmd_lint once…

ParameterTypeDescription
product_namestringName to use in the scaffold's placeholder comments (default: 'Your Product').

designmd_search_sections Search Component Groups Across Designs

Find component groups across the WHOLE collection — "footers with social links", "3D or hover buttons", "navigation with a drawer" — which designmd_search_designs cannot answer (it only searches titles and descriptions). Results are ranked prose excerpts with derived facets, not components: you read three footers, then write your own against your tokens. An unstated facet is absent, not false. Args: - group (optional): footer, buttons, cards, navigation, header, inputs, modals, tables, tabs, badges, avatars, icons, lists, empty_states, or the motion groups. - section (optional): cano…

ParameterTypeDescription
groupstringOptional component group to search within: 'footer', 'buttons', 'cards', 'navigation', 'header', 'inputs', 'modals', 'tables', 'tabs', 'badges', 'avatars', 'icons', 'lists', 'empty_states', or the mot…
hasarrayOptional facet filter: every entry must appear in the group's derived items, states or traits (e.g. ['social'], ['sticky'], ['hover']).
limitintegerMaximum results (default 10, max 50).
platformstringOptional source platform filter: web, mobile, ios or shadcn.
positionstringOptional derived position of the region (footers and headers only).
sectionstringOptional canonical section to restrict to. Component groups live in 'components' (the default when you pass a group) and motion groups in 'motion'. Passing a group that cannot exist in that section re…
textstringFree-text terms matched inside the group's prose, expanded through a synonym map (e.g. 'hamburger' also searches 'menu button', 'drawer', 'bottom bar'; '3d' also searches 'bevel', 'raised'). Omit to l…

designmd_list_themes List Official Design-System Themes

List themes a system actually SHIPS as variants — today Astryx's seven (butter, chocolate, gothic, matcha, neutral, stone, y2k). Not a corpus-wide palette search: the other designs are single-look systems, searched with designmd_search_designs (mode, hue). Fetch one with designmd_get_design_md({ slug, theme }) to get a delta, not a copy of the parent. Args: - brand (optional): only brands with official variants return rows (astryx). - mode (optional): light+dark | dark-only | light-only. - hue (optional): accent hue family of the theme palette. - kind (optional): mood | style | col…

ParameterTypeDescription
brandstringOptional brand key: only systems that ship official variants have themes (today: astryx). A brand without themes returns an empty list plus a note, never a guess.
huestringOptional accent hue family of the theme palette (neutral themes use an ink accent, so they read as neutral).
kindstringOptional theme kind: 'mood' (a full visual mood, e.g. Astryx), 'style' or 'color' (a variant axis).
limitintegerMaximum results (default 20).
modestringOptional mode filter: 'light+dark' for dual-mode themes, 'dark-only' for Gothic-style themes.
typeClassstringOptional display-type class: serif, sans, script, mono or mixed. Describes the DISPLAY face, which is what carries a theme's character.