design-dna-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@design-dna-mcpfind monospace technical labels"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Extract the design DNA of any website — a searchable library of reusable UI patterns, built for Claude.
One crawl_website call on linear.app — full-page capture, 8-color palette, typefaces, spacing scale, 167 motion rules, and the component candidates that come out of it.
Design galleries (Godly, Awwwards, Minimal Gallery…) are great sources of ideas but poor databases. You bookmark a site because you liked one thing about it — a navigation treatment, a spacing system, a hover animation — and then you can never find it again.
This MCP server fixes that. Point it at any website and it:
Captures the design evidence with Playwright — screenshots, DOM, computed styles, font hierarchy, color palette, spacing scale, and declared CSS motion
Decomposes it with Claude into reusable design components ("Numbered section index (x.x labels)", "Image reveal hover", "Pill-shaped primary CTA") with category, description, style tags, and metadata
Stores the components you choose to keep in a local SQLite library with vector embeddings
Answers natural-language queries from any MCP client: "find sticky editorial navigation", "monospace technical labels", "sites like a technical product page"
The unit of knowledge is the component, not the website. A website is only evidence.
Example
> crawl_website("https://linear.app")
capture 1 · 9 screenshots · palette #f7f8f8/#0f1011/… · Inter Variable + Berkeley Mono · 167 motion rules
> extract_components(captureId: 1)
[navigation] Dark minimal top navigation — minimal, dark, swiss, saas
[typography] Monospace inline code tag — monospace, technical, terminal
[diagram] Numbered technical figure diagrams — technical, blueprint, isometric
[number-treatment] Numbered section index (x.x labels) — technical, monospace, editorial
[motion] Animated grid-dot background pattern — technical, ambient, blueprint
… 18 candidates
> save_component(captureId: 1, saveAll: true)
> find_components("monospace technical labels")
0.62 [typography] Monospace inline code tag https://linear.app/
0.61 [number-treatment] Numbered section index (x.x labels) https://linear.app/Related MCP server: UI Analyzer MCP Server
Tools
Tool | What it does |
| Playwright capture: full-page + section screenshots, DOM, styles, fonts, palette, spacing scale, CSS motion. Versioned per crawl. No API cost. |
| One Claude vision call decomposes a capture into component candidates. Candidates are cached, not auto-saved — you curate. |
| Persists components to the library with a Voyage embedding. Upserts on (sourceUrl, name). |
| Semantic search with optional category/tag/theme/sourceUrl filters. |
| Same index grouped by source website — the "sites like this" view. |
| Health check + library size. |
Setup
Requires Node 20+ and API keys for Anthropic (analysis) and Voyage AI (embeddings).
git clone https://github.com/olartgabo/design-dna-mcp.git
cd design-dna-mcp
npm install
npx playwright install chromium # one-time browser download
npm run buildIf npm blocks install scripts, approve the native builds once:
npm install-scripts approve better-sqlite3
npm install-scripts approve esbuild
npm rebuild better-sqlite3 esbuildRegister in Claude Code
The most reliable way on any platform (use -s user to enable it in all your projects):
claude mcp add-json design-dna -s user '{"command":"node","args":["/absolute/path/to/design-dna-mcp/dist/index.js"],"env":{"ANTHROPIC_API_KEY":"sk-ant-...","VOYAGE_API_KEY":"pa-..."}}'Register in Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"design-dna": {
"command": "node",
"args": ["/absolute/path/to/design-dna-mcp/dist/index.js"],
"env": {
"ANTHROPIC_API_KEY": "sk-ant-...",
"VOYAGE_API_KEY": "pa-..."
}
}
}
}Environment variables
Variable | Required | Default | Purpose |
| for | — | Claude vision analysis |
| for save/search | — | Embeddings |
| no |
| SQLite DB + screenshots |
| no |
| Analysis model |
| no |
| Embedding model |
The server starts fine without keys — tools that need a missing key fail per-call with a clear error naming the variable. The library is shared across all your projects (it lives in the data dir, not the repo).
This project was previously named design-research-mcp. The old DESIGN_RESEARCH_* variables still work, and an existing ~/.design-research-mcp library is adopted in place — no migration needed.
How it works
website ─→ Playwright ─→ capture (screenshots · DOM · styles.json · css/)
│
▼
distiller (size-capped JSON + ≤6 images)
│
▼
Claude (one vision call, forced tool-use schema)
│
▼
candidates (cached, human-curated)
│ save_component
▼
SQLite + sqlite-vec (cosine) + Voyage embeddings
│
▼
find_components / search_designs (MCP)Design decisions worth knowing:
Bounded AI cost — extraction is one Claude call per site (distilled data + a handful of images), never per-element calls.
Curation over hoarding — extraction produces candidates; only what you save becomes searchable.
saveAllexists when you want everything.Everything local — SQLite + sqlite-vec in a single file, screenshots on disk. No Postgres, no S3, no services.
Large payloads stay on disk — tool results carry paths and compact summaries, never base64 blobs.
Cost & rate limits
crawl_websiteis free (local Playwright).extract_components≈ oneclaude-sonnet-5call with ~5–10K input tokens + up to 6 images per site.Embeddings are tiny Voyage calls per save/search — effectively negligible.
Voyage's free tier allows ~3 requests/minute; the client retries with long backoff (up to ~70s), so rapid-fire searches feel slow until you add billing to the Voyage account.
Verified with MCPJam
Every tool in this server was exercised over a real stdio transport with MCPJam — schema validation, handshake, and live tool calls — not just unit tests. Reproduce it yourself:
npx @mcpjam/cli tools list --transport stdio --command node --args dist/index.js
npx @mcpjam/cli server doctor --transport stdio --command node --args dist/index.js
npx @mcpjam/cli tools call --transport stdio --command node --args dist/index.js \
--tool-name crawl_website --tool-args '{"url": "https://example.com"}'Development
npm test # 51 offline tests (vitest) — local fixture site, no API keys needed
npm run dev # run from source via tsx
node scripts/try-crawl.mjs https://linear.app # crawl real sites (no keys needed)
node scripts/e2e.mjs https://linear.app # full live loop (needs both keys)
node scripts/mcp-smoke.mjs # stdio round-trip smoke testBuilt spec-first. The full trail — requirements → design → tasks, with the verification sweep — lives in .claude/specs/design-dna-mcp/, and the original product vision is in docs/VISION.md.
Roadmap (v2)
classify_design(url)— style confidence scores (editorial 92%, swiss 85%, …)compare_designs(url1, url2)— shared vs unique patternsrecommend_components(project_description)— "I'm building a dark editorial portfolio" → curated component setsInteraction recording — hover/scroll capture with measured easing, duration, stagger
FTS5 hybrid search, gallery-site ingestion helpers
License
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseAqualityDmaintenanceEnables Claude Code to capture and analyze web page screenshots, responsive layouts, and page metadata using Puppeteer. It allows developers to perform visual UI inspections and compare designs across various viewports directly within the terminal.3
- Alicense-qualityDmaintenanceAnalyzes website UIs using Playwright and provides precise CSS/HTML fix instructions for AI coding assistants like GitHub Copilot and Cursor.4MIT
- AlicenseAqualityDmaintenanceEnables AI agents to understand web page structure and content through structured data extraction and element discovery using Playwright, eliminating the need for screenshots.49MIT
- Alicense-qualityDmaintenanceGives Claude the ability to inspect and extract UI components from any webpage through a Chrome extension, enabling element discovery, style extraction, and design token analysis.MIT
Related MCP Connectors
AI-powered browser automation — navigate, click, fill forms, and extract data from any website.
Turn any live website into brand colors, fonts, design tokens, SVGs, Lottie and paste-ready code.
UI design from prompts, screenshots, and URLs for AI coding agents and theme tokens.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/olartgabo/design-dna-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server