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

@xui/mcp

v2.3.0

Published

Model Context Protocol server exposing the xUI component APIs, examples, design tokens and docs to AI coding agents

Readme

@xui/mcp

Model Context Protocol server for xUI - it gives a coding agent the real API of every @xui/* package: selectors, signal inputs, variant axes, outputs, exported types, design tokens and working templates.

Unlike a docs scraper, the index is extracted from the library sources (libs/ui/<name>/xui, libs/core/styles/theme.css, apps/ui-storybook/stories), so all 90 packages are covered - not just the handful with a docs page - and the answers match the version you have installed.

Installation

No install, via npx:

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

Global install:

pnpm add -g @xui/mcp
{
  "mcpServers": {
    "xui": { "command": "xui-mcp" }
  }
}

Where the answers come from

| Mode | When | Behaviour | | ------------- | ---------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | | workspace | started inside an xUI checkout, or with XUI_WORKSPACE_ROOT pointing at one | Extracts from source on start; xui_index_refresh re-reads after you edit a component | | bundled | anywhere else | Answers from the index generated when the package was published |

typescript is an optional peer dependency: it is only needed for workspace mode.

Tools

| Tool | Use | | ----------------------------- | ------------------------------------------------------------------------------ | | xui_components_list | Every package, with selectors and imports barrel (kind: ui or core) | | xui_components_search | Find the package that covers a need ("date range", "toast", "resizable panel") | | xui_components_get | Full API of one package - extract: api \| examples \| types \| full | | xui_components_dependencies | Peer packages, install command and the stylesheet imports an app needs | | xui_tokens_list | Semantic design tokens with their light/dark values and Tailwind utility | | xui_docs_get | Documentation topics (installation, theming, dark mode, component guides) | | xui_meta | Version, index provenance and every valid name for the arguments above | | xui_index_refresh | Re-extract after editing a component in a checkout |

Resources

xui://components/list, xui://tokens, xui://component/{name}/api, xui://component/{name}/examples, xui://component/{name}/full.

Prompts

xui-get-started, xui-implement-feature, xui-troubleshoot, xui-add-package.

Working on this package

pnpm nx test mcp      # parser specs
pnpm nx build mcp     # compile, then generate the bundled index into dist

The repo's own .mcp.json points at dist/libs/mcp/src/server.js, so run pnpm nx build mcp once before using it. After that only server changes need a rebuild - component edits are picked up by xui_index_refresh, because in a checkout the index is extracted live.