# dwic-audit [Health: Active]

**Category:** 📐 Architecture & Design  
**Repository:** https://github.com/imsaif/design-with-claude  
**GitHub Stars:** 11  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/dwic-audit

## Description
dwic — a product designer inside your terminal. MCP server + CLI that audits your design tokens + markup for WCAG contrast failures, mandated-accent drift, and structural gaps, then remembers findings across sessions.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "dwic-audit": {
    "command": "npx",
    "args": ["-y","dwic-audit@1.0.0-alpha.12"]
  }
}
```

## Documentation

## What dwic-audit does

dwic-audit combines a command-line audit engine with an MCP server for interactive work in Claude Code. The CLI examines a project’s design tokens and markup, reports gaps in eight areas, and saves a Markdown report under `.dwic/` using a date-based filename. Its checks cover color, typography, spacing, accessibility, forms, navigation, motion, and copy.

The audit is intended to be reproducible. WCAG contrast math, token parsing, and markup heuristics produce deterministic findings, while the process exit code makes the command suitable for automated checks. The server adds project memory, allowing decisions and previous changes to carry across sessions instead of being requested again.

## How it works

Run the package directly with `npx dwic-audit@latest`. The command scans the local project and prints a dashboard of findings. It also writes a shareable report to `.dwic/audit-<date>.md`. Because the code is analyzed locally, project files do not leave the machine during the audit.

For interactive use, configure the MCP server with the `setup` command, supplying a dwic token and project name:

```bash
npx dwic-audit@latest setup --token=imr_xxx --project=my-app
```

Inside Claude Code, specialist tools can be asked to review or address design concerns. Named specialists include `color-specialist`, `accessibility-specialist`, and `typography-specialist`, alongside other design specialists. The same underlying knowledge base is also available separately as Claude Code slash-command skills.

## Setup and configuration

The standalone audit requires no token, installation, or Claude Code. Use the package through `npx` when you want a local scan or a CI-friendly exit status.

MCP setup requires a token obtained through the dwic getting-started page and a project name. Telemetry can be disabled with either the `--no-telemetry` flag or `DWIC_TELEMETRY=off`. When enabled, each CLI run sends an anonymous category-level count; file contents and paths are excluded from that payload.

The repository also includes a free library of design skills. They can be installed with the skills CLI, added as a Claude Code plugin, or copied into a user-level commands directory. Those commands do not require a runtime, dependency installation, or API key.

## Tools and capabilities

- Scan design tokens and markup for deterministic findings.
- Check color contrast using WCAG calculations.
- Detect mandated-accent drift and structural gaps.
- Review eight design-system categories in one audit.
- Produce dated Markdown reports in `.dwic/`.
- Return an exit code that can be used by CI.
- Expose design specialists through MCP in Claude Code.
- Preserve project decisions across interactive sessions.

## Limitations and notes

The audit relies on token parsing and markup heuristics, so its output is a structured code review rather than a replacement for human design judgment. The MCP workflow is presented around Claude Code, while the companion slash-command library supports additional command-line and editor environments. The anonymous run counter is enabled by default unless explicitly disabled.

_Full upstream README: https://allmcps.com/mcp/dwic-audit/readme_

