designlang — Claude Code MCP server: features and setup
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.
MIT ★ 5,183 updated 2026-10-23
claude mcp add designlang -e DESIGNLANG_BRAND_TOKEN=<DESIGNLANG_BRAND_TOKEN> -- npx -y designlangWhat designlang 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.
What it helps with
- 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 for the agent
- Read the design system from
stripe.comand make it available to the editor. - Use
verify_uito comparelocalhost:3000with the brand inDESIGN.md. - Rate how generic
https://yoursite.comlooks.
How to install designlang
Platform CLI
claude mcp add designlang -e DESIGNLANG_BRAND_TOKEN=<DESIGNLANG_BRAND_TOKEN> -- npx -y designlangReplace <…> with your own values
Platform CLI
codex mcp add designlang --env DESIGNLANG_BRAND_TOKEN=<DESIGNLANG_BRAND_TOKEN> -- npx -y designlangReplace <…> with your own values
Config file
{
"mcpServers": {
"designlang": {
"command": "npx",
"args": [
"-y",
"designlang"
],
"env": {
"DESIGNLANG_BRAND_TOKEN": "<DESIGNLANG_BRAND_TOKEN>"
}
}
}
}Replace <…> with your own values
Config file
{
"servers": {
"designlang": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"designlang"
],
"env": {
"DESIGNLANG_BRAND_TOKEN": "<DESIGNLANG_BRAND_TOKEN>"
}
}
}
}Replace <…> with your own values
Platform CLI
gemini mcp add -e DESIGNLANG_BRAND_TOKEN=<DESIGNLANG_BRAND_TOKEN> designlang npx -y designlangReplace <…> with your own values
Step 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 designlang
How do I install designlang in Claude Code?
Run claude mcp add designlang -e DESIGNLANG_BRAND_TOKEN=<DESIGNLANG_BRAND_TOKEN> -- npx -y designlang.
What does designlang do?
It extracts a website’s design details for an AI editor. Its verify_ui tool also compares a screen with brand tokens and reports mismatches.
What does designlang need to run?
It requires Node.js 20 or later. The setup command includes DESIGNLANG_BRAND_TOKEN; no account or API key is needed.