
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
Extract a website's design system into design tokens in a few seconds: logo, colors, typography, borders, and more. One command.

Install globally: npm install -g dembrandt
dembrandt example.com
Or use npx without installing: npx dembrandt example.com
Requires Node.js 18+
Use Dembrandt as a tool in Claude Code, Cursor, Windsurf, or any MCP-compatible client. Ask your agent to "extract the color palette from example.com" and it calls Dembrandt automatically.
claude mcp add --transport stdio dembrandt -- npx -y dembrandt-mcp
Or add to your project's .mcp.json:
{
"mcpServers": {
"dembrandt": {
"command": "npx",
"args": ["-y", "dembrandt-mcp"]
}
}
}
7 tools available: get_design_tokens, get_color_palette, get_typography, get_component_styles, get_surfaces, get_spacing, get_brand_identity.
dembrandt <url> # Basic extraction (terminal display only)
dembrandt example.com --json-only # Output raw JSON to terminal (no formatted display, no file save)
dembrandt example.com --save-output # Save JSON to output/example.com/YYYY-MM-DDTHH-MM-SS.json
dembrandt example.com --dtcg # Export in W3C Design Tokens (DTCG) format (auto-saves as .tokens.json)
dembrandt example.com --dark-mode # Extract colors from dark mode variant
dembrandt example.com --mobile # Use mobile viewport (390x844) for responsive analysis
dembrandt example.com --slow # 3x longer timeouts (24s hydration) for JavaScript-heavy sites
dembrandt example.com --brand-guide # Generate a brand guide PDF
dembrandt example.com --design-md # Generate a DESIGN.md file for AI agents
dembrandt example.com --pages 5 # Analyze 5 pages (homepage + 4 discovered pages), merges results
dembrandt example.com --sitemap # Discover pages from sitemap.xml instead of DOM links
dembrandt example.com --pages 10 --sitemap # Combine: up to 10 pages discovered via sitemap
dembrandt example.com --no-sandbox # Disable Chromium sandbox (required for Docker/CI)
dembrandt example.com --browser=firefox # Use Firefox instead of Chromium (better for Cloudflare bypass)
Default: formatted terminal display only. Use --save-output to persist results as JSON files. Browser automatically retries in visible mode if headless extraction fails.
Analyze multiple pages to get a more complete picture of a site's design system. Results are merged into a single unified output with cross-page confidence boosting — tokens appearing on multiple pages get higher confidence scores.
# Analyze homepage + 4 auto-discovered pages (default: 5 total)
dembrandt example.com --pages 5
# Use sitemap.xml for page discovery instead of DOM link scraping
dembrandt example.com --sitemap
# Combine both: up to 10 pages from sitemap
dembrandt example.com --pages 10 --sitemap
Page discovery works two ways:
--sitemap): Parses sitemap.xml (checks robots.txt first), follows sitemapindex references, and scores URLs by importancePages are fetched sequentially with polite delays. Failed pages are skipped without aborting the run.
By default, dembrandt uses Chromium. If you encounter bot detection or timeouts (especially on sites behind Cloudflare), try Firefox which is often more successful at bypassing these protections:
# Use Firefox instead of Chromium
dembrandt example.com --browser=firefox
# Combine with other flags
dembrandt example.com --browser=firefox --save-output --dtcg
When to use Firefox:
Installation:
Firefox browser is installed automatically with npm install. If you need to install manually:
npx playwright install firefox
Use --dtcg to export in the standardized W3C Design Tokens Community Group format:
dembrandt example.com --dtcg
# Saves to: output/example.com/TIMESTAMP.tokens.json
The DTCG format is an industry-standard JSON schema that can be consumed by design tools and token transformation libraries like Style Dictionary.
Use --design-md to generate a DESIGN.md file — a plain-text design system document readable by AI agents.
dembrandt example.com --design-md
# Saves to: output/example.com/DESIGN.md
Use --brand-guide to generate a printable PDF summarizing the extracted design system — colors, typography, components, and logo on a single document.
dembrandt example.com --brand-guide
# Saves to: output/example.com/TIMESTAMP.brand-guide.pdf
Browse your extractions in a visual interface.
cd local-ui
npm install
npm start
Opens http://localhost:5173 with API on port 3002.
Extractions are performed via CLI (dembrandt <url> --save-output) and automatically appear in the UI.
Uses Playwright to render the page, reads computed styles from the DOM, analyzes color usage and confidence, groups similar typography, detects spacing patterns, and returns design tokens.
--dark-mode flag (not automatically detected)--mobile for 390x844 mobile viewport)Dembrandt reads publicly available CSS and computed styles from website DOMs for documentation, learning, and analysis of design systems you own or have permission to analyze.
Only run Dembrandt against sites whose Terms of Service permit automated access, or against your own properties. Do not use extracted material to reproduce third-party brand identities, logos, or trademarks. Respect robots.txt, rate limits, and copyright.
Dembrandt does not host, redistribute, or claim rights to any third-party brand assets.
Bugs, weird sites, pull requests — all welcome.
Open an Issue or PR.
@thevangelist
MIT — do whatever you want with it.
FAQs
Extract design tokens and publicly visible CSS information from any website
The npm package dembrandt receives a total of 13,334 weekly downloads. As such, dembrandt popularity was classified as popular.
We found that dembrandt demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.