# UIForge

> UIForge is an open-source MCP server for design and media. MCP server that generates DESIGN.md specs, design tokens and WCAG AA contrast fixes for AI. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, API, Self-hosted
- **Repository:** https://github.com/lemuayala/ui-design-md/tree/HEAD/packages/mcp
- **MCP Registry name:** io.github.lemuayala/ui-forge
- **Categories:** [design and media](https://ai-powered.com/categories/design-and-media)
- **Listing updated:** 2026-11-30

## About

Adds design-system tooling to AI coding assistants over the Model Context Protocol. Once connected, a client can browse a library of 24 brand design systems, compile a structured DESIGN.md specification with a quick prompt and an accessibility audit, and export tokens as CSS variables, Tailwind v4 theme blocks or W3C Design Tokens JSON.

Contrast checking is handled by a dedicated tool that measures foreground and background HEX pairs against WCAG 2.1 AA and AAA thresholds and suggests the nearest passing color computed in OKLch. The compile step can apply the same correction automatically when requested.

It is aimed at developers and front-end teams who work inside Claude Code, Cursor, Windsurf or Antigravity and want consistent, accessible styling without leaving the editor. It runs locally through npx over stdio.

## Features

- **Brand design system library:** Lists 24 reference brand systems along with style presets, UI archetypes and tech stacks to start from.
- **DESIGN.md compilation:** Produces a nine-section design specification plus a quick prompt and a WCAG 2.1 AA audit.
- **Multi-format token export:** Outputs tokens as :root CSS variables, Tailwind v4 @theme inline or W3C Design Tokens JSON.
- **OKLch contrast correction:** Finds the nearest passing color in OKLch for any foreground and background pair that fails contrast.
- **Local stdio setup:** Installs with a single npx command and works with any MCP client that accepts a command config.

## Good for

- Generate a consistent DESIGN.md spec before building a new interface with an AI coding assistant
- Export a brand palette as Tailwind v4 theme variables for a project
- Check and correct text contrast in a color scheme against WCAG AA
- Convert design decisions into W3C-format tokens for a design pipeline

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add ui-forge -- npx -y @lemuayala/ui-forge-mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "ui-forge": {
      "command": "npx",
      "args": [
        "-y",
        "@lemuayala/ui-forge-mcp"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "ui-forge": {
      "command": "npx",
      "args": [
        "-y",
        "@lemuayala/ui-forge-mcp"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "ui-forge": {
      "command": "npx",
      "args": [
        "-y",
        "@lemuayala/ui-forge-mcp"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "ui-forge": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@lemuayala/ui-forge-mcp"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add ui-forge -- npx -y @lemuayala/ui-forge-mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.ui-forge]
command = "npx"
args = ["-y", "@lemuayala/ui-forge-mcp"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "ui-forge": {
      "command": "npx",
      "args": [
        "-y",
        "@lemuayala/ui-forge-mcp"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user ui-forge npx -- -y @lemuayala/ui-forge-mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "ui-forge": {
      "command": "npx",
      "args": [
        "-y",
        "@lemuayala/ui-forge-mcp"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "ui-forge": {
      "command": "npx",
      "args": [
        "-y",
        "@lemuayala/ui-forge-mcp"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "ui-forge": {
      "command": "npx",
      "args": [
        "-y",
        "@lemuayala/ui-forge-mcp"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "ui-forge": {
      "command": "npx",
      "args": [
        "-y",
        "@lemuayala/ui-forge-mcp"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "ui-forge": {
      "command": "npx",
      "args": [
        "-y",
        "@lemuayala/ui-forge-mcp"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "ui-forge": {
      "command": "npx",
      "args": [
        "-y",
        "@lemuayala/ui-forge-mcp"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "ui-forge": {
      "command": "npx",
      "args": [
        "-y",
        "@lemuayala/ui-forge-mcp"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "ui-forge": {
      "command": "npx",
      "args": [
        "-y",
        "@lemuayala/ui-forge-mcp"
      ]
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 2 of 4 tools read data; 2 names don't say. From the server's own tool labels and tool names; not verified by us.

- `list_design_systems` (name suggests: reads): Browse all 24 canonical Brand Design Systems, 9 Style Presets, 8 UI Archetypes, and 6 Tech Stacks.
- `compile_design_md`: Compile a deterministic 9-section DESIGN.md + Quick Prompt + WCAG 2.1 AA audit (with optional autoFixContrast).
- `export_design_tokens` (name suggests: reads): Export :root CSS variables, Tailwind v4 @theme inline, or W3C Design Tokens JSON.
- `audit_and_fix_contrast`: Verify WCAG 2.1 AA/AAA contrast between any foreground and background HEX and compute the nearest passing color in OKLch.

## FAQ

### How do I install UIForge?

For Claude Code, run claude mcp add ui-forge -- npx -y @lemuayala/ui-forge-mcp. Cursor, Antigravity and Claude Desktop use a JSON mcpServers entry that calls the same npx command.

### Which contrast standard does UIForge check?

It verifies WCAG 2.1 AA and AAA contrast between a foreground and background HEX color and computes a passing alternative in OKLch.

### Which token formats can UIForge export?

It exports :root CSS variables, Tailwind v4 @theme inline blocks and W3C Design Tokens JSON using $value and $type with oklch() colors.

### Is UIForge free?

Yes. UIForge is open source, so you can use and self-host it for free.

### How do I add UIForge to Claude Code?

Run this command in your terminal: claude mcp add ui-forge -- npx -y @lemuayala/ui-forge-mcp

### What are the best alternatives to UIForge?

The closest alternatives to UIForge are Identity Forge, Roast My Design System, Design Token Bridge MCP, ColorwayKit and CSS Crème.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Identity Forge](https://ai-powered.com/mcp/identity-forge): Identity Forge is a freemium MCP server for design and media.
- [Roast My Design System](https://ai-powered.com/mcp/roast-my-design-system-2): Roast My Design System is an open-source MCP server for design and media.
- [Design Token Bridge MCP](https://ai-powered.com/mcp/design-token-bridge-mcp): Design Token Bridge MCP is an open-source MCP server for design and media.
- [ColorwayKit](https://ai-powered.com/mcp/colorwaykit): ColorwayKit is a free MCP server for design and media.
- [CSS Crème](https://ai-powered.com/mcp/css-creme): CSS Crème is a free MCP server for design and media.
- [Designer Skill MCP](https://ai-powered.com/mcp/designer-skill-mcp): Designer Skill MCP is a free MCP server for design and media.
- [Brandrail](https://ai-powered.com/mcp/brandrail): Brandrail is an MCP server for developer tools.
- [Standby Design MCP](https://ai-powered.com/mcp/standby-design-mcp): Standby Design MCP is an MCP server for design and media.

---
Source: https://ai-powered.com/mcp/uiforge
