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

nishiken-ui-mcp-server

v0.1.5

Published

MCP Server for nishiken-ui design system - Global installation for team sharing

Readme

nishiken-ui-mcp-server

MCP (Model Context Protocol) server for nishiken-ui design system. This enables Claude Code to access nishiken-ui components, design tokens, and integration tools directly.

Installation

Global Installation (Recommended for Teams)

npm install -g nishiken-ui-mcp-server

Local Development Installation

git clone https://github.com/x24ken/nishiken-ui.git
cd nishiken-ui/design-system-mcp
npm install
npm run build

Configuration

Add the following to your Claude Code MCP settings:

Option 1: Using Global Command (Recommended)

{
  "mcpServers": {
    "nishiken-ui": {
      "command": "nishiken-ui-mcp"
    }
  }
}

Option 2: Using npx (Alternative)

{
  "mcpServers": {
    "nishiken-ui": {
      "command": "npx",
      "args": ["nishiken-ui-mcp-server"]
    }
  }
}

Option 3: Local Development Setup

{
  "mcpServers": {
    "nishiken-ui": {
      "command": "node",
      "args": ["/path/to/nishiken-ui/design-system-mcp/dist/server.js"],
      "env": {}
    }
  }
}

Team Setup Guide

  1. Install globally on each team member's machine:

    npm install -g nishiken-ui-mcp-server
  2. Configure Claude Code with the global command setting shown above.

  3. Start using nishiken-ui components directly in Claude Code conversations.

  4. Automatic updates: When nishiken-ui is updated, team members can run:

    npm update -g nishiken-ui-mcp-server

Available Tools

search_components

Search for components in the nishiken-ui design system.

Parameters:

  • query (string): Search keyword
  • category (string, optional): Component category (button, input, card, typography, label)

Usage Examples:

"Search for Button components"
"Show all input category components"

get_component_code

Get the source code for a specific component.

Parameters:

  • componentName (string): Component name
  • includeStories (boolean): Include Storybook stories
  • includeTypes (boolean): Include type definitions
  • includeIndex (boolean): Include index file

Usage Examples:

"Get Button component code with stories"
"Show Card component implementation"

get_design_tokens

Retrieve design tokens from the design system.

Parameters:

  • category (string, optional): Token category (color, spacing, border-radius, typography, shadow, animation)
  • format (string): Output format (json, css, js)

Usage Examples:

"Get color tokens in CSS format"
"Show all design tokens as JavaScript"

apply_theme_setup

Apply theme configuration to a project.

Parameters:

  • targetPath (string): Target project path
  • framework (string): Framework (react, next, vite)
  • typescript (boolean): Use TypeScript
  • setupTailwind (boolean): Setup Tailwind CSS v4

integrate_components

Integrate components into a project.

Parameters:

  • components (array): Component names to integrate
  • targetPath (string): Target project path
  • framework (string): Framework (react, next, vite)
  • setupStorybook (boolean): Include Storybook stories

Resources

  • nishiken-ui://components/catalog - Complete component catalog
  • nishiken-ui://design-tokens/colors - Color design tokens

Troubleshooting

MCP Server Not Recognized

  1. Verify Installation

    # Check if globally installed
    npm list -g nishiken-ui-mcp-server
       
    # Reinstall if needed
    npm install -g nishiken-ui-mcp-server
  2. Check Command

    # Test if command is available
    which nishiken-ui-mcp
       
    # Or try running directly
    nishiken-ui-mcp
  3. Restart Claude Code

    • Completely quit Claude Code
    • Restart the application
    • Try using the MCP server again

Testing the Server

Try these commands in Claude Code:

"Search for nishiken-ui components"
"Get Button component code"
"Show color design tokens"

Local Development Testing

For debugging during development:

cd design-system-mcp
npm run build
npm run start

Development

Architecture

  • ComponentReader: Analyzes component files and extracts metadata
  • TailwindTokenReader: Extracts design tokens from Tailwind CSS configuration
  • IntegrationManager: Handles project integration processes

Adding New Tools

To add new functionality:

  1. Add tool definition to ListToolsRequestSchema handler in src/server.ts
  2. Add processing logic to CallToolRequestSchema handler
  3. Create utility classes as needed

Testing

# Full test suite
npm run test

# Development mode (watch files)
npm run dev

# Type checking
npm run typecheck

Requirements

  • Node.js 18 or higher
  • nishiken-ui package (automatically installed as dependency)

License

MIT - See LICENSE file for details.