High-performance code intelligence MCP server. Indexes codebases into a persistent knowledge graph — average repo in milliseconds. 158 languages, sub-ms queries, 99% fewer tokens. Single static binary, zero dependencies.
Design MCP server and shadcn registry for agents
Better Design adds design context to MCP-compatible coding agents: themes, semantic tokens, component overrides, icon choices, and review rules. It can also match a design system to a prompt, then load the right docs and assets so the agent builds with a specific visual language.
Builders who want Claude Code, Cursor, Codex, or Copilot to follow a real design system while they build UI.
You can ask your agent to build and review interfaces in a specific design style instead of guessing colors, spacing, and hierarchy.
What it does
Design system matching
`resolve-design-system` picks a design system from a prompt like Linear, Stripe, Vercel, or Notion.
Design docs and tokens
`get-design-system-docs` loads CSS tokens, component notes, and install context for the chosen system.
UI principle lookup
`get-ui-principle` returns focused guidance for spacing, hierarchy, typography, depth, motion, and forms.
Accessibility and visual review
`get-review-rules` gives WCAG and visual-design checklists so the agent can fix issues before handoff.
Icon library matching
`resolve-icon-library` and `search-icons` help the agent choose and find icons that fit the design system.
31 themed component sets
The registry includes themed shadcn/ui component overrides for systems like Linear, Stripe, Apple, Supabase, and Figma.
How to get it
- 1Once 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."
- 2Install the Better Design agent skill, then connect its MCP tools
npx skills add marvkr/better-design --skill better-design npx better-design
README
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
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:
- Pick the product direction: Linear, Supabase, Vercel, Airbnb, Stripe, Apple, Notion, Figma, or another curated design system.
- Feed your AI agent the right
globals.css, semantic tokens, component overrides, icon set, spacing, typography, shadows, radius, and motion language. - Ask Claude Code, Cursor, VS Code/GitHub Copilot, Claude Desktop, claude.ai, or another MCP-compatible coding agent to build the interface.
- 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-rulesgives 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
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.
- Go to better-design.com/settings to get an API key.
- 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:
- Create a folder in
components/<your-system>/with component TSX overrides. - Create the corresponding registry entries in
registry/<your-system>/. - 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
Files in the repo
- .agents
- components
- registry
- scripts
- skills
- .gitignore
- LICENSE
- README.md
- skills-lock.json
Discussion (0)
Ask about usage, or say what you built with itSign in to join the discussion.
No comments yet. Be the first to say what this is good for.
More connectors

Universal provider proxy for OpenAI Codex & Claude Code — use any LLM (Claude, Gemini, Grok, DeepSeek, Ollama…) with Codex CLI, App, SDK, and Claude Code
Git-native persistent memory for AI coding agents. Implements Google OKF v0.2 with sub-300µs in-memory BM25 search, embedded MCP server, and progressive disclosure. Slashes token bloat by 80% with zero external databases or dependencies. Built in pure Go.
Local-first code intelligence graph for MCP and CLI. Builds a persistent map of your codebase so AI coding tools read only what matters, with benchmarked context reductions on reviews and large-repo workflows.
Stop your AI from making things up — it proposes, deterministic tools decide, every claim checked against ground truth with evidence. Grounded facts and context survive resets. Reverse engineering is the proving ground. MCP server + CLI.
20 MB lightweight cross-platform database client for 90+ databases, including MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server, and Dameng. Built-in AI, MCP Server, CLI, desktop and Docker. | 轻量级跨平台数据库管理工具,支持 MySQL、PostgreSQL、SQLite、Redis、MongoDB、达梦等 90+ 数据库,提供桌面端、Docker、CLI、内置 AI 助手和 MCP Server。