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

uicockpit-mcp

v0.5.1

Published

MCP server for UIcockpit, the design system generator for AI-built apps: an agent generates a kit from a brief, reads its tokens + component grammar, and verifies its own code stays on-system (the check). Framework-neutral, free, no Figma or account.

Readme

uicockpit-mcp

A Model Context Protocol server that gives an AI agent (Claude, Cursor, Windsurf, Claude Code, …) the UIcockpit design-system wedge natively: create or install a kit, read its design context, and verify the agent's output conforms — generate → apply → check, without copy-paste.

Tools

| Tool | What it does | |---|---| | create_kit | Generates a coherent kit from a short brief (brand colour, radius, density, button shape, icon style) — no GUI, no hash to hunt for. Returns the kit hash + hosted token/contract/rules URLs. Reach for it when the user wants their UI to look designed / on-brand and there's no kit in the project yet. | | install_kit | Pulls a configured kit into the project — writes uicockpit.tokens.css (the full kit) and uicockpit.contract.json. Takes the kit hash from create_kit or from uicockpit.com. | | get_design_context | Returns the kit's grammar — tokens (grouped) + each component's anatomy (BEM parts) + composition rules + intent routing ("a status pill → a .badge tone"; "compose the card anatomy, don't inline layout") — so the agent builds on-system, even components the kit never drew, without loading the full CSS. | | check_conformance | Verifies the code against the contract: flags unknown tokens, undefined component modifiers, raw colours, off-grid spacing, non-token radii/font-sizes. The moat. |

Setup

Add it to your agent's MCP config. The server is zero-config — it runs over stdio via npx, no install needed.

Claude Code (.mcp.json in your project, or claude mcp add):

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

Cursor (.cursor/mcp.json) / Windsurf / Claude Desktop (claude_desktop_config.json) use the same shape:

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

Typical flow

  1. Get a kit hash — either ask your agent to create_kit from a brief (brand/radius/density), or configure one at uicockpit.com and copy its hash (from the share URL / the "Use this kit" panel).
  2. Ask your agent to install_kit with that hash.
  3. The agent calls get_design_context to learn the tokens + rules, builds the UI with the --k-* tokens, then calls check_conformance and fixes whatever it flags.

The verifier core is the published uicockpit CLI (single source); kit content is served statelessly from the CDN over the kit hash, so the tokens and the contract always agree. MIT licensed.