mcp-uxhints
mcp-uxhints
MCP (Model Context Protocol) サーバーで、uxhints.com の一口サイズのUX・プロダクトデザインヒントのカタログを、MCP ツールとして stdio 経由で公開します。コンテンツはサイトの公開 WordPress REST API(クリーンな Markdown に変換済み)から取得され、ローカルキャッシュ経由で配信されるため、ツール呼び出しは即座に動作し、オフラインでも利用できます。
npx でのインストール(推奨)
前提条件: Node.js 18 以降。ビルド手順は不要です。npx が公開済みパッケージをダウンロードして実行し、同梱されたカタログスナップショットにより、最初のツール呼び出しをネットワークゼロで動作させます。
MCP クライアントにサーバーを登録し、クライアントを再起動してください。
OpenCode
opencode.json に追加:
{
"mcp": {
"mcp-uxhints": {
"type": "local",
"command": ["npx", "-y", "mcp-uxhints"],
"enabled": true
}
}
}Claude Desktop
claude_desktop_config.json に追加:
{
"mcpServers": {
"mcp-uxhints": {
"command": "npx",
"args": ["-y", "mcp-uxhints"]
}
}
}注: このリポジトリのクローン内で
npx mcp-uxhintsを実行しないでください。npm がローカルのpackage.jsonを解決するため、command not foundで失敗します。それ以外のディレクトリなら正常に動作します。
Related MCP server: mcp-maintainer-toolkit
ソースからのインストール(代替手段)
開発用、またはローカルビルドを固定する場合:
git clone https://github.com/Mateodioev/mcp-uxhints.git
cd mcp-uxhints
npm install && npm run buildその後、npx の代わりにビルド済みファイルをクライアントに設定します:
OpenCode:
"command": ["node", "/absolute/path/mcp-uxhints/build/index.js"]Claude Desktop:
"command": "node", "args": ["/absolute/path/mcp-uxhints/build/index.js"]
ツール
ツール | 説明 |
| すべてのカテゴリを、slug とヒント数とともに一覧表示します。 |
| ページング対応のヒント一覧。カテゴリの slug でフィルタリングもできます。 |
| タイトル・抜粋・本文を対象にしたローカル検索。大文字小文字とアクセント記号を区別せず、タイトルの一致を優先します。 |
|
|
| ランダムな 1 件のヒントを、全文を Markdown で取得します。 |
| ライブ同期を強制し、ローカルキャッシュを作り直します。 |
一般的な流れ: list_categories → list_hints → get_hint。Slugs にはカテゴリの接頭辞は含まれません(occams-razor-law-in-ux-design であり、ux-laws/occams-razor-law-in-ux-design ではありません)。
キャッシュ
ツール呼び出しは、毎回 API を呼び出す代わりにローカルのカタログキャッシュ(既定 TTL 24h)を読み込みます。優先順位は以下の通りです:
層 | 場所 | 役割 |
1. ユーザーキャッシュ | OSキャッシュディレクトリの、 | 最初に読込み。TTL より古い際には更新されます。 |
2. 同梱スナップショット | パッケージ内の | 公開時に新しい状態で同梱され、ネットワークゼロでユーザーキャッシュを初期化します。 |
3. ライブAPI |
| 更新の正規の情報源。取得に失敗した場合は、出力内の通知付きで古いキャッシュを提供します。 |
古い場合? refresh_hint_catalog を呼ぶか、TTL の期限切れを待ってください。同梱スナップショットが公開時点より古くなっている場合は、postinstall フックがユーザーキャッシュを自動的にウォームアップします。
環境変数 | 既定値デフォルト | 効果 |
|
| キャッシュされたカタログが新しいとみなされる時間数(浮動小数も指定可能。無効な値は 24 とみなす)。 |
| OSキャッシュディレクトリ¹ |
|
| 未設定 |
|
¹ Linux では |
詳細
項目 | 備考 |
データソース | uxhints.com の公開 WordPress REST API( |
コンテンツ形式 | WordPress HTML → Markdown を同期時に変換(HTML コメントは除き、エンンティエイはデコード) |
キャッシュ | 3層:ユーザーキャッシュ → 同梼スナップショット → ライブAPI(上記参照) |
耐障害性 | 15秒のリクエストタムアウト。ライブAPIの失敗時は古いキャッシュにフォールバック。すべての失敗は MCP ツールのエラーとして表出され、サーバーがクラッシュすることはありません。 |
スケリプト |
|
クレジット
すべてのコンテンツは © [ux** Paul Capcan によるものです。このサーバーは、このサイトの公開 API をラッスするだけであり、コンテンツをホストしてしたり変しすることはありません。
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceSearch and explore a catalog of 2,000+ MCP servers — full-text search, trending, hot, categories, and side-by-side comparison — from any MCP client. A zero-dependency stdio bridge over the hosted awesome-mcp.tools endpoint.817MIT
- AlicenseNot gradedqualityFmaintenanceProvides utilities to help maintain MCP repositories, including testing tools, parameter type support, and multiple transports (STDIO, SSE, Streamable HTTP).219MIT
- AlicenseNot gradedqualityCmaintenanceAn MCP gateway and offline catalog CLI that aggregates multiple upstream MCP servers into a single stdio endpoint, and provides tool recommendation and catalog inspection without connecting to upstreams.MIT
- AlicenseNot gradedqualityAmaintenanceLook up countries, timezones, periodic table elements, physical constants, units, HTTP status codes, and MIME types via MCP. STDIO or Streamable HTTP.2051Apache 2.0
Related MCP Connectors
Query SEC EDGAR filings, XBRL financials, and company data through MCP. STDIO & Streamable HTTP.
Hacker News MCP — search and retrieve stories from Hacker News
Product Hunt MCP — wraps the Product Hunt GraphQL API v2 (api.producthunt.com)
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Mateodioev/mcp-uxhints'
If you have feedback or need assistance with the MCP directory API, please join our Discord server