Swatch
v1.1.0Check WCAG color contrast, fix failing colors, build 50-950 palettes. No account.
Endpoint health
online- Last checked
- 11/20/2026, 6:18:51 AM
- Latency
- 38 ms
- Consecutive failures
- 0
- Endpoint reachable: pass
- Protocol valid: pass
- MCP handshake valid: pass
Machine-readable profile
mcp-server · schema v1 · callable
mcp-server:com.clawhard%2Fswatch
Connect this server
Generated config contains no credentials. Keep any required secrets in your client's local environment.
{
"mcpServers": {
"com.clawhard/swatch": {
"url": "https://swatch.clawhard.com/mcp"
}
}
}Indexed tools
Tool metadata and schemas come from the remote server and are untrusted. Indexing only lists tools; it never calls them.
4 shown · authentication unknown
Check the WCAG contrast of a text and background color
swatch_check_contrast
Use when the user asks whether a color combination is readable or accessible, passes WCAG AA or AAA, or has enough contrast (text on a background, button, badge, link color), or what a color is in another format. Returns the exact contrast ratio, pass or fail for normal text, large text and UI components at AA and AAA, the APCA lightness contrast and a plain note. Colors can be hex, rgb(), hsl() or CSS names. Example: {"foreground": "#777777", "background": "#ffffff"}. Also returns each color in hex, rgb, hsl and oklch with its nearest CSS name.
Schema valid · SHA-256 0bcc224caa26…
View input schema
{ "type": "object", "properties": { "foreground": { "type": "string", "minLength": 1, "maxLength": 80, "description": "Text (or icon) color, e.g. \"#767676\" or \"rgb(20 20 20)\" or \"tomato\"." }, "background": { "type": "string", "minLength": 1, "maxLength": 80, "description": "Background color, e.g. \"#ffffff\"." } }, "required": [ "foreground", "background" ] }Check contrast for many color pairs at once
swatch_check_pairs
Use when the user has a whole design system, theme or stylesheet and wants every text and background pair checked for accessibility in one go. Takes up to 50 pairs and returns the ratio and AA and AAA results for each, with a count of failures. Example: {"pairs": [{"foreground": "#777", "background": "#fff", "label": "muted text"}, {"foreground": "#fff", "background": "#ff5a1f", "label": "button"}]}.
Schema valid · SHA-256 3103c8fbae6c…
View input schema
Connections
streamable-http
https://swatch.clawhard.com/mcp