PickShade MCP-server
Gi Claude, Cursor, VS Code og andre KI-assistenter ekte fargeverktøy: nøyaktige konverteringer, WCAG- og APCA-kontrast, paletter, skalaer fra 50 til 950, sjekk av fargeblindhet og ferdige design tokens. Én URL, ingenting å installere.
Server-URL
https://pickshade.com/api/mcpKoble til assistenten din
Kjør i en terminal.
Claude Code
claude mcp add --transport http pickshade https://pickshade.com/api/mcpInnstillinger → Koblinger → Legg til egendefinert kobling, og lim inn URL-en.
Claude og Claude Desktop
https://pickshade.com/api/mcpLegg til i .cursor/mcp.json.
Cursor
{
"mcpServers": {
"pickshade": {
"url": "https://pickshade.com/api/mcp"
}
}
}Legg til i .vscode/mcp.json.
VS Code
{
"servers": {
"pickshade": {
"type": "http",
"url": "https://pickshade.com/api/mcp"
}
}
}Ting du kan spørre om
- Er #6b7280 lesbar på hvitt? Rett den hvis ikke.
- Lag et shadcn-tema fra #6d4aff.
- Gi meg en analog palett med fem farger rundt navy og eksporter den som Tailwind v4.
- Kan personer med deuteranopi skille #e11d48 fra #16a34a?
- Hvilken Tailwind-klasse ligger nærmest oklch(62% 0.21 260)?
Verktøy
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ørsmål og svar
Hva er en MCP-server?
MCP, Model Context Protocol, lar KI-assistenter kalle eksterne verktøy. Med denne serveren tilkoblet regner assistenten ut farger med eksakte formler i stedet for å gjette.
Er den gratis og privat?
Ja. Den er gratis, krever ingen konto, og hvert kall beregnes fortløpende. Fargene du sender, lagres ikke.
Hvilken transport bruker den?
Streamable HTTP i tilstandsløs modus, som støttes av dagens MCP-klienter. Alle verktøy er skrivebeskyttede og deterministiske, unntatt generate_palette uten seed.