CatchUI
What is this UI element called? 50 curated UI patterns, names per platform, build prompts. EN/中文.
我該用這個嗎
品質與安全性
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"ui-patterns": {
"url": "https://catchui.com/api/mcp"
}
}
}遠端端點
https://catchui.com/api/mcpstreamable-http它能做什麼
工具清單
工具(6)
🟢search_ui_patterns(query, limit)
Finds the conventional name of a UI element or design pattern from a plain-language description, question or term — e.g. "the bar at the bottom of an app", "three horizontal lines icon", "the black bar at the top of iPhone", "汉堡菜单". Searches CatchUI's curated catalog of 50 patterns and returns names in English and Chinese, definitions, the best-matching Q&A and each entry's catalog URL. Use when someone asks what a UI element is called or what a UI/UX term means.
輸入結構描述
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Description, question, or name of a UI element, in English or Chinese."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 10,
"default": 5,
"description": "Maximum number of matches to return."
}
},
"required": [
"query"
],
"additionalProperties": false
}🟢get_ui_pattern(id)
Returns the full CatchUI entry for one UI pattern by id (e.g. "tabbar", "bottomsheet"): definition in English and Chinese, pronunciation, aliases, how people describe it, component names per platform, an implementation prompt, real search questions with answers, related patterns and the catalog URL. Takes an id; search_ui_patterns finds ids from descriptions.
輸入結構描述
{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "CatchUI pattern id, e.g. \"tabbar\". list_ui_patterns lists every id."
}
},
"required": [
"id"
],
"additionalProperties": false
}🟢list_ui_patterns(family)
Lists the 50 UI patterns in CatchUI's curated catalog — ids, English and Chinese names and one-line definitions — grouped by family, optionally filtered to one family (NAV, INPUT, ACTION, OVERLAY, FEEDBACK, CONTENT, DATA, SYSTEM).
輸入結構描述
{
"type": "object",
"properties": {
"family": {
"type": "string",
"enum": [
"NAV",
"INPUT",
"ACTION",
"OVERLAY",
"FEEDBACK",
"CONTENT",
"DATA",
"SYSTEM"
],
"description": "Only list patterns in this family."
}
},
"additionalProperties": false
}🟢compare_ui_patterns(patterns)
Explains how 2 to 4 easily confused UI patterns differ — e.g. toast vs snackbar, modal vs popover vs bottom sheet, tabs vs segmented control, Dynamic Island vs notch. Returns each definition side by side plus the catalog's written comparison when one exists. Accepts ids, names or short descriptions.
輸入結構描述
{
"type": "object",
"properties": {
"patterns": {
"type": "array",
"minItems": 2,
"maxItems": 4,
"items": {
"type": "string",
"minLength": 1
},
"description": "2 to 4 CatchUI pattern ids, names or short descriptions, e.g. [\"modal\", \"popover\"] or [\"tabs\", \"segmented control\"]."
}
},
"required": [
"patterns"
],
"additionalProperties": false
}🟢get_ui_component_names(query, platform)
Returns what a UI pattern is called in code on each platform — SwiftUI, UIKit, Jetpack Compose, Android Views, Flutter, HTML/ARIA and, for system UI, AppKit, Win32 and Electron — or works backwards from a framework component (e.g. "UISegmentedControl", "ModalBottomSheet", "role=tablist") to the pattern and its equivalents elsewhere. Optionally filtered to one platform. Platforms without a native component say so instead of naming one.
輸入結構描述
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "A pattern id, name or description (\"segmented control\"), or a framework component name (\"UISegmentedControl\")."
},
"platform": {
"type": "string",
"description": "Optional platform filter, matched against the platform label: e.g. \"SwiftUI\", \"UIKit\", \"Compose\", \"Android\", \"Flutter\", \"Web\"."
}
},
"required": [
"query"
],
"additionalProperties": false
}🟢get_implementation_prompt(patterns, language)
Returns CatchUI's ready-to-use implementation instructions for 1 to 6 UI patterns — what to build, where it sits, its states and the accessibility it needs — in English or Chinese, for pasting into an AI coding tool such as Claude Code or Cursor. Accepts ids, names or short descriptions.
輸入結構描述
{
"type": "object",
"properties": {
"patterns": {
"type": "array",
"minItems": 1,
"maxItems": 6,
"items": {
"type": "string",
"minLength": 1
},
"description": "1 to 6 CatchUI pattern ids, names or short descriptions, e.g. [\"tabs\"] or [\"search field\", \"filter chips\", \"pagination\"]."
},
"language": {
"type": "string",
"enum": [
"en",
"zh"
],
"default": "en",
"description": "Language of the prompts: \"en\" (English) or \"zh\" (简体中文)."
}
},
"required": [
"patterns"
],
"additionalProperties": false
}社群
證據