rulocode
Start free
Start free
Work

Matiz: An MCP Server That Gives AI Agents Measured Design Data

October 23, 2026
Matiz is a Model Context Protocol (MCP) server for design references. When a coding agent like Claude Code needs to build a pricing page or a hero section, Matiz hands it what it needs to write the code: measured tokens, the structure of the page and a DESIGN.md. Not just a screenshot. I built it end to end: the capture pipeline, the analysis, the MCP server, the local gallery and the public site. Design galleries are built for humans. I measured the contract of an existing design-reference MCP across 69 real calls: each result is an image, a link that expires in 30 days and the site's name. No colors, no type scale, no layout, not even the URL. For an agent that has to write code, that is the bottleneck. It has to guess spacing, colors and font sizes by looking at a JPEG, and it guesses wrong. Matiz inverts that. Every value comes from 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.
Two rules shaped the design:
  1. Nothing is invented. If a value was not measured, the tool doesn't return it.
  2. Local by default. The corpus lives on the user's machine, and the package ships measurements only, never third-party screenshots.
ToolWhat it answers
search_referencesFind sites or sections, with tokens and a thumbnail
get_brand_kitEverything needed to match a brand, including hover states measured live
get_section_blueprintA section's skeleton plus a React/Tailwind component with real measurements
get_compositionWhich sections a landing page usually has, and in what order
critique_against_referenceMeasures your page, even on localhost, against a reference
capture_siteAdds any public site to the corpus in about 10 seconds
Sixteen tools in total, plus a guided prompt that walks the agent from composition to references, identity, DESIGN.md, build and critique.
MetricValue
Brands measured165
Product pages800+ (desktop and mobile)
Classified sections12,000+
Open DESIGN.md files indexed141
MCP tools16
Behavior tests41, all passing
It installs with one line in Claude Code:
claude mcp add matiz --scope user -- npx -y matiz-mcp
The same package works in Codex, Cursor, VS Code, Claude Desktop, Gemini CLI, Windsurf and Zed. No account, no API key.
LayerTechnology
ProtocolModel Context Protocol (stdio)
LanguageTypeScript, Node.js 22
CapturePlaywright
Storagenode:sqlite with FTS5, zero native dependencies
ColorOKLab clustering, WCAG contrast
SiteStatic, on Vercel
The quality of what an agent builds tracks the quality of the data it gets. A measured 72px headline with -0.022em tracking beats any description of "big bold title". Every classification carries its reasons. When the agent, or I, disagree with a label, the reason shows exactly what to fix. 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