๐จ UI/UX Pro MCP Server
AI-powered UI/UX design intelligence โ Instantly access 1,920+ curated design resources through natural language search.
โจ Features
Platform-Specific Design
- iOS Human Interface Guidelines (110 patterns) โ Colors, typography, navigation, gestures, accessibility with SwiftUI, Flutter, React Native code
- Android Material 3 Design (112 patterns) โ Dynamic color, typography, components, elevation, motion with Compose, Flutter, React Native code
- Cross-platform code equivalents โ Every pattern includes Flutter_Equiv and RN_Equiv for building native-feeling apps without native code
- Auto-detection from keywords โ Queries containing iOS/Android keywords automatically boost platform-specific results
๐ Quick Start
Option 1: NPX (Recommended)
npx ui-ux-pro-mcp
Option 2: Global Install
npm install -g ui-ux-pro-mcp
ui-ux-pro-mcp
Option 3: From Source
# Clone the repository
git clone https://github.com/redf0x1/ui-ux-pro-mcp.git
cd ui-ux-pro-mcp
# Install dependencies
npm install
# Build the project
npm run build
# Run the server
npm start
โ๏ธ MCP Configuration
VS Code / Cursor
Add to your MCP settings (settings.json or mcp.json):
Option A: Using NPX (Recommended - No Installation Required)
{
"mcpServers": {
"ui-ux-pro": {
"command": "npx",
"args": ["ui-ux-pro-mcp", "--stdio"]
}
}
}
Option B: Using Global Install
{
"mcpServers": {
"ui-ux-pro": {
"command": "ui-ux-pro-mcp",
"args": ["--stdio"]
}
}
}
Option C: From Source
{
"mcpServers": {
"ui-ux-pro": {
"command": "node",
"args": [
"/path/to/ui-ux-pro-mcp/dist/index.js",
"--stdio"
]
}
}
}
Configuration file locations:
Claude Desktop
Add to your Claude Desktop configuration:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Option A: Using NPX (Recommended - No Installation Required)
{
"mcpServers": {
"ui-ux-pro": {
"command": "npx",
"args": ["ui-ux-pro-mcp", "--stdio"]
}
}
}
Option B: Using Global Install
{
"mcpServers": {
"ui-ux-pro": {
"command": "ui-ux-pro-mcp",
"args": ["--stdio"]
}
}
}
Option C: From Source
{
"mcpServers": {
"ui-ux-pro": {
"command": "node",
"args": [
"/path/to/ui-ux-pro-mcp/dist/index.js",
"--stdio"
]
}
}
}
๐ง Available Tools
AI-Optimized Query Processing
The get_design_system tool uses intelligent query processing optimized for AI model consumers:
Position-Weighted Intent Classification
Queries are processed left-to-right with multi-word phrase priority:
- Multi-word phrases first: "landing page", "admin panel", "hero section" have higher priority
- Then single words: "dashboard", "landing", "analytics"
- Position matters: Earlier keywords get higher confidence (5% penalty per word position)
Examples:
AI-Optimized Output Structure
The _meta field provides transparency for AI models:
{
"_meta": {
"query_interpretation": "SaaS landing page with glassmorphism (dark mode)",
"detected_intent": "landing",
"intent_confidence": 0.85,
"matched_keyword": "landing page",
"keyword_position": 1,
"warnings": []
}
}
Dark Mode Color Parsing
When mode: "dark", the tool:
- Searches for dark-mode compatible palettes
- Parses
Dark_Mode_ColorsJSON from the database - Replaces palette colors with dark mode equivalents
- Includes both light and dark mode palettes in response
Code-Ready Snippets
Colors include ready-to-paste code:
{
"colors": {
"css_variables": "--primary: #0066FF; --background: #0A0E14; --text: #E5E5E5;",
"tailwind_config": "colors: { primary: '#0066FF', ... }"
}
}
Layout Source Indicator
The layout.source field tells AI models where the layout recommendation came from:
"landing"- From landing page patterns database"dashboard"- From product's dashboard style recommendation
๐ฌ Example Prompts
Use these with Claude, Cursor, or any MCP-compatible AI:
๐จ Design Systems
"What UI style works best for a fintech dashboard?"
"Give me a color palette for a healthcare app"
"Find modern font pairings for a SaaS landing page"
๐ Data Visualization
"What chart type should I use for time-series data?"
"How do I make charts accessible?"
๐ฅ๏ธ Landing Pages
"Show me landing page patterns for SaaS conversion"
"What sections should a pricing page have?"
๐ฑ UX Guidelines
"What are mobile touch target best practices?"
"Show me accessibility guidelines for forms"
โ๏ธ Framework-Specific
"React hooks best practices"
"Vue 3 composition API patterns"
"Next.js App Router guidelines"
"Flutter state management recommendations"
๐ฑ Platform Guidelines (NEW)
"iOS navigation patterns"
"Android Material 3 color system"
"SwiftUI style without Swift" โ Flutter/RN equivalents
"iOS typography guidelines with Flutter equivalent"
"Android dynamic color implementation"
Platform Keyword Triggers
The search engine automatically detects platform intent from these keywords:
Cross-Platform Query Examples
๐ iOS Design Without Swift
Query: "SwiftUI style flutter e-commerce"
Returns: iOS HIG patterns with Flutter_Equiv code (CupertinoWidgets)
๐ค Android Material 3
Query: "material design android dashboard"
Returns: Material 3 patterns with Compose, Flutter, RN equivalents
๐ Cross-Platform Patterns
Query: "iOS navigation patterns react native"
Returns: iOS navigation guidelines with RN_Equiv implementations
๐ Data Sources
This server aggregates curated design intelligence from multiple domains:
Available Framework Stacks:
flutter ยท html-tailwind ยท jetpack-compose ยท nextjs ยท nuxt-ui ยท nuxtjs ยท react-native ยท react ยท shadcn ยท svelte ยท swiftui ยท vue
Platform-Specific Guidelines:
ios (110 entries) ยท android (112 entries)
Platform data includes:
- Flutter_Equiv: CupertinoWidgets/Material widget equivalents
- RN_Equiv: React Native implementation patterns
- Categories: Colors, Typography, Spacing, Components, Navigation, Gestures/Shapes, Animation/Motion, Icons, Layout, Accessibility
๐ API Reference
Common Input Parameters
All search tools accept:
search_stack Additional Parameter
Response Format
All tools return results in this structure:
{
results: Array<{
id: string; // Document identifier
score: number; // BM25 relevance score
type: string; // Document type (style, color, etc.)
data: object; // Full document data
}>;
total: number; // Total results returned
query: string; // Original search query
}
Error Response
{
error: string; // Error description
}
๐ ๏ธ Development
Build Commands
# Build TypeScript to JavaScript
npm run build
# Development mode with hot reload
npm run dev
# Start production server (stdio mode)
npm start
# Start HTTP server for testing
npm run start:http
Testing
# Run test suite
npm test
HTTP Mode for Testing
The server can run in HTTP mode for testing without MCP clients:
# Start HTTP server on port 3456
PORT=3456 npm run start:http
Then test with curl:
curl -X POST http://localhost:3456/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"tools/call","params":{"name":"search_colors","arguments":{"query":"fintech"}},"id":1}'
Project Structure
ui-ux-pro-mcp/
โโโ src/
โ โโโ index.ts # MCP server entry point
โ โโโ data/
โ โ โโโ loader.ts # CSV data loading utilities
โ โโโ search/
โ โ โโโ bm25.ts # BM25 search implementation
โ โโโ tools/
โ โโโ index.ts # Tool exports
โ โโโ handlers.ts # Search handlers
โโโ data/
โ โโโ *.csv # Design domain data files
โ โโโ stacks/ # Framework-specific guidelines (12 stacks)
โ โโโ platforms/ # Platform guidelines (iOS HIG, Android M3)
โโโ dist/ # Compiled JavaScript output
๐ Environment Variables
๐ HTTP Transport Mode
For development and testing, you can run the server in HTTP mode:
# Start HTTP server
npm run start:http
# Server runs at http://localhost:3000
# SSE endpoint: GET /sse
# Message endpoint: POST /message
Test with curl:
curl -X POST http://localhost:3000/message \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_colors","arguments":{"query":"fintech"}}}'
โ Troubleshooting
MCP Connection Issues
"Cannot find MCP server"
- Ensure
npm run buildcompleted successfully - Check the path in your MCP config points to
dist/index.js - Verify Node.js is in your PATH
"No results returned"
- Try broader search terms
- Use
search_allfor cross-domain queries - Check if the domain matches your query type
"Server not responding"
- Restart VS Code/Claude Desktop
- Check terminal for error messages
- Verify the server process is running
Common Queries
๏ฟฝ Contact
๏ฟฝ๐ License
MIT License โ see LICENSE for details.
๐ Acknowledgments
- Original Data: Based on nextlevelbuilder/ui-ux-pro-max-skill
- MCP SDK: Built with @modelcontextprotocol/sdk
- Search: BM25 ranking algorithm for relevance scoring
โญ Star this repo if you find it useful!
Made with โค๏ธ by redf0x1