npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@gongrzhe/server-color-system-generator

v1.0.0

Published

Color System Generator MCP App Server with interactive palette editor and WCAG contrast checking

Readme

Color System Generator MCP Server

Interactive color palette editor with WCAG contrast checking, color harmony modes, and CSS/Tailwind export.

Features

  • Color Harmony Generation: Create palettes using analogous, complementary, triadic, monochromatic, or split-complementary harmonies
  • Shade Generation: Auto-generate 11 shade levels (50-950) from any base color
  • WCAG Contrast Checking: Verify contrast ratios against AA/AAA accessibility standards for text
  • CSS Variables Export: Generate :root CSS variables for all palette colors and shades
  • Tailwind Configuration: Export Tailwind config snippets ready to copy into your project
  • Interactive UI: Built-in editor for real-time palette exploration and refinement

Installation

npm install @gongrzhe/server-color-system-generator

Usage

As a CLI

npx @gongrzhe/server-color-system-generator

Claude Desktop Configuration

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "color-system-generator": {
      "command": "npx",
      "args": ["-y", "@gongrzhe/server-color-system-generator"]
    }
  }
}

Claude Code Configuration

claude mcp add color-system-generator -- npx -y @gongrzhe/server-color-system-generator

Tools

generate-palette

Generates a color palette from a base color using color theory harmonies, with shades and WCAG contrast checks.

Input:

  • baseColor (string, required): Base color in hex format (e.g., #2563eb)
  • mode (string, optional): Color harmony mode (analogous, complementary, triadic, monochromatic, split-complementary). Defaults to analogous

Output:

  • baseColor: Original color in hex, HSL, and RGB formats
  • palette: Array of harmony colors with:
    • Color formats (hex, HSL, RGB)
    • Contrast ratios against white and black
    • WCAG AA/AAA compliance flags
  • shades: 11 shade levels (50-950) in hex
  • cssVariables: CSS :root variables ready to paste
  • tailwindConfig: Tailwind configuration snippet

check-contrast

Checks the WCAG contrast ratio between two colors and reports AA/AAA compliance.

Input:

  • foreground (string, required): Foreground color in hex format
  • background (string, required): Background color in hex format

Output:

  • ratio: Calculated contrast ratio (e.g., 4.5:1)
  • wcagAA: Whether it meets WCAG AA standard for normal text
  • wcagAAA: Whether it meets WCAG AAA standard for normal text
  • wcagAALargeText: Whether it meets WCAG AA standard for large text (18pt+)

Example Prompt

Generate a color system palette from the base color #3B82F6 using triadic harmony

This will:

  1. Create a 3-color triadic harmony (blue, orange, yellow)
  2. Generate 11 shades for each color
  3. Check contrast ratios against white and black backgrounds
  4. Return CSS variables and Tailwind configuration

License

MIT