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

vue-harvest-mcp

v0.0.4

Published

MCP server for AI-assisted Vue component extraction and design system analysis

Readme

vue-harvest-mcp

MCP server for AI-assisted Vue component extraction and design system analysis.

This is the intelligence layer for vue-harvest. It picks up where the CLI leaves off, handling the components in the 30-70% confidence range that need reasoning to extract safely.

Setup

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "vue-harvest": {
      "command": "vue-harvest-mcp"
    }
  }
}

Claude Code

claude mcp add vue-harvest vue-harvest-mcp

Cursor / other MCP clients

npx vue-harvest-mcp

The server communicates over stdio using the Model Context Protocol.

Tools

The server exposes 12 tools:

Analysis

| Tool | Description | |------|-------------| | analyze-project | Runs the full vue-harvest pipeline on a project. Required before using other tools. Takes a path argument. | | list-components | Lists components with optional filters: tier, minConfidence, maxConfidence. | | inspect-component | Returns the full analysis of a component including source code, interface, dependencies, and coupling issues. | | coupling-report | Generates a project-wide coupling report grouped by issue type. Good for spotting systemic patterns. |

Extraction

| Tool | Description | |------|-------------| | extract-component | Extracts a component into a standalone bundle. Set force: true to extract below threshold. | | deep-analyze | Structured coupling analysis with source code. Returns data the LLM can reason about to suggest fixes. | | suggest-refactor | Generates concrete refactoring suggestions with before/after code snippets. | | generate-wrapper | Creates a composable wrapper that abstracts store access away from a component. | | adapt-and-extract | Rewrites a component to remove all coupling, then extracts it. Best for the 30-70% confidence range. | | batch-triage | Triages all reviewable components at once with prioritized effort estimates. |

Design system

| Tool | Description | |------|-------------| | analyze-design-system | Extracts design tokens (colors, typography, spacing, shadows) from a project. | | get-design-tokens | Returns extracted tokens, optionally filtered by type (color, font-size, spacing, etc). |

Resources

After running analyze-project, these resources become available:

  • harvest://registry : full component registry JSON
  • harvest://graph : dependency graph (nodes, edges, cycles)
  • harvest://summary : analysis summary
  • harvest://component/{name} : individual component analysis
  • harvest://design-system : extracted design tokens

Prompts

| Prompt | Description | |--------|-------------| | analyze-new-project | Guided first analysis of a Vue project | | extraction-sprint | Batch refactor and extract session | | refactor-component | Single component deep refactor | | extract-design-system | Design token extraction and analysis |

Typical workflow

  1. Ask the LLM to analyze your project. It will run analyze-project.
  2. Ask what needs review. It will use list-components and batch-triage.
  3. For each reviewable component, the LLM can deep-analyze it, figure out the right approach, and either suggest-refactor, generate-wrapper, or adapt-and-extract.
  4. For design tokens, ask the LLM to run analyze-design-system and recommend a naming convention.

Example prompts you can use

"Analyze my Vue project at /path/to/project"

"Show me all components between 40% and 70% confidence"

"Deep analyze the UserProfileCard and suggest how to remove the store dependency"

"Do an extraction sprint, start with the easiest wins"

"Extract the design tokens and suggest a consistent naming scheme"

Requirements

  • Node.js 20+
  • An MCP-compatible client (Claude Desktop, Claude Code, Cursor, etc)

License

MIT