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

@nhic/currantui-mcp

v0.2.1

Published

MCP server that makes AI agents experts in CurrantUI — the NHIC design system

Readme

currantui-mcp

MCP server that makes any agentic AI application an instant expert in CurrantUI — the NHIC React design system (@nhic/currantui) and its charting package (@nhic/currantui-charts). Agents get the full component catalog, real usage examples, design tokens, guidelines, and recipes, so generated UI code uses the design system instead of hand-rolling it.

Tools

| Tool | What it returns | |---|---| | list_components | Every component: name, category, import path, exports, one-line description (optional category filter) | | search_components | Keyword search across names, exports, and descriptions | | get_component | Full detail for one component — description, import statement, exports, and complete source (the authoritative reference for props and variants); also resolves utilities like lib/date | | get_component_examples | The component's stories source — working usage for every variant, including stateful wiring | | get_design_tokens | Semantic CSS-variable tokens with light and dark values (optional substring filter) | | get_guidelines | Docs pages: getting started, design standards, colors, typography, shell, component index, charts, overview, architecture | | get_recipe | Copy-paste recipes for patterns the package deliberately doesn't ship (rich-table, app-shell) |

Setup

Claude Code

claude mcp add currantui -- pnpm dlx @nhic/currantui-mcp

Any MCP client (stdio)

{
  "mcpServers": {
    "currantui": {
      "command": "pnpm",
      "args": ["dlx", "@nhic/currantui-mcp"]
    }
  }
}

Working on the design system itself

Point the server at a local checkout and it reads the repo live instead of the bundled snapshot — new components appear without republishing:

{
  "mcpServers": {
    "currantui": {
      "command": "pnpm",
      "args": ["dlx", "@nhic/currantui-mcp"],
      "env": { "CURRANTUI_REPO": "/path/to/currantui" }
    }
  }
}

How it works

A build-time script (pnpm extract) snapshots a CurrantUI checkout — component sources, co-located stories, globals.css tokens, docs pages, recipes — into data/catalog.json, which ships inside the npm package. At runtime the server loads that snapshot, unless CURRANTUI_REPO is set, in which case it extracts live from the checkout on every start.

Development

pnpm install
pnpm extract      # snapshot ../currantui (or $CURRANTUI_REPO) into data/
pnpm typecheck
pnpm test         # extraction + tool round-trips over an in-memory transport
pnpm build        # tsup → dist/index.js (the bin)
pnpm dev          # run the server from source

Publishing runs extract → build → test automatically (prepublishOnly), so the shipped snapshot always matches the CurrantUI version present at publish time. Re-publish after significant design-system releases.