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

website-design-systems-mcp

v1.0.0

Published

MCP server that extracts complete design systems from any website URL and generates comprehensive AI-readable skill.md files

Readme

website-design-systems-mcp

npm version License: MIT MCP

Extract complete design systems from any website and generate AI-ready skill.md files


Overview

website-design-systems-mcp is a Model Context Protocol (MCP) server that extracts comprehensive design systems from any website URL. It generates detailed, AI-readable skill.md files that enable AI assistants to recreate the exact same design.

Features

  • 🎨 Complete Color Palette Extraction - Primary, secondary, and neutral colors with semantic naming
  • 📝 Typography Analysis - Font families, type scale, weights, line heights
  • 📏 Spacing System Detection - Tokens, base units, CSS variables
  • 🔲 Border Radius & Shadows - All design tokens captured
  • 📐 Layout Analysis - Container widths, breakpoints, grid systems
  • 🏷️ Brand Identity - Logo, favicon, meta information
  • 🚫 No Browser Required - Pure HTTP extraction, no Puppeteer/Playwright
  • 🛡️ Anti-Blocking - User-Agent rotation, proper headers

Installation

npm install website-design-systems-mcp

Or use directly with npx:

npx website-design-systems-mcp

Usage with Claude Desktop

Add to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
  "mcpServers": {
    "website-design-systems": {
      "command": "npx",
      "args": ["-y", "website-design-systems-mcp"]
    }
  }
}

Or if installed locally:

{
  "mcpServers": {
    "website-design-systems": {
      "command": "node",
      "args": ["/path/to/website-design-systems-mcp/dist/index.js"]
    }
  }
}

Available Tools

extract_design_system

Main tool - Extracts complete design system and generates a comprehensive skill.md file.

Input: { "url": "https://stripe.com" }
Output: Complete skill.md with colors, typography, spacing, and more

validate_url

Quick check if a URL is accessible before extraction.

Input: { "url": "https://example.com" }
Output: { "accessible": true, "statusCode": 200, "contentType": "text/html" }

get_site_colors

Extract only the color palette.

Input: { "url": "https://example.com" }
Output: JSON with primary, secondary, and neutral colors

get_site_typography

Extract only typography information.

Input: { "url": "https://example.com" }
Output: JSON with fonts, type scale, and text styles

Output Format

The generated skill.md includes:

  • YAML Frontmatter - Metadata for AI consumption
  • Brand Identity - Logo, favicon, tagline
  • Color Palette - Organized by usage with hex, RGB, and CSS variables
  • Typography - Font families, type scale, line heights
  • Spacing System - Tokens from xs to 4xl
  • Border Radius - All radius tokens
  • Shadows - Box shadow definitions
  • Layout - Container width, breakpoints, grid
  • CSS Variables - All custom properties

Development

# Clone the repository
git clone https://github.com/Kargatharaakash/website-design-systems-mcp.git
cd website-design-systems-mcp

# Install dependencies
npm install

# Build
npm run build

# Run in development
npm run dev

How It Works

  1. HTTP Fetch - Fetches the page with browser-like headers to avoid blocking
  2. HTML Parsing - Uses Cheerio to parse HTML and extract style sources
  3. CSS Extraction - Collects inline styles, <style> tags, and external stylesheets
  4. Token Analysis - Analyzes CSS to extract colors, typography, spacing patterns
  5. Skill Generation - Compiles everything into a structured skill.md file

Limitations

  • JavaScript-Rendered Content - May not capture styles from JS-only rendered sites
  • Aggressive Bot Protection - Some sites with Cloudflare/etc. may block requests
  • Login-Required Content - Cannot access authenticated pages

For most public websites, the extraction works excellently.


Contributing

See CONTRIBUTING.md for guidelines.


License

MIT License - see LICENSE for details.


Acknowledgments