# brandmd

brandmd — an MCP server for Claude Code that extracts website styling into standard DESIGN.md documents. Feeds exact tokens, typography, and button rules directly to the model during UI tasks.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 74 repo stars
- Author: yuvrajangadsingh
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/yuvrajangadsingh/brandmd
- Updated: 2026-11-14
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/brandmd

## What it does

Extracts design systems from URLs into structured markdown files matching the official `@google/design.md` specification. The output pairs machine-readable YAML tokens with explanatory notes on observed color palettes and typography.

The server exposes an `extract_design_md` tool that spins up Playwright with headless Chromium to inspect pages. It handles multiple URLs at once to merge shared tokens across marketing, documentation, or pricing views.

Playwright requires its Chromium binary to be installed, otherwise calls fail immediately. Each run has a strict 180-second timeout, and the server limits concurrency to two active requests.

## Requirements
- Needs: Node.js (commands run via npx)

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add brandmd -- npx -y brandmd
```

### Codex

**Platform CLI**
```bash
codex mcp add brandmd -- npx -y brandmd
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "brandmd": {
            "command": "npx",
            "args": [
                "-y",
                "brandmd"
            ]
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "brandmd": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "brandmd"
            ]
        }
    }
}
```

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add brandmd npx -y brandmd
```

## When to use it
- pull colors and typography from an existing website
- generate a spec-compliant `DESIGN.md` token file
- give coding agents direct visual context for interface builds

## Example prompts
- Extract the design system from `https://stripe.com` into `DESIGN.md`
- Analyze the typography and dark mode colors on `https://linear.app`

## Similar
- [extract](https://affpapa.org/en/nevibecode/skills/adobe-extract.md) — skill · 556 installs
- [clone-website](https://affpapa.org/en/nevibecode/skills/dembrandt-clone-website.md) — skill · 411 installs
- [webapp-capture-stinger](https://affpapa.org/en/nevibecode/skills/webapp-capture-stinger.md) — skill · ★ 96 repo stars
- [design-system](https://affpapa.org/en/nevibecode/skills/jezweb-design-system.md) — skill · 1200 installs
- [taste](https://affpapa.org/en/nevibecode/skills/taste.md) — skill · 757 installs
- [design-component](https://affpapa.org/en/nevibecode/skills/design-component.md) — skill · 604 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
