Dembrandt

Design and media

Design tokens from any live site: colors, type, spacing, DTCG, Tailwind, drift checks.

Your AI app calls the Dembrandt MCP server, which does the design and media work and sends the result back to the chat.

About Dembrandt

Dembrandt is a community MCP server from dembrandt, filed in our directory under design and media. Design tokens from any live site: colors, type, spacing, DTCG, Tailwind, drift checks.

Dembrandt runs on your own machine: your AI app starts it with the command npx -y dembrandt@0.43.0 mcp and talks to it over standard input and output.

Dembrandt is listed in the official MCP registry as io.github.dembrandt/dembrandt, version 0.43.0.

At a glance

Publisher
dembrandt (community)
Runs
Locally on your machine
Install from
Node.js package on npm: dembrandt
Written in
TypeScript
License
MIT
GitHub stars
4,134
Official MCP registry
io.github.dembrandt/dembrandt

How to set up Dembrandt

  1. Install Node.js on the machine that runs your AI app, because Dembrandt starts with npx and downloads its package on first run.
  2. Check the Dembrandt README for keys or settings; the registry lists none that Dembrandt requires.
  3. Add Dembrandt to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Dembrandt tools to confirm the connection.
  5. Run one read-only task with Dembrandt first, and keep your app asking before each tool call until the results look right.

Dembrandt compared with similar servers

  • Feedback Enhanced by Minidoracat has fewer GitHub stars than Dembrandt (3.7k against 4.1k); both are community servers, and both run locally.
  • Davinci Resolve by samuelgursky has more GitHub stars than Dembrandt (4.6k against 4.1k); both are community servers, and both run locally.
  • KiCAD by mixelpixx has fewer GitHub stars than Dembrandt (3.7k against 4.1k); both are community servers, and both run locally.

Before you connect Dembrandt

  • Give Dembrandt its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Dembrandt tool call until you trust what it does with them.
  • Treat text that Dembrandt fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Dembrandt on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Dembrandt

How marketing and sales teams put Dembrandt to work, by company size. Pick the size closest to yours and start Dembrandt on one use case.

Small business

  • A small business can use Dembrandt to resize and adapt one design for every channel instead of hiring for each version.
  • Owners can ask Dembrandt to pull brand assets and make quick ad and social variations that still look on brand.
  • Dembrandt runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Creative teams can connect Dembrandt so agents produce variants for testing while designers keep control of the master files.
  • Marketing teams can use Dembrandt to hand off designs to web and ads with specs attached, cutting review rounds.
  • Start Dembrandt on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises can use Dembrandt with brand rules and approved assets only, so generated work stays inside the brand system.
  • Large creative ops teams can use Dembrandt to localize and version assets for many markets with review built in.
  • Dembrandt is a community server, so have security review the code and pin a version before Dembrandt touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Dembrandt README

From dembrandt/dembrandt on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

Dembrandt.

Extract any website's design system in one command. Enforce it in CI.

Logo, colors, typography, spacing, borders, shadows, motion, components. W3C design tokens in seconds.

Install

npm install -g dembrandt
dembrandt dembrandt.com

The first run downloads the matching Chromium once, into a shared Playwright cache. The MCP server does not: run npx dembrandt install-browser before its first extraction.

Or use npx without installing: npx dembrandt dembrandt.com.

Requires Node.js 20+

Or install the MCP server straight into your editor and let the agent run it:

What you get

  • Colors (semantic roles with the evidence behind each pick, curated palette, every detected colour, CSS variables, gradients)
  • Typography (fonts, sizes, weights, sources, font file URLs)
  • Spacing (margin/padding scales)
  • Borders (radius, widths, styles, colors)
  • Shadows
  • Motion (duration scale, easing curves, hover patterns per component type)
  • Components (buttons, badges, inputs, links)
  • Breakpoints
  • Icons & frameworks

Playwright renders the page, dembrandt reads computed styles from the DOM, analyzes color usage and confidence, groups similar typography, detects spacing patterns, and returns design tokens.

Flags

dembrandt dembrandt.com --shadcn        # shadcn/ui theme, observed slots only
dembrandt dembrandt.com --dtcg          # W3C design tokens, for Style Dictionary or Tokens Studio
dembrandt dembrandt.com --wcag          # WCAG 2.1 contrast on real DOM pairs

Default is formatted terminal output only. Every flag below; the detailed reference is docs/usage.md.

Export

Flag What you get
--dtcg W3C design tokens (DTCG)
--design-md DESIGN.md for AI agents
--tailwind [path] Tailwind v4 @theme CSS
--shadcn [path] shadcn/ui theme, observed slots only
--html [path] Self-contained HTML report
--brand-guide Brand guide PDF
--json-only Raw JSON to stdout
--save-output JSON to output/<domain>/
--screenshot <path> Viewport screenshot
--color-format <f> Colour notation: hex, rgb, oklch, lch, source
--raw-colors Pre-filter colours too

Analysis

Flag What you get
--wcag Contrast grades on real DOM pairs
--compare <baseline> Drift gate; exits 1 when tokens moved
--tokens <file> Check rendered colours, radii and font sizes against a W3C Design Tokens file; repeat for several
--max-off-token <n> With --tokens: exit 1 when more than N rendered values match no token
--tokens-report <path> With --tokens: Markdown summary with the nearest token per off-token value, wiki-ready
--annotations <github|azure> CI annotations for drift and off-token values; detected from the runner by default
--approve Accept the current run as the new baseline
--ai ML brand-primary prediction (experimental)

Coverage

Flag What you get
--crawl [n] Merge N pages, cross-page confidence
--sitemap Discover pages from sitemap.xml
--dark-mode The dark theme's tokens
--mobile Mobile viewport
--slow 3x timeouts for heavy sites
--browser <type> chromium or firefox; CDP via env
--no-sandbox For Docker and CI

Access

Flag What you get
--cookie <string> Reach pages behind a session
--cookie-file <path> JSON cookies, Playwright storageState (incl. localStorage and the sessionStorage block --save-storage-state adds), or Netscape cookies.txt
--basic-auth <user:pass> HTTP Basic for the requested site, with or without www, and its https upgrade
--login Open a visible browser to sign in; press Enter when ready, then extract (interactive terminal only)
--save-storage-state <path> With --login, save the signed-in session (cookies, localStorage, sessionStorage) to a file; reuse it later with --cookie-file, also in CI
--header <string> Extra request header for the requested site only, repeat for several. Not sent by service workers, popups or WebSockets, nor in Firefox by streams, media or redirects other than the requested URL's own; Firefox also holds each response in memory
--no-headed-fallback Never open a visible browser on a failed navigation; for batch runs
--user-agent <string> Custom user agent
--locale <string> Locale for the fingerprint
--timezone <string> Timezone for the fingerprint
--accept-language <s> Accept-Language header
--screen-size <WxH> Reported screen resolution
--stealth Anti-detection; authorized use only
--key <string> Sync runs to your account

Catch design drift in CI

Extract a preview deployment, compare against a committed baseline, fail the job when tokens moved:

- uses: dembrandt/dembrandt@v0.43.0
  with:
    url: https://preview.example.com
    baseline: .dembrandt/baseline.json

The action is on the GitHub Marketplace and annotates the PR with the drifted tokens. On any other runner the gate is just an exit code plus JSON: dembrandt URL --compare baseline.json --json-only exits 1 on drift and prints per-token changes[]. See docs/ci.md for the Action inputs, the platform-neutral gate, and the exit code table.

Recipes

Copy a command, paste a prompt, get a result. Competitor benchmarking, WCAG audits, Figma token push, agentic design system builds. Filterable by role at dembrandt.com/recipes, with the basics in docs/recipes.md.

AI Agent Integration (MCP)

Use Dembrandt as a tool in Claude Code, Cursor, Windsurf, or any MCP-compatible client. Ask your agent to "extract the color palette from dembrandt.com" and it calls Dembrandt automatically.

Per-client setup, environment variables and the full tool list: docs/mcp.md and dembrandt.com/mcp.

claude mcp add --transport stdio dembrandt -- npx -y dembrandt mcp

The server is listed in the MCP Registry as io.github.dembrandt/dembrandt, so a client that reads the registry can install it by name.

Or add to your project's .mcp.json:

{
  "mcpServers": {
    "dembrandt": {
      "command": "npx",
      "args": ["-y", "dembrandt", "mcp"]
    }
  }
}

Available tools include get_design_tokens, get_color_palette, get_typography, get_component_styles, get_surfaces, get_spacing, and get_brand_identity, plus pure analysis tools (compute_drift, get_findings, export_dtcg, generate_design_md, render_report) and job-control tools.

Extraction tools accept slow, mobile, darkMode, wcag, cookie, cookieFile, basicAuth and header (for authenticated pages), userAgent, and noSandbox (Docker and most CI containers). Interactive --login stays CLI-only. Set pages above 1 to crawl and merge several pages, which produces a markedly stronger token set than one page; paths names them explicitly and sitemap discovers them from sitemap.xml.

Extraction returns a job_id. Wait on it with get_job_status and wait_seconds, then hand that same id to the pure tools instead of passing the extraction back as an argument. The status leaves the extraction out, since it runs to hundreds of kilobytes; include_result: true returns it:

get_design_tokens(url: "example.com", pages: 5)  ->  job_id
get_job_status(job_id, wait_seconds: 50)         ->  completed
get_findings(job_id)                             ->  contrast and consistency issues
export_dtcg(job_id)                              ->  W3C design tokens

Pair with dembrandt-skills to give your agent UX intelligence on top of extracted tokens: hierarchy, accessibility, interaction states, and a full 6-stage design pipeline orchestrator.

npx skills add dembrandt/dembrandt-skills

Dembrandt App (Beta)

Load extractions, track token drift, and compare snapshots. dembrandt.com/app

  • Automatic drift tracking from CI. Generate an API key at dembrandt.com/app/api-keys, then pass --key to the CLI. Every run uploads a snapshot to your account and scores it against the previous one for that domain. Wire into GitHub Actions or any CI runner and every deploy records itself.
  • Pin a baseline. Mark any snapshot as your reference. Every subsequent extraction is automatically scored against it.
  • Visual diff. Color swatches, before/after values, delta scores per category: colors, typography, spacing, radius, shadows.
  • Snapshot timeline. Proportional timeline per domain, scrub across any date range from days to years.
  • Compare side by side. Load multiple extractions into one view: two releases, two sites, or two surfaces.
  • Copy tokens. Paste values straight into Copilot, Claude, or Cursor.
  • No login required for local use. Data stays in the browser. Sign in with GitHub to enable cloud sync.

Limitations

  • Dark mode requires --dark-mode flag (not automatically detected)
  • Hover and focus states come from real interaction on a sample of elements; states that need a pointer path or a timer are missed
  • Canvas/WebGL-rendered sites cannot be analyzed (no DOM to read)
  • JavaScript-heavy sites require hydration time (8s initial + 4s stabilization)
  • Some dynamically-loaded content may be missed
  • Default viewport is 1920x1080 (use --mobile for 390x844 mobile viewport)

Intended Use

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.

Sponsors

Dembrandt is MIT-licensed and free. Sponsors keep it moving: sponsor on GitHub.

Lead sponsor

Byteful supplies ethical residential, mobile, ISP, and datacenter proxies, plus scraping and AI automation tools.
Use code DEMBRANDT10 for 10% off residential proxies.

Your logo here: see the Lead sponsor tier.

Documentation

  • docs/usage.md: every flag, multi-page extraction, browser selection, CDP, DTCG, DESIGN.md, Tailwind theme, WCAG, motion, brand guide PDF
  • docs/ci.md: GitHub Action, drift gate, exit codes
  • docs/mcp.md: MCP server install per client, environment, tools
  • docs/recipes.md: copy-paste workflows
  • docs/FLAGS.md: flag interactions, ignored combinations, multi-page propagation

Contributing

Bugs, weird sites, pull requests. All welcome.

Open an Issue or PR.

@thevangelist

MIT. Do whatever you want with it.

Questions about Dembrandt

What is the Dembrandt MCP server?

Design tokens from any live site: colors, type, spacing, DTCG, Tailwind, drift checks. Dembrandt is maintained by dembrandt on GitHub at dembrandt/dembrandt, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Dembrandt MCP server?

Add Dembrandt to your AI app's MCP config with the command npx -y dembrandt@0.43.0 mcp. In Claude Code, run claude mcp add --transport stdio dembrandt -- npx -y dembrandt@0.43.0 mcp. To run Dembrandt this way you need Node.js installed.

Does Dembrandt need an API key?

The registry lists no required keys for Dembrandt. Check the Dembrandt README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Dembrandt an official MCP server?

No. Dembrandt is a community server maintained by dembrandt. Community servers can be excellent; read the code and the open issues before you give Dembrandt access to company data.

What license is Dembrandt under?

Dembrandt is released under the MIT license, according to its GitHub repository. The license covers the code of Dembrandt; the service it connects to has its own terms.