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

@chinmoy_mitra/ui-craft

v0.4.5

Published

UI Design Assistant MCP server — psychology-backed design decisions

Readme

@chinmoy_mitra/ui-craft

Psychology-backed UI design assistant for AI coding agents — via Model Context Protocol (MCP)

Stop asking your agent to "make it look good." Give it a real design brain.


What It Does

UI Craft is an MCP server that plugs into your coding agent (GitHub Copilot, Claude, Cursor). When active, your agent can call it to get structured, research-backed UI design decisions for any page type.

Ask your agent:

Design a dashboard for developers focused on clarity

Get back:

  • Layout structure and grid recommendation
  • Typography rules (font size, line height, max-width)
  • Color strategy
  • Top 3 cognitive psychology principles that apply
  • High-impact UI transformation moves for greenfield or redesign work
  • Common mistakes to avoid
  • Quick checklist

Backed by 16 UI psychology principles — Gestalt, Fitts's Law, Hick's Law, Miller's Law, Halo Effect, Anchoring Bias, F-Pattern, and more.


Install

No install needed. Runs via npx on demand.


Setup

VS Code (GitHub Copilot / Claude)

Create .vscode/mcp.json in your project:

{
  "servers": {
    "ui-craft": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@chinmoy_mitra/ui-craft@latest"]
    }
  }
}

Restart VS Code. Switch Copilot Chat to Agent mode. Done.


Claude Code

Add to ~/.claude/settings.json:

{
  "mcpServers": {
    "ui-craft": {
      "command": "npx",
      "args": ["-y", "@chinmoy_mitra/ui-craft@latest"]
    }
  }
}

Cursor

Add to ~/.cursor/mcp.json (Mac/Linux) or %APPDATA%\Cursor\mcp.json (Windows):

{
  "mcpServers": {
    "ui-craft": {
      "command": "npx",
      "args": ["-y", "@chinmoy_mitra/ui-craft@latest"]
    }
  }
}

Usage

Once connected, ask your agent naturally in Agent mode:

Design a landing page for a B2B SaaS product focused on trust

What's the UI strategy for an onboarding flow for first-time users?

Design a settings page focused on clarity

The agent will automatically call the design_page tool and return a full design brief.


Available Tool

design_page

| Parameter | Type | Options | |---|---|---| | page_type | string | dashboard landing_page form settings onboarding pricing navigation | | audience | string | e.g. "B2B enterprise users", "first-time consumers" | | emphasis | string | clarity conversion trust speed | | context | string (optional) | Any additional context about your product |

get_project_context

Reads the current local project context from .vscode/ui-assistant/context.json.

set_project_context

Updates the local project context used by design_page.

Supported fields:

  • project_name
  • stack
  • audience
  • industry
  • brand.primary_color
  • brand.font
  • brand.theme
  • device_targets
  • custom_rules

Local Project Storage

UI Craft stores project-aware state inside the user workspace:

.vscode/ui-assistant/
  context.json
  state.json
  history.json
  notes.md

Resolution order:

  • UI_CRAFT_STORAGE_DIR for a direct storage folder override
  • UI_CRAFT_WORKSPACE_DIR for a workspace-root override
  • INIT_CWD when launched via npx
  • process.cwd() as the final fallback

Requirements

  • Node.js v18+
  • VS Code with GitHub Copilot, Claude Code, or Cursor

Roadmap

  • choose_palette — color system generator based on brand mood
  • improve_ui — critique existing JSX/HTML and suggest improvements
  • ask_ui — free-form UI Q&A
  • Theme support (light, dark, custom brand profiles)
  • Remote server (for claude.ai and browser-based agents)

Links


License

Apache-2.0