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

magicui-mcp

v1.0.1

Published

A Model Context Protocol (MCP) service for Magic UI components

Readme

Model Context Protocol (MCP) for Magic UI Components

This MCP server provides AI assistants with comprehensive information about Magic UI components, enabling them to effectively understand, recommend, and use these components in development projects.

Note: This is an MCP wrapper for Magic UI, a beautiful UI component library. Visit the original repository for more information.

Overview

The Magic UI MCP service allows AI to:

  • Access detailed documentation for Magic UI components
  • Discover components by name or type
  • Get installation and usage instructions
  • Understand component props and API
  • Receive recommendations for specific use cases

Installation

The package is now available on npm and can be installed using the following commands:

Option 1: Install globally from npm

# Install globally
npm install -g magicui-mcp
# or
npm i -g magicui-mcp

# Run the server
magicui-mcp

Option 2: Use with npx (no installation required)

npx magicui-mcp

Option 3: Clone and build from source

# Clone the repository
git clone https://github.com/HanlunWang/magicui-mcp.git
cd magicui-mcp

# Install dependencies
npm install

# Build the project
npm run build

# Run the server
npm start

CLI Options

Usage:
  npx magicui-mcp [options]

Options:
  -h, --help      Show this help message
  -v, --version   Show version information
  -p, --port      Specify the port to run the server on (default: 3000)

Using with Claude for Desktop

  1. Make sure you have Claude for Desktop installed and updated
  2. Open your Claude configuration file:
# On macOS
code ~/Library/Application\ Support/Claude/claude_desktop_config.json

# On Windows
code %APPDATA%\Claude\claude_desktop_config.json
  1. Add the Magic UI MCP server to your configuration:
{
  "mcpServers": {
    "magicui": {
      "command": "npx",
      "args": ["magicui-mcp"]
    }
  }
}
  1. Save the file and restart Claude for Desktop
  2. You should now see the hammer icon in the chat interface indicating MCP tools are available

Using with Cursor

  1. Make sure you have Cursor installed and updated
  2. Open Cursor and ensure the Cursor Composer is enabled
  3. Open the MCP configuration panel in Cursor's settings
  4. Add a new MCP server with the following settings:
    • Name: Magic UI
    • Command: npx
    • Arguments: magicui-mcp
  5. Save the configuration
  6. The Magic UI MCP tools should now be available in the Cursor Composer

Available Tools

The Magic UI MCP server provides the following tools:

  • getComponent: Retrieve detailed information about a specific component by name
  • getComponentsByType: Find components by their type (e.g., "button", "input")
  • getAllComponents: List all available Magic UI components

Example Queries

When using Claude or Cursor with the Magic UI MCP:

  • "What components are available in Magic UI?"
  • "Show me how to use the ShimmerButton component"
  • "I need a button with a glowing effect, what component should I use?"
  • "What props does the GlowButton accept?"
  • "Help me implement a Magic UI component for my React application"

Contributing

To add or update component information, modify the database.ts file in the src directory and rebuild the project.

License

MIT