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

@parkhub/pave-ui-mcp

v0.1.3

Published

MCP server for @parkhub/pave-ui — gives AI agents access to component docs without a local Storybook

Downloads

286

Readme

@parkhub/pave-ui-mcp

MCP server for @parkhub/pave-ui — gives AI agents (Claude Code, Cursor, etc.) access to component docs without needing a local Storybook running.

Component and docs manifests are bundled inside this package (generated from Storybook at publish time). No network calls, no external URLs, no auth required — just run it.


Usage

1. Start the server

npx @parkhub/pave-ui-mcp
# pave-ui-mcp running at http://localhost:6007/mcp

Keep it running in a terminal (or wire it to your project's dev startup).

2. Add to your MCP config

Claude Code (.mcp.json in project root):

{
  "mcpServers": {
    "pave-ui": {
      "url": "http://localhost:6007/mcp"
    }
  }
}

Cursor (.cursor/mcp.json):

{
  "mcpServers": {
    "pave-ui": {
      "url": "http://localhost:6007/mcp"
    }
  }
}

3. Add agent instructions

The server surfaces the recommended configuration in two discoverable ways so agents can relay it to you:

  • Automatic — the MCP initialize response instructions field includes a setup guidance note on every handshake.
  • On demand — call the get-setup-instructions prompt (prompts/get) to retrieve the full copyable block.

Add the following to your project's AGENTS.md or CLAUDE.md:

## @parkhub/pave-ui

This project uses [`@parkhub/pave-ui`](https://github.com/parkhub/pave-ui) for UI components.

### MCP server

Start the pave-ui MCP server before working on UI code:

```sh
npx @parkhub/pave-ui-mcp

Add to .mcp.json (Claude Code) or .cursor/mcp.json (Cursor) in the project root:

{
  "mcpServers": {
    "pave-ui": { "url": "http://localhost:6007/mcp" }
  }
}

Agent instructions

When using @parkhub/pave-ui components:

  • Call list-all-documentation at the start of any UI task to see all available components
  • Call get-documentation before writing JSX for any component — never assume props exist
  • Use get-documentation-for-story to explore specific story variants and usage examples
  • If a prop is not returned by these tools, it does not exist — do not use it

---

## Configuration

| Env var | CLI flag | Default | Description |
|---|---|---|---|
| `PAVE_UI_MCP_PORT` | `--port=N` | `6007` | Port for the local MCP server |
| `PAVE_UI_STORYBOOK_URL` | `--storybook-url=URL` | *(bundled files)* | Override manifest source — use when you need docs for unreleased changes |

```sh
# Custom port
PAVE_UI_MCP_PORT=7000 npx @parkhub/pave-ui-mcp

# Point at a local Storybook (e.g. during active pave-ui development)
PAVE_UI_STORYBOOK_URL=http://localhost:6006 npx @parkhub/pave-ui-mcp

Related