ux-mcp-server
v4.1.1UX toolkit: 28 knowledge resources, 23 analysis tools & 4 workflow prompts for any MCP client
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
analyze_accessibility
Analyze HTML/JSX code for accessibility issues based on WCAG guidelines. Returns specific violations and suggestions.
| Parameter | Type | Description |
|---|---|---|
code * | string | HTML or JSX code to analyze |
level | string | WCAG conformance level to check against |
review_usability
Review a UI description or code against Nielsen's usability heuristics. Provides ratings and specific recommendations.
| Parameter | Type | Description |
|---|---|---|
description * | string | Description of the UI or component to review |
code | string | Optional: Code implementation to review |
focus_heuristics | array | Optional: Specific heuristics to focus on (1-10) |
suggest_pattern
Suggest appropriate UI pattern for a given use case. Returns pattern details, best practices, and implementation guidance.
| Parameter | Type | Description |
|---|---|---|
use_case * | string | Description of what you're trying to build (e.g., 'user navigation', 'form validation', 'data display') |
constraints | string | Optional: Specific constraints or requirements |
generate_component_example
Generate framework-agnostic HTML/CSS example following UX best practices for a specific pattern.
| Parameter | Type | Description |
|---|---|---|
pattern * | string | Pattern name (e.g., 'search', 'modal', 'form', 'button', 'data-table') |
include_accessibility | boolean | Include ARIA attributes and accessibility features |
variant | string | Optional: Specific variant (e.g., 'primary', 'ghost', 'inline') |
audit_design_system
Audit design system implementation for consistency with best practices. Checks tokens, naming, and structure.
| Parameter | Type | Description |
|---|---|---|
tokens * | string | JSON or CSS of design tokens to audit |
type | string | Type of tokens to audit |
check_contrast
Check color contrast ratio for WCAG compliance. Supports hex, rgb, and named colors.
| Parameter | Type | Description |
|---|---|---|
background * | string | Background color |
foreground * | string | Foreground color (text) |
large_text | boolean | Is the text large (18pt+ or 14pt+ bold)? |
level | string | WCAG level to check |
check_responsive
Analyze code for mobile-first principles and responsive design issues. Checks viewport meta, touch targets, and breakpoints.
| Parameter | Type | Description |
|---|---|---|
code * | string | HTML/CSS code to analyze |
check_type | string | Specific responsive aspect to check |
suggest_error_message
Get user-friendly error message suggestions for specific scenarios. Returns message, tone guidance, and accessibility considerations.
| Parameter | Type | Description |
|---|---|---|
scenario * | string | Error scenario (e.g., 'invalid email', 'required field', 'payment failed', 'file too large') |
context | string | Optional: Additional context about the error |
technical_message | string | Optional: Technical error message to translate to user-friendly language |
analyze_performance
Analyze code for performance issues and Core Web Vitals optimization. Checks resource loading, image optimization, and rendering performance.
| Parameter | Type | Description |
|---|---|---|
code * | string | HTML/CSS/JS code to analyze |
check_type | string | Specific performance aspect to check |
check_seo
Analyze HTML for SEO best practices. Checks meta tags, Open Graph, structured data, and technical SEO elements.
| Parameter | Type | Description |
|---|---|---|
html * | string | HTML code to analyze |
url | string | Optional: Page URL for context |
suggest_animation
Suggest appropriate animation for a UI interaction. Returns animation type, duration, easing, and implementation guidance.
| Parameter | Type | Description |
|---|---|---|
interaction * | string | UI interaction to animate (e.g., 'button click', 'modal open', 'list item add', 'page transition') |
context | string | Optional: Additional context about the interaction |
generate_color_palette
Generate accessible color palette from a base color. Returns primary, secondary, neutral, and semantic colors with WCAG-compliant variations.
| Parameter | Type | Description |
|---|---|---|
base_color * | string | Base color (hex, rgb, or color name) |
harmony_type | string | Color harmony type to generate |
include_neutrals | boolean | Include grayscale neutrals |
generate_typography_scale
Calculate modular typography scale with recommended sizes for headings and body text. Returns complete type scale with line heights.
| Parameter | Type | Description |
|---|---|---|
base_size | number | Base font size in pixels (typically 16) |
scale_ratio | number | Scale ratio (e.g., 1.2 for minor third, 1.5 for perfect fifth) |
steps | number | Number of steps to generate (up and down from base) |
suggest_microcopy
Suggest user-friendly microcopy for UI elements. Returns context-aware suggestions for buttons, labels, messages, and help text.
| Parameter | Type | Description |
|---|---|---|
context * | string | Context of the element (e.g., 'login button', 'email field', 'payment success') |
element_type * | string | Type of UI element needing copy |
tone | string | Desired tone of voice |
suggest_form_pattern
Recommend optimal form layout and validation pattern. Returns layout recommendations, field types, and validation strategies.
| Parameter | Type | Description |
|---|---|---|
form_type * | string | Type of form (e.g., 'login', 'registration', 'checkout', 'contact', 'search') |
field_count | number | Approximate number of fields |
platform | string | Target platform |
analyze_data_viz
Review data visualization for accessibility and clarity. Checks chart type appropriateness, color usage, labels, and accessibility.
| Parameter | Type | Description |
|---|---|---|
chart_type * | string | Type of chart/visualization (e.g., 'bar chart', 'line chart', 'pie chart', 'scatter plot') |
data_description * | string | Description of the data being visualized |
purpose | string | Purpose of the visualization (e.g., 'comparison', 'trend', 'composition', 'distribution') |
generate_accessibility_report
Generate comprehensive accessibility audit report. Checks WCAG compliance, keyboard navigation, screen reader compatibility, and semantic HTML.
| Parameter | Type | Description |
|---|---|---|
url * | string | URL or page identifier to audit |
wcag_level | string | WCAG compliance level to check against |
suggest_ab_variant
Suggest A/B test variants for optimization. Provides hypothesis, variant designs, and metrics to track.
| Parameter | Type | Description |
|---|---|---|
element * | string | Element to test (e.g., 'CTA button', 'headline', 'pricing page', 'checkout flow') |
goal * | string | Desired outcome (e.g., 'increase conversions', 'reduce bounce', 'improve engagement') |
current_performance | string | Current metric (e.g., '2% conversion rate', '60% bounce rate') |
analyze_information_architecture
Analyze and suggest improvements to information architecture. Reviews navigation, labeling, hierarchy, and content organization.
| Parameter | Type | Description |
|---|---|---|
site_structure * | string | Description or sitemap of current structure |
user_goals * | string | Primary user goals and tasks |
issues | string | Known issues or pain points (optional) |
detect_dark_patterns
Detect dark patterns and ethical design violations. Identifies manipulative UI practices and suggests ethical alternatives.
| Parameter | Type | Description |
|---|---|---|
flow_description * | string | Description of user flow or interface (e.g., 'subscription cancellation', 'cookie consent', 'checkout') |
screenshot_url | string | URL to screenshot (optional) |
calculate_ux_metrics
Calculate key UX metrics and benchmarks. Computes SUS score, NPS, task success rate, and provides interpretation.
| Parameter | Type | Description |
|---|---|---|
data * | string | Raw data (e.g., 'SUS responses: 4,2,5,4,3,2,5,4,4,3' or 'NPS scores: 9,8,10,7,6,9,10') |
metric_type * | string | Type of UX metric to calculate |
generate_wireframe
Generate ASCII wireframe mockup for a page or component. Creates low-fidelity layout sketch using text characters.
| Parameter | Type | Description |
|---|---|---|
page_type * | string | Type of page/component (e.g., 'login page', 'dashboard', 'product card', 'navigation header') |
elements | string | Key elements to include (e.g., 'logo, search bar, user menu, main content area') |
layout | string | Overall layout structure |
suggest_microinteraction
Suggest microinteractions for UI elements. Provides animation, feedback, and transition recommendations.
| Parameter | Type | Description |
|---|---|---|
element * | string | UI element (e.g., 'button', 'toggle switch', 'like button', 'form submission', 'loading') |
context | string | Context of interaction (e.g., 'delete action', 'successful save', 'error state') |
platform | string | Target platform |