Overview
The Problem
The Decision: Data First, Image Second
getComputedStyle on the live site, captured with Playwright:
- Colors with a role (background, text, accent), clustered in OKLab, with WCAG contrast measured, not estimated.
- Real typography: families, scale, weights and tracking, plus a free alternative for each paid font.
- Section structure: every section is classified (hero, pricing, FAQ…) and carries the reasons for that label, like "3 prices with a billing period".
- Exports to DESIGN.md, W3C design tokens (DTCG), CSS and Tailwind v4.
- Nothing is invented. If a value was not measured, the tool doesn't return it.
- Local by default. The corpus lives on the user's machine, and the package ships measurements only, never third-party screenshots.
What It Does
| Tool | What it answers |
|---|---|
search_references | Find sites or sections, with tokens and a thumbnail |
get_brand_kit | Everything needed to match a brand, including hover states measured live |
get_section_blueprint | A section's skeleton plus a React/Tailwind component with real measurements |
get_composition | Which sections a landing page usually has, and in what order |
critique_against_reference | Measures your page, even on localhost, against a reference |
capture_site | Adds any public site to the corpus in about 10 seconds |
Results
| Metric | Value |
|---|---|
| Brands measured | 165 |
| Product pages | 800+ (desktop and mobile) |
| Classified sections | 12,000+ |
| Open DESIGN.md files indexed | 141 |
| MCP tools | 16 |
| Behavior tests | 41, all passing |
claude mcp add matiz --scope user -- npx -y matiz-mcpTech Stack
| Layer | Technology |
|---|---|
| Protocol | Model Context Protocol (stdio) |
| Language | TypeScript, Node.js 22 |
| Capture | Playwright |
| Storage | node:sqlite with FTS5, zero native dependencies |
| Color | OKLab clustering, WCAG contrast |
| Site | Static, on Vercel |
What I Learned
1. Agents need numbers, not pictures
2. Explainable beats clever
3. Close the loop
critique_against_reference is what makes it useful day to day: build, measure against the reference, fix what's missing.
Need an MCP server for your own data, or an agent that uses one? Let's talk →
Tell me what's stealing hours from your team
A free 30-minute call, no sales pitch: we review your operation and I tell you whether I can help — and how.Book a call