MCP server

Tailwind Shades MCP Server for Color Palettes

Tailwind Shades MCP gives AI coding agents five tools for generating 50 to 950 palettes, finding the closest Tailwind color and converting colors to OKLCH.

Run
claude mcp add --transport http --scope user tailwindshades https://tailwindshades.bourhaouta.com/mcp
View on GitHub

Stars, license and last push from GitHub. Install count as reported by the open skills directory.

From one hex value to a full palette

Tailwind Shades is a VS Code extension, a command line tool and an MCP server that turn any color into a full 50 to 950 Tailwind palette. The MCP server, tailwindshades-mcp, exposes five tools plus one prompt, and runs either as a remote HTTP endpoint or as a local stdio process.

Put the cursor on #db4d53, name it brand, and Tailwind Shades writes a v4 @theme block running from brand-50 to brand-950 in OKLCH. That is the demo in the README, and the MCP server exposes the same engine to agents.

The repository is an npm workspace holding the VS Code extension, a palette engine with a CLI, the MCP server, and the website that also hosts the remote MCP endpoint.

How the shades are made

  • It finds the Tailwind color closest to yours and copies how that color's lightness, saturation and hue change from light to dark.
  • Your color stays exactly as given, at the shade where it fits best, so a light color can become 200 rather than always 500.
  • The math runs in OKLCH, the color space Tailwind v4 uses, so steps look even to the eye.

Five tools and one prompt

The README says agents often guess Tailwind shades or add a single brand line instead of a palette. The server gives them generate_palette, find_closest_tailwind_color, get_tailwind_palette, list_tailwind_colors and convert_color, plus an add_brand_color prompt.

Remote or local

The remote endpoint needs nothing installed. The local option runs tailwindshades-mcp over stdio through npx. The README gives a command for one agent CLI and config blocks for Cursor and VS Code, and lists the server in the MCP Registry with both options.

Versions it understands

The palette tooling covers Tailwind v4, v3, v2 and v1. V4 and v3 get shades 50 to 950, v2 gets 50 to 900, and v1 gets 100 to 900, each against that version's own default palette. See Tailwind design system for token structure.

Use it with UiChemy

Tailwind Shades produces palettes, not pages. Its CLI can output plain CSS variables, and you can choose to carry them into the custom CSS of a page built in UiChemy Composer, which writes real HTML, CSS and JS inside Elementor or Gutenberg. Get Started at uichemy.com. For color thinking, see color system, better colors and design tokens.