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

@uxuiprinciples/mcp-server

v1.1.6

Published

MCP server for UX/UI Principles - 185 research-backed principles, UX smells, and flow checklists for Claude Desktop and Claude Code.

Readme

@uxuiprinciples/mcp-server

MCP Server for UX/UI Principles — Agentic AI tools for Claude Code and Claude Desktop.

What is MCP?

Model Context Protocol (MCP) is an open protocol that enables AI assistants like Claude to interact with external tools and data sources. This server provides 12 tools for accessing 185 research-backed UX/UI principles.

Installation

Claude Desktop

Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "uxui-principles": {
      "command": "npx",
      "args": ["-y", "@uxuiprinciples/mcp-server"]
    }
  }
}

Restart Claude Desktop to activate.

Claude Code

claude mcp add uxui-principles -- npx -y @uxuiprinciples/mcp-server

Global Install

npm install -g @uxuiprinciples/mcp-server
uxui-mcp

Available Tools

Principle Tools

| Tool | Description | |------|-------------| | get_principle | Get a principle by slug with full content | | search_principles | Search by query, part, difficulty, or tags | | list_principles | List all principles or filter by part | | get_principle_prompts | Get vibe coding prompts for a principle |

Smell Tools (Anti-patterns)

| Tool | Description | |------|-------------| | get_smell | Get a smell with symptoms and fix recipe | | list_smells | List all smells, optionally by category | | detect_smell | Detect smells from a UI description | | suggest_fix | Get fix suggestions for a UX issue |

Flow Tools (User Journeys)

| Tool | Description | |------|-------------| | get_flow | Get a flow with pre/post-flight checklists | | list_flows | List all available flows | | generate_checklist | Generate checklist for a flow phase | | get_flow_principles | Get key principles for a flow |

Usage Examples

In Claude Desktop/Code

You: What principle should I follow for form design?

Claude: Let me search for form-related principles...
[Calls search_principles with query="form"]

Based on the UX/UI Principles database, here are the key principles for form design:
1. Progressive Disclosure (D.1.1.01) - Show only essential fields initially
2. Inline Validation - Validate as users type
3. Smart Defaults - Pre-fill common choices
...

Agentic Workflow

You: My login form has a 60% abandonment rate. Help me fix it.

Claude: Let me detect potential UX issues...
[Calls detect_smell with description="login form high abandonment"]

I detected "Form Graveyard" smell with high confidence. Let me get the fix recipe...
[Calls get_smell with id="form-graveyard"]

Here's my analysis and recommendations:
1. Reduce fields to email + password only
2. Add social login options
3. Use inline validation
...

Let me also get the flow checklist for the form...
[Calls generate_checklist with flow_id="forms" phase="postflight"]

Bilingual Support

All tools support English (en) and Spanish (es):

search_principles({ query: "navegación", locale: "es" })

Data Included

  • 185 principles across 6 parts
  • 8 UX smells with fix recipes
  • 5 user flows with checklists
  • 2,098 academic citations
  • Bilingual (English + Spanish)

Local Development

# Clone the repo
git clone https://github.com/joselhurtado/uxuiprinciples-web.git
cd uxuiprinciples-web

# Install dependencies
npm install

# Build packages
npm run build --workspace=@uxuiprinciples/principles-data
npm run build --workspace=@uxuiprinciples/mcp-server

# Run locally
node packages/mcp-server/dist/index.js

License

MIT © UX/UI Principles

Links