On-demand MCP drift checks: declared CSS color, radius, spacing & type tokens vs a chosen pack.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Validator.
reference_tokensCallable MCP tool function
codeCallable MCP tool function
contentCallable MCP tool function
paletteIdCallable MCP tool function
studio-blue-hourCallable MCP tool function
tokensCallable MCP tool function
Give your AI agent a visual system to build against β so it writes brand-consistent styles instead of guessing colors, radii, spacing, and type.
β Now in the Anthropic Connector Directory. In Claude, open Settings β Connectors, search swatchdog, and click Connect β no URL, no key, no setup.
https://github.com/user-attachments/assets/6ae8b242-d6c7-4a29-8892-27b067835308
Swatchdog is a Model Context Protocol (MCP) server that runs on-demand design-token drift checks for AI coding assistants β Claude Code, Claude Desktop, Cursor, Google Antigravity, other MCP clients, and claude.ai via the connector.
When your agent asks, Swatchdog checks the generated CSS against a design system β a curated pack or your own tokens β and returns every off-token color, radius, spacing, and type value, each with the closest matching token to use instead. The check is on-demand and the loop is yours: Swatchdog reports drift; it never intercepts writes or changes your code.
AI agents are fast but blind to your design system β they invent off-brand spacing, off-palette colors, and quietly ignore your scales. Swatchdog adds a deterministic drift check to the build loop:
radius.sm (5px) instead of 7px").How is it different from a linter like ESLint?
A linter checks whether your code is valid; Swatchdog checks whether your design is on-system. A linter happily passes color: #ff00ff because it's valid CSS β it has no idea magenta isn't in your palette. Swatchdog catches exactly that, even when the code is flawless. Lint catches broken code; Swatchdog catches broken design.
Can't I just give my agent the tokens, or a design.md?
You can, and it'll still drift. Agents approximate and interpolate even with the rules right in front of them β having the rules isn't the same as following them. Swatchdog verifies conformance in the build loop, where the drift actually happens.
Pack mode β check against a curated Swatchdog family (Workbench, Showcase, Terminal, plus the free Studio sandbox). Zero-config.
BYO mode β check against your own design system. The agent extracts your tokens (from tailwind.config.js, CSS variables, etc.) and passes them as parameters. Content-only and stateless β your code and tokens are never stored. Free to try on the keyless connector lane, or uncapped with a $12 license.
Intelligent suggestions β Swatchdog doesn't just flag drift, it maps each off-token value to the nearest valid token: color (hex/rgb β nearest theme color), radius, spacing, font-size, and font-family.
Coverage note: checks currently cover hex and standard color formats. HSL-channel representation and complex multi-file token resolution are on the Phase 2 roadmap.
check_design_drift β connector endpoint Β· BYO-only Β· keyless-friendly
reference_tokens (object, required) β your design tokens, e.g. {"color":{"primary":"#b06ed0"},"radius":{"md":"6px"}}code (string, required) β the CSS/markup to checkcheck_drift β main endpoint Β· checks CSS against a pack or a custom token set
content (string, required) β the CSS/markup to checkpaletteId (string, optional) β a pack id (e.g. studio-blue-hour); pack modetokens (object, optional) β your own token set; BYO modesource (string, optional) β telemetry tag (pack, css, tailwind)| Tier | What you get | Where |
|---|---|---|
| Free β keyless | BYO checks on a shared, rate-capped lane | connector endpoint |
Free β sandbox key swt_sandbox_studio | pack checks vs the Studio family | main endpoint |
| $12 β drift-check license | BYO checks, your own uncapped key | both endpoints |
| $19 / $49 β pack or bundle | premium families (Workbench Β· Showcase Β· Terminal) + a paid key | both endpoints |
On the main endpoint, a free caller attempting a premium or BYO check gets a structured upgrade payload pointing to swatchdog.dev.
In Claude (easiest): Settings β Connectors β find swatchdog in the directory β Connect. Nothing to paste, no key.
Other MCP clients (Cursor, Claude Code, Claude Desktop) β add one of these to your MCP config:
Connector endpoint β BYO-only, keyless (add a key to remove the rate cap):
Main endpoint β packs + BYO, bearer key (free sandbox key shown):
Prefer to add the connector to claude.ai manually? Settings β Connectors β Add custom connector β paste the connector URL above β leave auth empty.
All checks are on-demand and transient. No source code, files, or tokens are ever stored on our servers. We log only minimal usage metadata β a source tag, which pack, and the finding count β never your license key, your code, or your tokens. Full policy: swatchdog.dev/privacy.html.
Created and maintained by swatchdog.dev Β· Support: hey@swatchdog.dev Β· A Ziola Project
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/validator)<a href="https://allmcps.com/mcp/validator"><img src="https://allmcps.com/api/badge/validator?style=directory" alt="Validator on AllMCPs" /></a>