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 🙏

© 2025 – Pkg Stats / Ryan Hefner

basecoat-ui-mcp

v1.0.1

Published

MCP server for Basecoat UI components - provides HTML components and usage examples

Readme

Basecoat MCP Server

License: MIT Node.js Version

Story

While building my hobby project — turning old devices into a Digital Photo Frame — I struggled with UI components. I wanted to use Basecoat CSS, the HTML port of ShadCN UI, but there was no MCP server to easily pull components and docs into AI-assisted coding.

So I built one.
This is my first MCP server, and it’s here to make working with Basecoat (and ShadCN-style components) effortless for everyone. Feedback and contributions are welcome!


A Model Context Protocol (MCP) server that provides programmatic access to Basecoat CSS components and their usage documentation. This server allows AI assistants to help developers build HTML interfaces using the Basecoat CSS framework.

Features

  • 30+ Component Variants: Access to buttons, inputs, cards, dialogs, tabs, and more.
  • Usage Documentation: Complete implementation guides with examples for each component.
  • Setup Scripts: Get CDN links and theme switching code instantly.
  • Search & Discovery: Find components by name or category.
  • Accessibility Ready: All components include ARIA attributes and semantic HTML.

Tech Stack

Installation

  1. Clone this repository:
    git clone https://github.com/Sorbh/basecoat-ui-mcp.git
    cd basecoat-mcp-server
  2. Install dependencies:
    npm install

MCP Configuration

You can run this server either by using npx (if the package is published on npm) or by cloning the repository for local development.

Using NPX (Recommended)

This method is the easiest way to get started and doesn't require cloning the repository.

Claude Desktop

Update your claude_desktop_config.json:

{
  "mcpServers": {
    "basecoat-ui": {
      "command": "npx",
      "args": ["-y","basecoat-ui-mcp"]
    }
  }
}

Other MCP Clients

Configure the server to run:

npx basecoat-ui-mcp

Using Git Clone (Local Development)

For local development or if you want to modify the server:

  1. Clone and setup:

    git clone https://github.com/Sorbh/basecoat-ui-mcp.git
    cd basecoat-ui-mcp
    npm install
  2. Claude Desktop Configuration:

    {
      "mcpServers": {
        "basecoat-ui": {
          "command": "node",
          "args": ["/path/to/basecoat-ui-mcp/server.js"],
          "cwd": "/path/to/basecoat-ui-mcp"
        }
      }
    }

    Replace /path/to/basecoat-ui-mcp with the actual path where you cloned the repository.

  3. Other MCP Clients:

    cd /path/to/basecoat-ui-mcp
    node server.js

Available Tools

| Tool | Description | Parameters | |------|-------------|------------| | get_component | Get HTML code for a specific component variant | name: Component name (e.g., "button-primary", "card-basic") | | list_components | List all available components organized by category | None | | get_usage | Get comprehensive usage documentation for a component | component: Base component name (e.g., "button", "card") | | get_setup | Get Basecoat CSS setup code with CDN links | None | | get_theme_script | Get theme switcher script for dark/light mode | None | | search_components | Search for components by name or category | query: Search term (e.g., "button", "form", "navigation") | | get_category | Get all components in a specific category | category: Category name (forms, navigation, feedback, interactive, layout) |

Component Categories

Forms

  • Buttons: primary, secondary, outline, destructive, ghost, link, icon variants
  • Inputs: basic, with-label, invalid states
  • Select: native, custom dropdowns
  • Checkbox: basic, with-label, with-description
  • Radio: single, group variations
  • Switch: basic, with-description
  • Textarea, Label, Form container

Navigation

  • Tabs: horizontal, vertical with ARIA support
  • Accordion: collapsible content sections
  • Breadcrumb: navigation trails
  • Sidebar: off-canvas navigation

Feedback

  • Alert: success, error variants
  • Badge: primary, secondary, destructive, outline
  • Dialog: modal, alert dialog variations
  • Toast: notification system

Interactive

  • Dropdown: context menus with various item types
  • Popover: rich content tooltips
  • Tooltip: simple hover tooltips with positioning
  • Combobox: searchable select dropdowns
  • Theme Switcher: dark/light mode toggle

Layout

  • Card: basic, with-icon variants
  • Avatar: small, medium, large, fallback
  • Skeleton: loading states for profile, card
  • Table: responsive data display
  • Pagination: navigation for large datasets

Directory Structure

basecoat-mcp/
├── components/           # HTML component files
│   ├── forms/           # Form elements
│   ├── navigation/      # Navigation components  
│   ├── feedback/        # Alerts, badges, dialogs
│   ├── interactive/     # Dropdowns, tooltips
│   └── layout/          # Cards, tables, avatars
├── usage/               # Usage documentation
│   ├── forms/
│   ├── navigation/
│   ├── feedback/
│   ├── interactive/
│   └── layout/
├── scripts/             # Setup and utility scripts
├── server.js            # MCP server implementation
├── package.json
└── README.md

About Basecoat CSS

Basecoat CSS is a comprehensive CSS framework that provides:

  • Accessible, semantic components
  • Dark/light theme support
  • Tailwind CSS integration
  • JavaScript-enhanced interactions
  • Mobile-responsive design

Learn more at basecoatui.com

License

MIT License - see LICENSE file for details.

Contributing

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/amazing-feature
  3. Make your changes following our coding standards
  4. Test your changes thoroughly
  5. Commit with clear messages: git commit -m 'Add amazing feature'
  6. Push to your branch: git push origin feature/amazing-feature
  7. Open a Pull Request

Support