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-mcp

v0.0.9-alpha.1

Published

MCP server v0 for adding components and dependencies to projects

Readme

v0-mcp

This version is a conversion in development with frequent changes. Don't recommend to use it in production

This tool is built as an MCP (Model Context Protocol) server for using the v0 SDK, which is Vercel's AI-powered interface design tool that generates React components from natural language descriptions. The v0 SDK allows programmatic access to v0's code generation capabilities and enables management of UI components with proper TypeScript support, Tailwind CSS integration, and automatic dependency management. An AI assistant can ask v0 to create or fix components. This MCP server provides tools consisting of individual APIs that can be used in AI Code Assistant.

Environment Variables

# Required: Your v0.dev API key
V0_API_KEY=your_v0_api_key_here

# Optional: Custom base URL (defaults to https://api.v0.dev/v1)
V0_BASE_URL=https://api.v0.dev/v1

Getting your v0 API Key

  1. Go to v0.dev
  2. Sign in to your account
  3. Navigate to your account settings
  4. Generate an API key
  5. Copy the key and add it to your .env.local file

Installation

# Install dependencies
pnpm install

# Build the project
pnpm build

Tools

  • create_component: Creates a new React component using v0 API based on the provided description

MCP Configuration Example

Add this configuration to your MCP client (e.g., Claude Desktop, Continue, etc.):

Your MCP host application config file

{
  "mcpServers": {
    "v0-mcp": {
      "command": "node",
      "args": ["/path/to/v0-mcp/dist/mcp.js"],
      "env": {
        "V0_API_KEY": "your_v0_api_key_here"
      }
    }
  }
}

Claude Code

claude mcp add v0-mcp -e V0_API_KEY=your_api_key -- npx v0-mcp

or

claude mcp add v0-mcp -e V0_API_KEY=your_api_key -- npx tsx ./src/index.ts

How to test

Use mcp inspection or run code directly. You need to create ./env.local and update with your API key.

npx tsx ./mcp.test.ts

References

  • https://v0.dev/docs/v0-platform-api/quickstart
  • https://github.com/vercel/v0-sdk

License

@MIT