Apple Human Interface Guidelines search, lookup, and project audits for AI coding agents.
MCPpedia last refreshed this data
io.github.raintree-technology/hig-doctor is an MCP server that apple Human Interface Guidelines search, lookup, and project audits for AI coding agents. Its tool list has not been published yet over stdio and http, requires no API key, and scores 89/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"hig-doctor": {
"args": [
"-y",
"hig-mcp"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Apple Human Interface Guidelines search, lookup, and project audits for AI coding agents.
This server supports HTTP transport. Be the first to test it - help the community know if it works.
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked hig-doctor against OSV.dev.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in other
Private-by-default, local-first memory/context/task orchestrator for MCP apps and agents.
Build, run and debug Make automation scenarios.
Local memory & session search across fifty-three coding agents: Claude Code, Codex, Cursor.
Unofficial KakaoTalk CLI and native MCP server for macOS — read, watch, and send messages via Accessibility automation.
MCP Security Weekly
Get CVE alerts and security updates for io.github.raintree-technology/hig-doctor and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
Static checks for interface and accessibility issues. Apple-platform source is checked against Apple's Human Interface Guidelines; web and cross-platform source against HIG-aligned accessibility rules.
npx hig-doctor .
Output for scripts/fixtures/readme-audit (checked in CI):
2 moderate concerns · swiftui · 1 file
View.swift:5 · swift/navigation-view-deprecated
View.swift:7 · swift/hardcoded-color
75 concern checks flag probable problems across 14 frameworks. Another 356
detectors only note component usage or good practice, which decides which HIG
references the report includes (431 rules in total). Configuration, inline
suppressions, baselines, SARIF output, and --fail-on let you gate only new findings.
| Surface | Use it for | Start |
|---|---|---|
| Audit CLI | Source scans and CI gates | npx hig-doctor . |
| MCP server | Search, lookup, file audits, and explanations | npx -y hig-mcp |
| Agent skills | Design guidance and source audits | Canonical agent skills |
| Core package | Embed the rule engine | npm install @raintree-technology/hig-doctor-core |
The MCP server runs over stdio or streamable HTTP. See packages/mcp for client setup.
framework detection → regex scan → structural refinement → categorized findings → report or SARIF
A comment- and string-aware regex tier runs first. Swift structural analysis and the TypeScript compiler (when installed) then drop findings the code already handles. Each finding records which engine produced it.
| Framework | Concern checks | Detectors | Basis |
|---|---|---|---|
SwiftUI (swift) | 13 | 57 | Apple HIG |
| UIKit | 9 | 26 | Apple HIG |
| AppKit | 4 | 21 | Apple HIG |
| watchOS | 0 | 13 | Apple HIG |
| visionOS | 0 | 10 | Apple HIG |
React / Next.js (web) | 24 | 98 | HIG-aligned |
| CSS / SCSS | 10 | 15 | HIG-aligned |
| Vue / Nuxt | 1 | 18 | HIG-aligned |
| Angular | 1 | 16 | HIG-aligned |
| Svelte / SvelteKit | 1 | 13 | HIG-aligned |
| Flutter | 3 | 18 | HIG-aligned |
| Jetpack Compose | 4 | 24 | HIG-aligned |
| Android XML | 4 | 14 | HIG-aligned |
| React Native | 1 | 13 | HIG-aligned |
| Rule ID | Severity | Fix | HIG |
|---|---|---|---|
swift/navigation-view-deprecated | moderate | Migrate to NavigationStack (single column) or NavigationSplitView (sidebar layouts). | hig |
swift/hardcoded-color | moderate | Use semantic colors (.primary, .secondary, or an asset-catalog color) that adapt to dark mode. | color |
swift/hardcoded-rgbcolor | moderate | Move the color into an asset catalog with light/dark variants. | color |
swift/hardcoded-uicolor | moderate | Use a semantic UIColor (label, systemBackground) or an asset-catalog color. | color |
swift/hardcoded-color-ui-color | moderate | color | |
swift/hardcoded-font-size | moderate | typography | |
swift/hardcoded-uifont | moderate | typography | |
swift/on-tap-gesture-without-traits | moderate | Prefer Button, or add .accessibilityAddTraits(.isButton) so VoiceOver announces it. | [accessibility](https://developer.apple.com/design/human-interface-guidelines/accessibili |