mcpField
U
uxui-principles

uxui-principles

Local
uxuiprinciples.comDeveloper Tools0Updated 1d ago

About uxui-principles

uxui-principles is an MCP server for UX/UI design and development, with cited principles, anti-patterns, and user-flow checklists. Its data works offline by default; an API key enables interface audits and other pro features.

Key features

  1. 01Search and filter 195 design principles
  2. 02View principle summaries and citations
  3. 03Detect 12 UX smells and get fixes
  4. 04Retrieve checklists for 12 user flows
  5. 05Use pro-mode interface audits and rule checks

Use cases

  1. 01Find relevant principles for form design
  2. 02Identify UX issues from an interface description
  3. 03Generate a checklist for a user flow
  4. 04Check whether an interface meets required-state rules

MCP support

The server communicates over stdio and registers 13 tools for MCP clients to query principles, smells, and flows. Setting UXUI_API_KEY also enables interface audits and requirement checks.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"joselhurtado-uxui-principles": {
"command": "npx",
"args": [
"-y",
"@uxuiprinciples/mcp-server"
],
"env": {
"UXUI_API_KEY": "<UXUI_API_KEY>"
}
}
}
}
Run commandnpx -y @uxuiprinciples/mcp-server
Environment variables to set
UXUI_API_KEYSecretOptional. Principles Library API key from uxuiprinciples.com/account. Unlocks full guide bodies, AI prompts, audit_interface and check_requirements. Without it the server runs offline on the bundled dataset.

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@uxuiprinciples/mcp-server1.3.0

Tools

13

Saved tool list · updated 4d ago

ParameterTypeRequiredDescription
slugstringYesThe principle slug as returned by search_principles or list_principles (e.g., "cognitive-load", "hicks-law", "fitts-law").
localeenumNoLanguage of the returned content: "en" (English) or "es" (Spanish). Defaults to "en".en | es

Details

From the project README

@uxuiprinciples/mcp-server

MCP server for UX/UI Principles: 195 research-backed principles with their citations, 12 UX smells with fix recipes and 12 user-flow checklists, in English and Spanish, inside Claude Code, Claude Desktop, Cursor, VS Code, Windsurf or any MCP client.

Free and offline by default: the dataset ships inside the package and the server makes no network call. A Principles Library API key turns on pro mode, which adds the full guide bodies, the AI prompts and an interface audit through the uxuiprinciples.com API.

What is MCP?

Model Context Protocol (MCP) is an open protocol that lets an AI assistant call external tools. This server speaks MCP over stdio and registers 13 tools.

Installation

Requires Node.js 18 or newer. npx -y fetches the latest version on first run.

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

Add --scope user to make it available in every project. Confirm with claude mcp list.

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows), then restart Claude Desktop:

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

Add to .cursor/mcp.json in the project (or ~/.cursor/mcp.json for every project), then enable the server in Cursor Settings, MCP:

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

Add to .vscode/mcp.json in the workspace, then start the server from the MCP panel or let Copilot agent mode start it:

{
  "servers": {
    "uxui-principles": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@uxuiprinciples/mcp-server"]
    }
  }
}
Windsurf

Add to ~/.codeium/windsurf/mcp_config.json, then refresh the MCP list in Cascade:

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

Point the client at the uxui-mcp binary instead of npx. Re-run the install to pick up new versions.

Pro mode (Principles Library key)

The Principles Library ($59/year) includes a REST API key. Give it to the server as the UXUI_API_KEY environment variable and four tools change:

ToolFree modePro mode
get_principleMetadata, summary, citations, linkThe same plus the full guide body in content
get_principle_promptsLink to the guideThe principle's AI prompts
audit_interfaceRefuses with the key hintFindings mapped to principles and smells, score, priority fixes
check_requirementsRefuses with the key hintPass or fail per required-state rule, each with its principle and citations

Everything else keeps running offline. If the API is unreachable, get_principle and get_principle_prompts fall back to the free answer and report the failure in proError; audit_interface and check_requirements return the error code.

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

For Claude Code: claude mcp add uxui-principles -e UXUI_API_KEY=uxui_live_... -- npx -y @uxuiprinciples/mcp-server. The key is read from the environment only and is never logged. Get or rotate yours at uxuiprinciples.com/account. The server's startup line on stderr says pro mode or free mode, and the instructions it hands the client say the same.

Available tools

Principles
ToolDescription
get_principleOne principle by slug: summary, citations (author, title, year, url) and the link to the full guide. Pro: the full guide body
search_principlesSearch by query, part, difficulty, or tags
list_principlesList all principles or filter by part
get_principle_promptsThe AI prompts for a principle. Pro: the prompt texts; free: the link to the guide
Smells (anti-patterns)
ToolDescription
get_smellGet a smell with symptoms and fix recipe
list_smellsList all smells, optionally by category
detect_smellDetect smells from a UI description, written in English or Spanish
suggest_fixGet fix suggestions for a UX issue
Flows (user journeys)
ToolDescription
get_flowGet a flow with pre/post-flight checklists
list_flowsList all available flows
generate_checklistGenerate checklist for a flow phase
get_flow_principlesGet key principles for a flow
Pro
ToolDescription
audit_interfaceAudit a described screen (20 to 5,000 characters): findings with severity, remediation and business impact, score, interface type, strengths and the three priority fixes. Needs UXUI_API_KEY
check_requirementsCheck a screen given as data (flow, components, actions with consequential and automated flags, states implemented) against eight required-state rules: confirmation before consequential actions, error, empty and loading states, undo or edit, sources on AI output, recovery after an AI error, consent before automation. Pass, fail or not_applicable per rule with the principle and its citations, plus a markdown summary. Needs UXUI_API_KEY

Usage examples

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
...
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"]

With a key:

You: Audit this checkout: three steps, no order summary until the last one, the Pay button is disabled with no explanation until every field validates.

Claude: [Calls audit_interface with the description]
Score 58, fair. Two warnings: Visibility of System Status (order summary hidden) and Silent Errors (disabled button without feedback). Priority fix: ...

After building a screen:

You: Build the settings page: profile form, an AI summary of recent activity, and a danger zone with "Delete account". Then check it.

Claude: [Builds the page, then calls check_requirements with flow "settings", the components, the actions (Delete account flagged consequential) and the states it implemented]
3 of 6 applicable rules fail: undo-or-edit (User Control and Freedom, Nielsen 1994), show-sources (AI Source Citations, Liu et al. 2023), ai-error-recovery (Efficient AI Correction, Amershi et al. 2019). Adding an undo toast, a sources line under the summary and a regenerate control...

Bilingual support

All tools accept locale: "en" | "es". detect_smell and suggest_fix understand descriptions written in either language whatever the locale:

search_principles({ query: "navegación", locale: "es" })
detect_smell({ description: "el formulario es demasiado largo", locale: "es" })

Data included

  • 195 principles across 6 parts, with 500+ bibliographic references returned by get_principle (the guides cite 2,400+ academic citations in full)
  • 12 UX smells with fix recipes
  • 12 user flows with checklists
  • Bilingual (English + Spanish)

Local development

git clone https://github.com/joselhurtado/uxuiprinciples-web.git
cd uxuiprinciples-web
npm install
npm run build --workspace=@uxuiprinciples/principles-data
npm run build --workspace=@uxuiprinciples/mcp-server
node packages/mcp-server/dist/index.js

npm run smoke-test --workspace=@uxuiprinciples/mcp-server packs the build, installs it in a temp project and drives both modes over stdio (pro mode against a local fake of the API). server.json next to this README is the MCP Registry manifest; publish with mcp-publisher publish after the npm release.

License

MIT © UX/UI Principles

Links

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.