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

v0-ui-generator

v2.0.2

Published

Bring a design specialist to your AI workflow. 12 MCP tools connect v0 to Claude Code, GitHub Copilot, and any MCP-compatible agent — for design consultation, component generation, and iterative refinement. Free during preview.

Readme

VS Code Marketplace Installs npm License: MIT

Built with ☕, 🐈‍⬛, and far too many oklch values.

v0 UI Generator

Bring a design specialist to your project.

Generate, iterate, and consult on UI right in your editor — using your favourite AI assistant, powered by v0, delivered through MCP.



What this does

Your AI coding assistant is great at logic, architecture, and implementation. It is not always great at visual design. v0 is.

v0 UI Generator gives MCP-compatible assistants 12 tools for UI generation, design consultation, iterative refinement, project management, and deployment diagnostics. Your assistant can send v0 the right design context, receive generated React/TSX or design guidance, then adapt the result to your codebase conventions.

Claude Code is supported through the standalone MCP server. GitHub Copilot and other VS Code assistants can use the VS Code extension path. Other MCP-compatible tools can launch the npm package directly.

⚇   Agent in the loop

The real power is in how your assistant and v0 work together. Your assistant reads your code — the design tokens, the surface colors, the existing patterns — and gives v0 the context it needs. v0 comes back with expert design recommendations. Your assistant adapts them to your codebase conventions and applies the changes. One conversation, three capabilities working together.


❧   Design consultation

Tell your assistant what feels wrong — "the hover states feel invisible" or "this button doesn't match the rest of the UI." It reads your code, sends v0 the design context, and v0 comes back with specific fixes: oklch values, className snippets, multiple options ranked from subtle to expressive, and the rationale behind each choice.

"Why do my hover states disappear in dark mode?" "Is this button accessible on this surface?" "Give me three options for this card's focus state — subtle to bold."

✧   Component generation

Describe what you want in natural language. v0 generates production-ready React/TSX. Your assistant refines it with follow-up messages, extracts the files, and adapts them to your codebase patterns.

Perfect for: scaffolding new components, building themed interfaces, generating design system lookbooks, prototyping layouts.


v0 conversations persist across tool calls. Ask for a color palette, refine it with your constraints, generate a full interface, then iterate on the details — each message builds on the last. v0 learns your design language as the conversation progresses.

First pass not quite right? Send v0 your design system principles and it adjusts. Getting close but the shadows feel too heavy? Refine again. The conversation keeps its context so you're building on progress, not starting over.

Real workflow example:

  1. v0_generate_ui"Establish a celestial astrology color palette with oklch tokens"
  2. v0_refine_ui"Now build a chat interface using that palette"
  3. v0_refine_ui"Add a design manifest lookbook page"
  4. v0_get_files — Extract the generated components

✻   Use cases

| Scenario | What happens | | --------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | | "Fix the hover states on these buttons" | Your assistant reads the code and surface colors, v0 returns three options with oklch values, contrast ratios, and rationale — ranked subtle to expressive | | "Build a dark celestial chat interface" | v0 generates a full themed component — custom color tokens, micro-interactions, SVG icons, responsive layout | | "These don't match our design system" | Send v0 your design principles, it adjusts its recommendations to match your conventions | | "Create a design system lookbook" | v0 produces a visual reference page with color swatches, typography scale, and interactive component states | | "The shadow feels too heavy, make it more raised" | Refines the previous generation with your feedback — no re-explaining context, it remembers the conversation |


Getting started

Option A — VS Code extension

Use this path for GitHub Copilot and other VS Code assistants that consume VS Code MCP server definitions.

Requirements

Setup

  1. Install v0 UI Generator from the VS Code Marketplace.
  2. Run v0: Set API Key from the Command Palette (Ctrl+Shift+P).
  3. Confirm the status bar shows ✓ v0.
  4. Ask your VS Code assistant to use the v0 tools, or verify with v0_setup_check.

Option B — Standalone npm MCP server

Use this path for Claude Code, other MCP-compatible CLIs, IDEs, and agent runtimes.

Requirements

Generic MCP command

npx v0-ui-generator

Configure your MCP client to launch that command with V0_API_KEY in the server environment.

Claude Code example

claude mcp add v0-ui-generator -e V0_API_KEY=your-key-here -- npx v0-ui-generator

Restart your client session and verify with v0_setup_check.


| Tool | What it does | | ---------------------- | ---------------------------------------------------------------- | | Generation | | | v0_generate_ui | Generate UI from a text prompt — returns source files + chat URL | | v0_refine_ui | Iterate on an existing generation with follow-up context | | Extraction | | | v0_get_chat | Retrieve full chat history and metadata | | v0_get_files | Extract generated source files from a chat | | Chat management | | | v0_list_chats | List chats from the v0 API | | v0_list_active_chats | List chats tracked in the current session | | v0_set_active_chat | Switch which chat receives refinements | | Projects | | | v0_create_project | Create a v0 project with shared design instructions | | v0_list_projects | List all projects | | v0_assign_to_project | Assign a chat to a project | | Operations | | | v0_check_deployment | Get deployment logs and errors | | v0_setup_check | Validate API connectivity and account info |

Model selection

v0_generate_ui and v0_refine_ui accept current v0 model IDs:

  • v0-auto
  • v0-mini
  • v0-pro
  • v0-max
  • v0-max-fast

Omit model to let v0 choose the default model.

Built with

License

MIT