brandmd — Claude Code MCP server: what it does, how to install
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.
MIT ★ 74 updated 2026-11-14
claude mcp add brandmd -- npx -y brandmdWhat brandmd 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.
What it helps with
- pull colors and typography from an existing website
- generate a spec-compliant
DESIGN.mdtoken file - give coding agents direct visual context for interface builds
Example prompts for the agent
- Extract the design system from
https://stripe.comintoDESIGN.md - Analyze the typography and dark mode colors on
https://linear.app
How to install brandmd
Platform CLI
claude mcp add brandmd -- npx -y brandmdPlatform CLI
codex mcp add brandmd -- npx -y brandmdConfig file
{
"mcpServers": {
"brandmd": {
"command": "npx",
"args": [
"-y",
"brandmd"
]
}
}
}Config file
{
"servers": {
"brandmd": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"brandmd"
]
}
}
}Platform CLI
gemini mcp add brandmd npx -y brandmdStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about brandmd
How to install brandmd in Claude Code?
Run claude mcp add brandmd -- npx -y brandmd in your terminal.
What does brandmd do?
It exposes an MCP tool named extract_design_md to parse web pages into structured design tokens and documentation.
What is required to run brandmd?
Playwright with headless Chromium must be installed, and target pages must not sit behind login walls or bot blockers.