PickShade MCP-server
Giv Claude, Cursor, VS Code og andre AI-assistenter rigtige farveværktøjer: præcise konverteringer, WCAG- og APCA-kontrast, paletter, skalaer fra 50 til 950, tjek af farveblindhed og færdige design tokens. Én URL, intet at installere.
Server-URL
https://pickshade.com/api/mcpForbind din assistent
Kør i en terminal.
Claude Code
claude mcp add --transport http pickshade https://pickshade.com/api/mcpIndstillinger → Connectors → Tilføj brugerdefineret connector, og indsæt URL’en.
Claude og Claude Desktop
https://pickshade.com/api/mcpTilføj til .cursor/mcp.json.
Cursor
{
"mcpServers": {
"pickshade": {
"url": "https://pickshade.com/api/mcp"
}
}
}Tilføj til .vscode/mcp.json.
VS Code
{
"servers": {
"pickshade": {
"type": "http",
"url": "https://pickshade.com/api/mcp"
}
}
}Det kan du spørge om
- Er #6b7280 læsbar på hvid? Ret den, hvis ikke.
- Byg et shadcn-tema ud fra #6d4aff.
- Giv mig en analog palet med fem farver omkring navy, og eksportér den som Tailwind v4.
- Kan personer med deuteranopi skelne #e11d48 fra #16a34a?
- Hvilken Tailwind-klasse ligger tættest på oklch(62% 0.21 260)?
Værktøjer
parse_colorRead any color and describe it: HEX, RGB, HSL and OKLCH values, the closest human name, the closest Tailwind class, its hue family, whether it fits sRGB and Display P3, and which text color, white or black, reads better on it.
convert_colorConvert a color between formats: hex, rgb, hsl, hsv, hwb, cmyk, lab, lch, oklab, oklch, display-p3, rec2020, xyz and platform code (swiftui, uikit, flutter, android). Values follow CSS Color 4.
find_colorsSearch color names by words, like "sage", "dusty rose", "midnight blue" or "бордовый", and get their HEX values. Searches common names in English and Russian and about 30 000 extended color names. Use it to turn a description into real colors.
check_contrastCheck text contrast against a background with both WCAG 2 (ratio, AA and AAA for normal and large text) and APCA (Lc value and the usage level it allows). Also suggests the nearest text color that passes AA and AAA while keeping its hue.
fix_contrastFind the closest color that reaches a contrast target by changing only OKLCH lightness, so the hue and character stay. Targets: aa (4.5:1), aa-large (3:1), aaa (7:1), apca-body (Lc 75), apca-content (Lc 60), apca-large (Lc 45). Adjust the text color or the background.
audit_paletteCheck every text and background pair in a palette with WCAG 2 and APCA, list which pairs are safe for body text, large text or only decoration, find colors that people with color blindness cannot tell apart, and flag colors outside sRGB. Use it before shipping a theme or chart palette.
check_gamutCheck whether a color fits the sRGB, Display P3 and Rec. 2020 gamuts, and get the closest sRGB fallback that keeps lightness and hue (CSS Color 4 gamut mapping in OKLCH).
nearest_namesFind the closest named colors, CSS color keywords and Tailwind CSS classes for a color, ranked by perceptual distance (deltaE OK).
compare_colorsCompare two colors: CIEDE2000 and deltaE OK difference with a plain verdict (identical, nearly, similar, different, opposite), lightness shift in percent, chroma and hue shift, and the contrast between them.
generate_scaleBuild an 11-step tint and shade scale (50, 100 … 900, 950) from one color in OKLCH, the same shape as Tailwind palettes, with even perceived lightness steps.
tints_shadesGet tints (mixed with white), shades (mixed with black) and tones (mixed with gray) of a color, evenly spaced, as HEX. Good for hover states, borders and backgrounds.
harmoniesGet color harmonies for a base color, computed in OKLCH so lightness stays even: complementary, split-complementary, analogous, triadic, tetradic, square and monochromatic.
mix_colorsMix two colors at a ratio in a chosen color space, like CSS color-mix(). OKLab keeps the middle bright, sRGB tends to turn gray. Returns the result and a ready color-mix() expression.
make_gradientBuild a CSS gradient from 2 or more colors with interpolation in OKLab, OKLCH or sRGB. Returns modern CSS with the color space, a fallback with precomputed stops for older browsers, and the stop colors. OKLab avoids the gray middle that sRGB gradients get.
generate_paletteGenerate a harmonious palette in OKLCH. Keep colors you already have, pick a style (auto, analogous, complementary, triadic, monochromatic, pastel, vivid, muted, dark) and pass a seed to get the same palette every time.
simulate_cvdShow how colors look with protanopia, deuteranopia, tritanopia and achromatopsia (Machado 2009 at full severity), and list the pairs that become hard to tell apart.
export_tokensTurn a list of colors into ready code: CSS custom properties, a Tailwind v4 @theme block, SCSS variables, JSON, W3C design tokens (DTCG), a JavaScript array or an SVG swatch strip. Unnamed colors get their closest color name.
build_systemBuild a full color system from a brand color: 50–950 scales for primary, secondary, accent, neutral and status colors, light and dark theme roles, exported as a Tailwind v4 theme, CSS variables, shadcn/ui globals.css or DTCG tokens, with a contrast audit of text and surface pairs.
Spørgsmål og svar
Hvad er en MCP-server?
MCP, Model Context Protocol, lader AI-assistenter kalde eksterne værktøjer. Når serveren er forbundet, beregner din assistent farver med præcise formler i stedet for at gætte.
Er den gratis og privat?
Ja. Den er gratis, kræver ingen konto, og hvert kald beregnes med det samme. Farver, du sender, bliver ikke gemt.
Hvilken transport bruger den?
Streamable HTTP uden sessionstilstand (stateless), som understøttes af aktuelle MCP-klienter. Alle værktøjer er skrivebeskyttede og deterministiske, undtagen generate_palette uden seed.