v0.14.0Maddox CLI & MCP Server is live on npm and GitHub Marketplace.Read the docs

[ open source · MIT-licensed CLI & MCP ]

The design-system verification layer for coding agents.

Maddox checks AI-generated and human code against your design tokens in about 60ms, catching off-system colors, spacing, typography, motion, and missing states before changes merge.

Local checks · 0 network calls

$npx -y maddox-engine init

AI code moves at 100x speed. Design systems shouldn't break at 100x speed.

Every time a coding model guesses a hex color or invents a 19px padding, your UI fractures. Maddox runs quietly beside your agent and CI to keep every component locked to your tokens.

The Maddox Platform

One verification engine across editor, agent, and CI.

PostToolUse hook61ms · 0 calls
COLOR · line 14RGB Δ 18

#e05244→--color-status-unrecognized

SPACING · line 16+3px

p-[19px] → p-5 (20px)

✓ Auto-fixed 2 violations · 100% pass (58ms)

Catch off-system edits before they leave the editor

  • • One command (npx -y maddox-engine init) wires hooks, MCP, and tokens.
  • • Checks colors, font sizes, spacing, motion, and states in ~60ms locally.
  • • Reads Tailwind @theme, CSS vars, Tokens Studio, and Figma Variables.
Read quickstart

[ how it works ]

Three layers. Zero drift.

Maddox sits between your design tokens, your coding agent, and your pull requests so off-system values are caught at every step.

03 CI & PR GATE100% PASS · PR DIFF02 AGENT HOOK & MCP61ms LOCAL · 4 TOOLS01 YOUR TOKENS@THEME · FIGMA · CSS
Active layer: 02 AGENT HOOK & MCP

Interactive Specimen Bench

Watch Maddox inspect drift and snap code back to system.

Toggle between drifted AI output and enforced token values across real UI components. Every delta shown below uses the exact same matching rules as the local CLI.

[ visual verification bench ]

Deterministic token invariants, enforced before merge.

64SCORE
Health Dial64% FIDELITY
SPECIMEN // PrimaryAction.tsxSCALE: UNALIGNED (+3PX)
!SPACING: p-[19px] (+3px off 8px grid)
FONT-SIZE:text-[15px]
COLOR:#e05244
FILE: PrimaryAction.tsxINSPECTOR: STATIC_SCAN_PASS
Token Drift Ledger
3 DETECTED
SPACINGΔ +3px
p-[19px]
p-5 (20px)
FONT-SIZEΔ +1px
text-[15px]
text-sm (14px)
COLORRGB Δ 18
#e05244
bg-status-match
POLICY STATUS:HALT_ON_DRIFT
COLOR MATCH: RGB Δ ≤ 25

[ architecture ]

Local by design. Built for speed.

Engineered for teams shipping fast with coding agents who want deterministic token enforcement without cloud latency or source-code upload.

~60ms

Per-edit check

Claude Code hook with a local install: median 61ms, p95 64ms on an Apple M1 Pro

100%

Local execution

Runs in your terminal and your own CI

0 calls

Network use when checking

check, the hooks and the MCP server never upload your code or tokens

5 checks

Token categories

Colors, font sizes, spacing, motion & states

Get Started

Wire hooks, MCP, and config with one command.

Verify your first page or component in under 60 seconds. No account, API keys, or credit card required.

$npx -y maddox-engine init
Maddox Engine | The design-system verification layer for coding agents