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 🙏

© 2025 – Pkg Stats / Ryan Hefner

vue-bits-mcp-server

v1.0.11

Published

MCP server for Vue Bits animated components library

Downloads

19

Readme

Vue Bits MCP Server

A Model Context Protocol (MCP) server that provides intelligent access to the Vue Bits animated components library. This tool enables AI assistants to search, analyze, and provide detailed information about 40+ high-quality Vue animation components.

Features

🔍 Smart Component Search - Find components by name, category, functionality, or tags
📋 Complete Code Access - Get full Vue component source code with TypeScript support
⚙️ Detailed Props Documentation - Comprehensive property information with types and defaults
📦 Dependency Analysis - Automatic dependency detection and installation commands
🎯 Intelligent Recommendations - Get personalized component suggestions
📊 Library Statistics - Comprehensive metadata about the component library

Component Categories

  • Text Animations (19 components) - Split Text, Blur Text, Circular Text, Shiny Text, etc.
  • Animations (12 components) - Splash Cursor, Pixel Transition, Magnet Lines, etc.
  • Components (16 components) - Masonry, Profile Card, Carousel, Spotlight Card, etc.
  • Backgrounds (14 components) - Aurora, Beams, Particles, Lightning, etc.

Installation

npm install vue-bits-mcp

Usage

As MCP Server

Add to your MCP client configuration:

{
  "mcpServers": {
    "vue-bits": {
      "command": "vue-bits-mcp",
      "env": {
        "VUE_BITS_PATH": "/path/to/vue-bits"
      }
    }
  }
}

Command Line

# Start MCP server
vue-bits-mcp

# Parse components with custom path
vue-bits-mcp --vue-bits-path /path/to/vue-bits

# Force re-parse components
vue-bits-mcp --parse

# Show help
vue-bits-mcp --help

Available Tools

search_vue_components

Search for components by name, category, or functionality.

{
  query: string;           // Search query
  category?: string;       // Filter by category
  subcategory?: string;    // Filter by subcategory
  tags?: string[];         // Filter by tags
  complexity?: string;     // Filter by complexity
  performance?: string;    // Filter by performance
  limit?: number;          // Max results (default: 10)
}

get_component_code

Get complete component source code and implementation details.

{
  componentId: string;     // Component ID (required)
  componentName?: string;  // Alternative to ID
  includeProps?: boolean;  // Include props docs (default: true)
  includeExamples?: boolean; // Include examples (default: true)
}

get_component_props

Get detailed information about component properties.

{
  componentId: string;     // Component ID (required)
  componentName?: string;  // Alternative to ID
}

list_categories

List all available component categories and subcategories.

{
  includeSubcategories?: boolean; // Include subcategories (default: true)
  includeStats?: boolean;         // Include counts (default: true)
}

get_installation_guide

Get installation and setup instructions for a component.

{
  componentId: string;     // Component ID (required)
  componentName?: string;  // Alternative to ID
  projectType?: string;    // Target project type (default: 'vue3')
}

analyze_dependencies

Analyze dependencies for multiple components.

{
  componentIds: string[];          // List of component IDs
  includeDevDependencies?: boolean; // Include dev deps (default: false)
  packageManager?: string;         // npm/yarn/pnpm (default: 'npm')
}

get_similar_components

Find components similar to a given component.

{
  componentId: string; // Reference component ID
  limit?: number;      // Max results (default: 5)
}

get_popular_components

Get the most popular and commonly used components.

{
  category?: string; // Filter by category
  limit?: number;    // Max results (default: 10)
}

get_recommendations

Get personalized component recommendations.

{
  categories?: string[];   // Preferred categories
  complexity?: string;     // Preferred complexity
  performance?: string;    // Required performance
  tags?: string[];         // Preferred tags
  projectType?: string;    // Project type context
}

get_component_metadata

Get comprehensive metadata about the library.

{
  includeStats?: boolean;        // Include statistics (default: true)
  includeDependencies?: boolean; // Include dependency analysis (default: true)
  includeTags?: boolean;         // Include tag statistics (default: true)
}

Configuration

Environment Variables

  • VUE_BITS_PATH - Path to the Vue Bits project directory (default: ../)

File Structure

vue-bits-mcp/
├── src/
│   ├── index.ts              # MCP server entry point
│   ├── tools/                # MCP tool definitions and handlers
│   ├── parsers/              # Component parsing and search engine
│   ├── data/                 # Cached component data
│   └── types/                # TypeScript type definitions
├── package.json
├── tsconfig.json
└── README.md

Development

# Install dependencies
npm install

# Build the project
npm run build

# Run in development mode
npm run dev

# Parse components manually
npm run parse-components

# Lint code
npm run lint

# Format code
npm run format

Example Usage

Search for text animation components

await callTool('search_vue_components', {
  query: 'text animation',
  category: 'TextAnimations',
  complexity: 'simple'
});

Get component code

await callTool('get_component_code', {
  componentId: 'textanimations-split-text',
  includeProps: true,
  includeExamples: true
});

Get installation guide

await callTool('get_installation_guide', {
  componentId: 'textanimations-split-text',
  projectType: 'nuxt3'
});

Analyze dependencies for multiple components

await callTool('analyze_dependencies', {
  componentIds: [
    'textanimations-split-text',
    'animations-splash-cursor',
    'backgrounds-aurora'
  ],
  packageManager: 'pnpm'
});

Technology Stack

  • Vue 3 - Component framework
  • TypeScript - Type safety
  • GSAP - Animation library
  • Three.js - 3D graphics
  • Matter.js - Physics engine
  • MCP SDK - Model Context Protocol

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests if applicable
  5. Submit a pull request

License

MIT License - see LICENSE file for details.

Related Projects

  • Vue Bits - The original Vue animation components library
  • React Bits - React version of the components library
  • MCP SDK - Model Context Protocol SDK

Support


Vue Bits MCP Server - Bringing intelligent component discovery to your AI workflow! 🚀