Skip to main content
MCP server CX Codex

design-token-bridge-mcp — Claude Code MCP server for design tokens

Move design tokens between Tailwind, CSS, Figma, and W3C DTCG, then generate themes for Material 3 or SwiftUI. Useful when web and mobile projects need to share a token set.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add design-token-bridge-mcp -- npx -y design-token-bridge-mcp
Open on GitHub

What design-token-bridge-mcp does

The server reads colors, type sizes, spacing, corner radii, and shadows from Tailwind configuration, CSS, Figma Variables JSON, or W3C DTCG JSON. It maps them into a shared token schema. The Figma extractor expects data from the Variables API, so a Figma file alone is not its input.

From that schema, it can produce Kotlin for Material 3, Swift code for SwiftUI, a Tailwind configuration, or CSS custom properties with light and dark modes. A separate tool checks color-pair contrast against WCAG AA or AAA. The server communicates over stdio; the listed setup command launches it through npx.

What it helps with

  • convert Tailwind tokens into CSS custom properties
  • read design values from CSS or Figma Variables JSON
  • build a Material 3 theme from shared tokens
  • generate SwiftUI theme code with Liquid Glass
  • check color contrast against WCAG AAA

Example prompts for the agent

  • Use extract_tokens_from_tailwind to read the contents of tailwind.config.js.
  • Create an Android theme from these tokens with generate_material3_theme.
  • Check the colors against WCAG AAA using validate_contrast.

How to install design-token-bridge-mcp

Platform CLI

claude mcp add design-token-bridge-mcp -- npx -y design-token-bridge-mcp

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 design-token-bridge-mcp

How do I install design-token-bridge-mcp in Claude Code?

Run claude mcp add design-token-bridge-mcp -- npx -y design-token-bridge-mcp.

What does design-token-bridge-mcp do?

It converts design values from Tailwind, CSS, Figma Variables JSON, or W3C DTCG into a shared token format. It can then generate Material 3, SwiftUI, Tailwind, and CSS outputs, plus check color contrast.

What input does the Figma extractor need?

extract_tokens_from_figma_variables takes JSON from the Figma Variables API. It can resolve aliases and handle multiple modes.

Similar MCP servers

All MCP servers for Design →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor