brandmd
Turn any website into a DESIGN.md of colors, type and components for coding agents
brandmd is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI, Self-hosted
- Runs
- Locally
- Version
- 1.0.1
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add brandmd -- npx -y brandmdAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"brandmd": {
"command": "npx",
"args": [
"-y",
"brandmd"
]
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"brandmd": {
"command": "npx",
"args": [
"-y",
"brandmd"
]
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"brandmd": {
"command": "npx",
"args": [
"-y",
"brandmd"
]
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"brandmd": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"brandmd"
]
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add brandmd -- npx -y brandmdOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.brandmd]
command = "npx"
args = ["-y", "brandmd"]Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"brandmd": {
"command": "npx",
"args": [
"-y",
"brandmd"
]
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "brandmd": { "command": "npx", "args": [ "-y", "brandmd" ] } } }Or run: gemini mcp add -s user brandmd npx -- -y brandmd
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "brandmd": { "command": "npx", "args": [ "-y", "brandmd" ] } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "brandmd": { "command": "npx", "args": [ "-y", "brandmd" ] } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "brandmd": { "command": "npx", "args": [ "-y", "brandmd" ] } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "brandmd": { "command": "npx", "args": [ "-y", "brandmd" ] } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "brandmd": { "command": "npx", "args": [ "-y", "brandmd" ] } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "brandmd": { "command": "npx", "args": [ "-y", "brandmd" ] } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "brandmd": { "command": "npx", "args": [ "-y", "brandmd" ] } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
About brandmd
brandmd reads a live site's styles and writes a DESIGN.md in the official Google format, with YAML frontmatter holding machine-readable tokens and prose sections explaining the evidence. Output passes the @google/design.md linter. Pass several URLs to merge tokens across pages, and choose other outputs: raw JSON, CSS custom properties, a Tailwind v4 @theme block or a shareable HTML guide.
The MCP mode exposes one tool, extract_design_md, taking one or more urls and an optional dark flag, so an agent can pull a brand in the middle of a task such as matching another site's look. It renders with Playwright's headless Chromium, refuses block pages and login walls, runs at most 180 seconds per call by default, and allows two concurrent calls.
Default extraction is local with no API key. An optional --vision flag adds illustration style, photography mood and copy voice from a screenshot and needs a Gemini API key. The --agent flag also writes a Cursor rule and skill files. MIT licensed.
Tools this server provides (1)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 1 name doesn't say.
From the server's own tool labels and tool names; not verified by us.
- extract_design_md
- Extracts a site's design system into a DESIGN.md from one or more URLs, with an optional dark flag.
What it does
- DESIGN.md output
- Writes a spec-valid file that passes the official linter.
- Multi-page merge
- Combines tokens from several URLs into one file.
- Other formats
- JSON, CSS variables, Tailwind v4 theme or HTML guide.
- Dark mode tokens
- Optionally extracts dark theme values.
- Vision pass
- Adds illustration, photo and voice notes with a Gemini key.
- Agent skill files
- Writes Cursor rules and skills alongside the design file.
Good for
- Make a new page match an existing site's brand
- Give a coding agent real design tokens before it writes UI
- Generate Tailwind or CSS variables from a live site
- Produce a shareable brand guide
Pricing
Open source
brandmd FAQ
Does brandmd need an API key?
Not for default extraction, which runs locally. The optional `--vision` mode needs a Gemini or Google API key.
What happens on blocked pages?
It refuses block pages and login walls instead of emitting a bad design system.
What browser does the MCP tool need?
Playwright's headless Chromium; if missing, the call fails with the install command.
Are there call limits?
A call runs at most 180 seconds by default and at most two run at once.
Is brandmd free?
Yes. brandmd is open source, so you can use and self-host it for free.
How do I add brandmd to Claude Code?
Run this command in your terminal: claude mcp add brandmd -- npx -y brandmd
What are the best alternatives to brandmd?
The closest alternatives to brandmd are REA, HyperFrames by HeyGen, Context7, Chrome DevTools MCP and Codebase Memory.
Where this comes from
- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.


