Swatch
com.clawhard/swatch
Serveur MCP OK 4 outils
Check WCAG color contrast, fix failing colors, build 50-950 palettes. No account.
Fiche technique
- Auteur
- clawhard.com (espace de noms du registre)
- Dépôt
- —
- Site
- swatch.clawhard.com
- Version
- 1.1.0
- Transport
- Streamable HTTP
- Authentification
- Aucune (constatée par notre test)
- Adresse du serveur
- https://swatch.clawhard.com/mcp Streamable HTTP
- Outils
- 4
- Catégories
- —
- Dernière mise à jour
- 9 nov. 2026
- Publication
- 9 nov. 2026
Badge pour votre README
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.
[](https://latlas.dev/mcp/com.clawhard/swatch)<a href="https://latlas.dev/mcp/com.clawhard/swatch"><img src="https://latlas.dev/badge/fiche/com.clawhard/swatch.svg" alt="Référencé sur L’Atlas" height="20"></a>Nos tests
Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode
- Adresse
- https://swatch.clawhard.com/mcp
- Dernier résultat
- OK 28 nov. 2026, 10:11
- Temps de réponse
- 275 ms (initialize + tools/list)
- Version du protocole
- 2025-11-25
- Nom annoncé
- com.clawhard/swatch 1.1.0
- Outils
- 4
Historique
| Date | Résultat | Réponse | Outils |
|---|---|---|---|
| 28 nov. 2026, 10:11 | OK | 275 ms | 4 |
Outils exposés (4, réponse à tools/list, 28 nov. 2026)
swatch_check_contrast
Check the WCAG contrast of a text and background color
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| foreground | string | oui | Text (or icon) color, e.g. "#767676" or "rgb(20 20 20)" or "tomato". |
| background | string | oui | Background color, e.g. "#ffffff". |
swatch_fix_contrast
Find the nearest accessible color that passes contrast
Use when a color pair fails contrast and the user wants the smallest change that makes it pass, such as "make this gray text accessible without changing the look". Returns the closest text color on that background that reaches the target (AA, AAA, AA-large or ui), and separately the closest background, keeping the hue. Example: {"foreground": "#777777", "background": "#ffffff", "target": "AA"}. Returns already_passes if nothing needs to change.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| foreground | string | oui | Current text color. |
| background | string | oui | Current background color. |
| target | enum: "AA" | "AAA" | "AA-large" | "ui" | non | Contrast target. Default AA. |
swatch_make_scale
Build a 50-950 color palette from one color
Use when the user asks for a palette, shades, tints, a design-token scale or a Tailwind-style 50 to 950 ramp from a brand color. Returns 11 steps that keep the hue, with the hex, contrast on white and on black, and the best text color for each step. Example: {"color": "#ff5a1f", "name": "brand"}.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| color | string | oui | Base color, e.g. "#ff5a1f". |
| name | string | non | Token name used in the CSS and Tailwind output. Default "brand". |
swatch_check_pairs
Check contrast for many color pairs at once
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"}]}.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| pairs | array<object> | oui | Pairs to check. |
Compatibilité clients
Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepté | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Adresse distante utilisée : https://swatch.clawhard.com/mcp. Formats repris de la documentation de chaque client.
claude mcp add --transport http swatch https://swatch.clawhard.com/mcpCustomize > Connectors > + Add > Add custom connector ; Name : swatch ; URL : https://swatch.clawhard.com/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : swatch ; Server URL : https://swatch.clawhard.com/mcp ; Create as a plugin{
"mcpServers": {
"swatch": {
"url": "https://swatch.clawhard.com/mcp"
}
}
}{
"mcpServers": {
"swatch": {
"type": "http",
"url": "https://swatch.clawhard.com/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"swatch": {
"url": "https://swatch.clawhard.com/mcp"
}
}
}{
"mcpServers": {
"swatch": {
"httpUrl": "https://swatch.clawhard.com/mcp"
}
}
}[mcp_servers.swatch]
url = "https://swatch.clawhard.com/mcp"Citer cette source
Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.
Swatch · L’Atlas · Test du
[Swatch — L’Atlas](https://latlas.dev/mcp/com.clawhard/swatch)Source : Registre officiel MCP · relevé le 29 nov. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.