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

@classic-homes/theme-mcp

v0.1.7

Published

MCP server for Classic Theme design system - enables AI assistants to understand and correctly use components, tokens, and patterns

Readme

@classic-homes/theme-mcp

MCP (Model Context Protocol) server for the Classic Theme design system. This package enables AI assistants like Claude to understand and correctly use Classic Theme components, design tokens, layout patterns, and validation schemas.

Why Use This?

When AI assistants have access to the MCP server, they can:

  • Generate correct component code with proper props and variants
  • Follow design system patterns for layouts and forms
  • Use the right design tokens for colors, spacing, and typography
  • Validate usage to catch errors before runtime
  • Speed up development by eliminating guesswork

Quick Start

With npx (no installation)

npx @classic-homes/theme-mcp

Install globally

npm install -g @classic-homes/theme-mcp
classic-theme-mcp

Install in a project

npm install --save-dev @classic-homes/theme-mcp

Configure Claude Code

Add to your ~/.claude/settings.json:

{
  "mcpServers": {
    "classic-theme": {
      "command": "npx",
      "args": ["@classic-homes/theme-mcp"]
    }
  }
}

Or for a local installation:

{
  "mcpServers": {
    "classic-theme": {
      "command": "node",
      "args": ["./node_modules/@classic-homes/theme-mcp/dist/cli.js"]
    }
  }
}

Restart Claude Code after updating the configuration.

What's Included

Resources (Read-Only Data)

| Resource | Description | | ----------------------------- | -------------------------------------------------- | | components://catalog | All 45+ components with props, variants, examples | | components://list | Component names and categories | | components://{name} | Individual component (e.g., components://Button) | | components://category/{cat} | Filter by category | | tokens://colors | Brand and semantic color palette | | tokens://spacing | Spacing scale (0-96) | | tokens://typography | Font families, sizes, weights | | patterns://layouts | Dashboard, public, auth, error layouts | | patterns://forms | Login, registration, contact forms | | schemas://auth | Auth validation schemas | | schemas://common | Common validation schemas |

Tools (Queryable Functions)

| Tool | Description | | -------------------------- | ---------------------------------------------- | | search_components | Find components by name/category/functionality | | get_component_props | Get detailed props for a component | | suggest_pattern | Get recommended pattern for a use case | | validate_component_usage | Check if usage follows guidelines |

Prompts (Templates)

| Prompt | Description | | ----------------- | -------------------------------- | | build_form | Generate form with validation | | layout_page | Generate page layout | | component_usage | Generate component usage example |

Example Interactions

Ask Claude to create a dashboard

"Create a dashboard page with sidebar navigation and a data table"

Claude will use the MCP to look up DashboardLayout props, DataTable configuration, and generate correct TypeScript code.

Ask about component variants

"What variants does the Alert component have?"

Claude queries get_component_props and returns: default, destructive, success, warning, info.

Generate a form

"Create a contact form with name, email, and message fields"

Claude uses the build_form prompt to generate a form with FormField components, Zod validation, and proper error handling.

Component Categories

  • core: Button, Input, Card, Badge, Label, etc.
  • form: FormField, Select, Checkbox, RadioGroup, Slider, etc.
  • layout: DashboardLayout, PublicLayout, AuthLayout, ErrorLayout
  • feedback: Toast, Spinner, Skeleton, Alert
  • data: DataTable, Tabs
  • overlay: Dialog, AlertDialog, Tooltip, DropdownMenu
  • navigation: Sidebar, Header, Footer, QuickLinks
  • branding: LogoMain, LoadingLogo

For Package Maintainers

Regenerate Catalog

When Classic Theme components are updated:

npm run generate
npm run build

Build

npm run build      # Generate catalog + build
npm run build:fast # Build only (skip generation)

Test Locally

# Run the server
npm run start

# Test with MCP Inspector
npx @modelcontextprotocol/inspector node dist/cli.js

Requirements

  • Node.js 18 or later
  • Classic Theme packages installed in your project (for full functionality)

Related Packages

  • @classic-homes/theme-svelte - Svelte component library
  • @classic-homes/theme-react - React component library
  • @classic-homes/theme-tokens - Design tokens
  • @classic-homes/theme-tailwind-preset - Tailwind configuration

Documentation

License

MIT