# designlang

The designlang MCP server for Claude Code reads a site’s design system for an AI editor. It can also compare a UI with brand tokens and rate how generic a page looks.

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

## What it does

designlang opens a site in a headless browser and reads interface details from its DOM. Its output can include design tokens, Tailwind settings, a shadcn theme, Figma variables, component structure, and brand voice.

An editor can call the `verify_ui` MCP tool to compare a screen with brand tokens and report expected and observed values for each mismatch. The check exits with an error when it finds drift, so it can gate CI. Node.js 20 or later is required; no account or API key is needed. The setup commands include the `DESIGNLANG_BRAND_TOKEN` environment variable.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `DESIGNLANG_BRAND_TOKEN` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add designlang -e DESIGNLANG_BRAND_TOKEN=<DESIGNLANG_BRAND_TOKEN> -- npx -y designlang
```
Replace <…> with your own values

### Codex

**Platform CLI**
```bash
codex mcp add designlang --env DESIGNLANG_BRAND_TOKEN=<DESIGNLANG_BRAND_TOKEN> -- npx -y designlang
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "designlang": {
            "command": "npx",
            "args": [
                "-y",
                "designlang"
            ],
            "env": {
                "DESIGNLANG_BRAND_TOKEN": "<DESIGNLANG_BRAND_TOKEN>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "designlang": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "designlang"
            ],
            "env": {
                "DESIGNLANG_BRAND_TOKEN": "<DESIGNLANG_BRAND_TOKEN>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e DESIGNLANG_BRAND_TOKEN=<DESIGNLANG_BRAND_TOKEN> designlang npx -y designlang
```
Replace <…> with your own values

## When to use it
- extract design tokens from a website
- send a site’s design system to an AI editor
- compare a screen with brand tokens
- find UI values that differ from the expected style
- rate how generic a page appears

## Example prompts
- Read the design system from `stripe.com` and make it available to the editor.
- Use `verify_ui` to compare `localhost:3000` with the brand in `DESIGN.md`.
- Rate how generic `https://yoursite.com` looks.

## Similar
- [Memi](https://affpapa.org/en/nevibecode/mcp/sarveshsea-memi.md) — MCP server · 295 installs
- [figma-designer](https://affpapa.org/en/nevibecode/skills/elayadesign-figma-designer.md) — skill · 2900 installs
- [figma-implement-design](https://affpapa.org/en/nevibecode/skills/githubcomopenaiskills-figma-implement-design.md) — skill · ★ 7191 repo stars
- [build-figma](https://affpapa.org/en/nevibecode/skills/build-figma.md) — skill · 127 installs
- [brand-and-operations](https://affpapa.org/en/nevibecode/rules/brand-and-operations.md) — rule · ★ 3216 repo stars
- [claude2figma](https://affpapa.org/en/nevibecode/plugins/claude2figma.md) — plugin · ★ 208 repo stars

From the same set: [manavarya09/design-extract](https://affpapa.org/en/nevibecode/by/manavarya09/design-extract.md) — 16 cards

---
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
