Better Design

by marvkr

Better Design is an open source Claude Design MCP server providing design intelligence and scaffold layers for AI coding agents to generate polished product interfaces from prompts. Requires external environment variables for DATABASE_URL (Neon Postgres) and GEMINI_API_KEY for design-system embeddings.

Developer toolsstdioCommunity

Repository-wide counts · Cached 2026-06-19

Overview

The Better Design MCP server is a publicly available project. Review the upstream repository for installation instructions, supported tools, compatibility, permissions, and current maintenance status.

Configuration

Configuration, transport, authentication, and runtime requirements vary by project. Open the repository before connecting and use the smallest set of credentials and permissions required.

Open the Better Design repository to read the latest documentation.

KEEP EXPLORING

Compare source, connection, and authentication details before choosing an implementation.

View the complete category

模型上下文协议服务器

modelcontextprotocol

Community

一组用于模型上下文协议(MCP)的参考实现,展示了对大型语言模型(LLM)工具和数据源的安全且受控的访问方式。

Context7 Platform - Up-to-date Code Docs For Any Prompt

upstash

Community

Context7 MCP server providing up-to-date, version-specific documentation and code examples for libraries, enabling coding agents to fetch accurate docs and code snippets. Requires an API key for higher rate limits, passed via CONTEXT7_API_KEY header.

Playwright MCP

Microsoft Corporation

Community

A Model Context Protocol (MCP) server that provides browser automation capabilities using Playwright. Enables LLMs to interact with web pages through structured accessibility snapshots, bypassing the need for screenshots or visually-tuned models.

AIHawk

feder-cr

Community

AIHawk is an anti detect browser and web browsing agent, open source, with an MCP server for coding agents: undetected, no captchas, no blocks. It requires an OpenRouter API key for the standalone web UI mode, which can be provided via the --openrouter-key flag or the OPENROUTER_API_KEY environment variable or a .env file in the running directory.

FROM THE SOURCE

Repository README

Build-time snapshot · Retrieved 2026-10-05

View original

Better Design: Open source Claude Design

Turn your AI coding IDE into a design engineer. Better Design works with MCP-compatible agents and editors like Claude Code, Cursor, VS Code/GitHub Copilot, Claude Desktop, and claude.ai. It is a design MCP server, AI design-system registry, and UI review layer for generating polished product interfaces from prompts.

Website · Design systems · Setup · Contributing

MCP server Claude Code Cursor GitHub Copilot AI design systems WCAG

What is Better Design?

Better Design gives AI coding agents the design context they usually miss: design tokens, component code, UI principles, icon direction, accessibility checks, and visual-design review rules.

Think of it as a Claude Design-style workflow for your own codebase:

  1. Pick the product direction: Linear, Supabase, Vercel, Airbnb, Stripe, Apple, Notion, Figma, or another curated design system.
  2. Feed your AI agent the right globals.css, semantic tokens, component overrides, icon set, spacing, typography, shadows, radius, and motion language.
  3. Ask Claude Code, Cursor, VS Code/GitHub Copilot, Claude Desktop, claude.ai, or another MCP-compatible coding agent to build the interface.
  4. Have the MCP review the output against accessibility and design principles before you ship it.

Instead of "AI-looking UI," you get interfaces that look like they were built from a real product design system.

Why Better Design?

  • Claude Design-style workflow, open MCP. Bring the artifact-first design loop people expect from Claude Design into Claude Code, Cursor, VS Code/GitHub Copilot, Claude Desktop, claude.ai, and any MCP-compatible client.
  • Design systems, not vague vibes. Each system includes semantic CSS tokens plus production component code, so generated UI uses real implementation details instead of guessed colors.
  • AI UI generation with guardrails. The MCP can load principles for hierarchy, spacing, typography, depth, motion, forms, and accessibility exactly when the agent needs them.
  • Self-review before handoff. get-review-rules gives your agent a WCAG and visual-design checklist so it can catch missing focus states, weak hierarchy, bad contrast, and inconsistent spacing.

How it works

Better Design has two layers: an always-on Design Intelligence layer and an on-demand Scaffold layer.

Design Intelligence — always active for UI work

When your agent builds UI, Better Design loads the relevant product-design principles and review rules automatically:

You: "Add a settings page with a form"

AI: calls get-ui-principle("spacing") + get-ui-principle("hierarchy")
 → writes the page
 → calls get-review-rules("accessibility") + get-review-rules("visual-design")
 → fixes contrast, labels, focus states, spacing, and hierarchy

Scaffold — design-system matching for new UI

When starting a product, page, or component set, say "use better-design" and the MCP finds a matching design system:

You: "Build a fintech dashboard in the style of Stripe. use better-design"

AI: calls resolve-design-system("fintech dashboard, Stripe")
 → loads design-system docs, CSS tokens, and component code
 → resolves a matching icon library
 → builds with semantic tokens instead of raw colors

What the MCP gives your agent

Tool What it does Why it matters
resolve-design-system Semantically matches the right design system for a prompt Stops agents from guessing a visual direction
get-design-system-docs Loads tokens, components, usage notes, and install context Gives the agent implementation-ready design context
get-ui-principle Fetches focused guidance for hierarchy, spacing, typography, depth, motion, forms, and more Makes UI decisions principled instead of random
get-review-rules Returns accessibility and visual-design review checklists Helps the agent critique and fix its own output
resolve-icon-library Picks an icon family that matches the design personality Keeps icon style consistent with the UI
search-icons Finds specific icons through Iconify Speeds up implementation without mixing icon styles

Available Design Systems

31 open-source design systems for shadcn/ui. Browse and preview them all at better-design.com.

System Theme Vibe Best For
Linear Dark Minimal, professional, purple accents Developer tools, productivity apps
Linear Quality Dark Precision-crafted, multi-layer shadows High-polish developer tools
Supabase Dark Technical, modern, green accents Backend dashboards, dev portals
Vercel Dark Pure black, Geist font, minimal Deployment, developer platforms
Airbnb Light Warm, friendly, coral primary Marketplaces, consumer apps
Notion Light Minimal, flat blue, rgba shadow Productivity, note-taking apps
Stripe Light Fintech, indigo accents, premium shadows Payments, financial products
Apple Light Premium, SF Pro, pill buttons Consumer apps, marketing sites
Figma Light Design tool, electric violet, purple glow Design/creative tooling
Light Marketplace Light Charcoal buttons, flat cards, no shadows E-commerce, listings
Precision Light Light Charcoal primary, precision layered shadows B2B SaaS, enterprise
Minimal Light Light Black primary, no shadows, border-only cards Clean utilities, productivity
Dark Orange Dark Brand orange, 10px radius, layered shadows Modern SaaS, dashboards
Vibrant Dark Dark Vibrant blue, color-bloom shadows Consumer apps, social
Neutral Monochrome Dark White on near-black, no color Understated, data-heavy tools
Cinematic Dark Dark Ultra-dark, content-first media Streaming, media platforms
Editorial Dark Dark Serif display, flat, content-first Publishing, editorial
Corporate Fintech Light Blue accents, data-dense layouts Banking, enterprise, fintech
Beam Custom Dark Custom beam aesthetic Custom applications
Beam Lib Dark Library-style beam theme Component libraries
Glassmorphic Dark Dark Glass layers, blur, frosted UI Modern dashboards, SaaS
Inset Dark Dark Inset shadows, recessed elements Data-dense, analytical tools
Lumen Dark Dark Glow accents, luminous depth Creative tools, media apps
Metal FX Gold Dark Gold metallic surfaces Premium, luxury products
Metal FX Silver Dark Silver metallic surfaces Tech, hardware products
Metal FX Chromatic Dark Chromatic shift, iridescent Cutting-edge, bold brands
Midnight Glass Dark Deep midnight, glass panels Dashboards, analytics
Monochrome Industrial Dark Industrial grays, utilitarian Developer tools, CLIs
Pillow Light Light Soft shadows, rounded comfort Consumer, lifestyle apps
Tactile Minimal Light Tactile depth, minimal color Productivity, focus tools
TV Style Dark Cinematic, large-format TV UI Media, streaming, TV apps

Each design system includes a full globals.css token layer plus component overrides. Install any component into your shadcn/ui project:

npx shadcn@latest add https://www.better-design.com/registry/<design-system>/<component>.json

Example — install Linear's button:

npx shadcn@latest add https://www.better-design.com/registry/linear/button.json

Or grab all 9 transitions.dev ports at once (notification-badge, menu-dropdown, panel-reveal, card-resize, icon-swap, text-swap, modal-transition, page-slide, number-pop-in):

npx shadcn@latest add https://www.better-design.com/registry/linear/transitions.json

The transitions come from one source, scripts/transitions-src/. After you edit it, run node scripts/generate-transitions.mjs to rewrite every design system, then run the tests:

cd tests && bun install && bun run test

Usage examples

Once connected to your MCP client, ask your agent for design help directly:

"Use better-design. Build a Linear-style project settings page with billing, team members, and API keys."

"Find a design system for a developer tools startup, then build the dashboard with matching components."

"Review this form with Better Design's accessibility and visual-design rules, then fix the issues."

Setup

Install the Better Design agent skill, then connect its MCP tools:

npx skills add marvkr/better-design --skill better-design
npx better-design

Run each command once, then restart your coding agent. The skill tells supported agents when to use Better Design. The installer detects your coding tools and connects the MCP without replacing their existing configuration. No account is required.

Connect via Remote MCP manually

Connect any MCP-compatible client to the hosted endpoint — no local setup needed.

  1. Go to better-design.com/settings to get an API key.
  2. Add the remote MCP to your client config:
{
  "mcpServers": {
    "better-design": {
      "url": "https://better-design.com/api/mcp",
      "headers": { "Authorization": "Bearer YOUR_API_KEY" }
    }
  }
}

Connect via Claude Desktop (remote MCP)

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "better-design": {
      "url": "https://better-design.com/api/mcp",
      "headers": { "Authorization": "Bearer YOUR_API_KEY" }
    }
  }
}

Restart Claude Desktop. You can now ask Claude to use Better Design while building UI.

Project Structure

better-design/
├── components/          # Per-theme shadcn/ui component overrides
│   ├── linear/
│   ├── apple/
│   ├── stripe/
│   └── ...              # 31 systems total
├── registry/            # shadcn registry JSON for each design system
│   ├── linear/
│   ├── apple/
│   └── ...
├── scripts/             # Build and seed scripts
├── skills/              # Installable Better Design agent skill
├── .agents/             # Other installed agent skills
└── README.md

Contributing

To add a new design system:

  1. Create a folder in components/<your-system>/ with component TSX overrides.
  2. Create the corresponding registry entries in registry/<your-system>/.
  3. Run the seed script to index the new system.

Design nuances live in the components, not just CSS variables — shadow layers, focus states, border thickness, hover transitions, and radius variations by context all need to be captured in component code.

License

MIT