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

@sub-design/mcp

v0.1.1

Published

A local MCP server for `@sub-design/ui` and `@sub-design/tokens` — four tools, no hosting, no auth. Answers come from whatever version of those packages is actually installed in the project the server is invoked from, not a snapshot bundled into this pack

Readme

@sub-design/mcp

A local MCP server for @sub-design/ui and @sub-design/tokens — four tools, no hosting, no auth. Answers come from whatever version of those packages is actually installed in the project the server is invoked from, not a snapshot bundled into this package.

Why local, not hosted

The obvious alternative — one hosted server answering for "the current version" — has no good answer to "current according to which consumer." NOKL and Enterprise pin @sub-design/ui independently and are rarely on the same version at the same time; a hosted snapshot would be right for one and stale for the other, silently. Reading from node_modules at the caller's cwd sidesteps the question rather than solving it: there is no shared "current," so nothing tries to be one.

Installing

Add to a project's MCP client config (e.g. .mcp.json):

{
  "mcpServers": {
    "sub-design": {
      "command": "npx",
      "args": ["-y", "@sub-design/mcp"]
    }
  }
}

Requires @sub-design/ui and/or @sub-design/tokens to be installed in the project the client runs from — the server reads their metadata.json / dtcg/*.json via normal Node module resolution starting at process.cwd().

Tools

  • list_components — every component's name, source file, and variant prop names. Cheap; call this before searching or fetching one.
  • get_component(name) — full detail for one component: props, variants' actual options, the tokens its family depends on, sibling parts (e.g. CardHeader/CardContent for Card), and the promotion rationale.
  • search_components(query) — find components by name, variant value, token, or rationale text.
  • search_tokens(query) — find design tokens by name or description in the DTCG export. Values shown for theme-layer tokens are GoodSync light specifically; check the actual theme file for anything brand-sensitive.

What this deliberately doesn't do

No component-usage validation, no code generation, no Figma sync. Those are real capabilities other design-system MCP servers have, and real future work here too — this is the lookup layer they'd be built on, not a replacement for building them.