Apple Human Interface Guidelines search, lookup, and project audits for AI coding agents.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Active open-source project Β· MIT tooling with attributed Apple reference content
HIG Doctor helps developers and coding agents find interface issues before release. It checks Apple-platform source against Appleβs Human Interface Guidelines and checks web and cross-platform source against aligned accessibility and interface-quality rules.
The CLI detects the project frameworks, reports concerns by severity, and points to a
specific fix and source reference. This result is generated from the committed
test/fixtures/readme-audit project and checked in the test suite:
The audit catalog currently contains 431 rules across 14 frameworks. Counts are generated from the rule catalog and checked in CI; they are coverage inventory, not a claim of complete HIG conformance.
--fail-on support gradual adoption.| 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 | codex plugin add hig-doctor@raintree |
| Core package | Embed the rule engine | npm install @raintree-technology/hig-doctor-core |
The MCP server works over stdio or streamable HTTP. Its six tools list skills, look up topics, search the corpus, audit projects or files, and explain findings. See the MCP package README for client configuration.
Install the public Codex marketplace first with
codex plugin marketplace add raintree-technology/plugins.
Precision and recall are measured on an annotated fixture corpus in
docs/benchmark.md. CI enforces the published floors.
Apple-platform rows are checked against the HIG directly. Web and cross-platform rows use universal accessibility and interface-quality principles that align with the HIG.
| Framework | Rules | Basis |
|---|---|---|
SwiftUI (swift) | 70 | Apple HIG |
| UIKit | 35 | Apple HIG |
| AppKit | 25 | Apple HIG |
| watchOS | 13 | Apple HIG |
| visionOS | 10 | Apple HIG |
React / Next.js (web) | 122 | HIG-aligned universal checks |
| CSS / SCSS | 25 | HIG-aligned universal checks |
| Vue / Nuxt | 19 | HIG-aligned universal checks |
| Angular | 17 | HIG-aligned universal checks |
| Svelte / SvelteKit | 14 | HIG-aligned universal checks |
| Flutter | 21 | HIG-aligned universal checks |
| Jetpack Compose | 28 | HIG-aligned universal checks |
| Android XML | 18 | HIG-aligned universal checks |
| React Native | 14 | HIG-aligned universal checks |
The authoritative per-rule inventory is docs/rules.md.
The frozen 2025-02-02 snapshot contains 14 skills and 156 reference topics. Appleβs live Human Interface Guidelines remain canonical.
| Skill | Description |
|---|---|
hig-foundations | Color, typography, symbols, accessibility, layout, motion, privacy, and branding |
hig-platforms | iOS, iPadOS, macOS, tvOS, watchOS, and visionOS |
hig-patterns | Onboarding, navigation, search, feedback, modality, and settings |
hig-inputs | Touch, Pencil, keyboard, controller, pointer, Crown, and eye input |
hig-technologies | Siri, Apple Pay, HealthKit, ARKit, ML, Sign in with Apple, and SharePlay |
hig-project-context | Shared project context for tailored guidance |
hig-components-content | Charts, collections, images, web views, and lockups |
hig-components-controls | Pickers, toggles, sliders, buttons, and fields |
hig-components-dialogs | Alerts, action sheets, popovers, and sheets |
hig-components-layout | Sidebars, split views, tabs, lists, tables, and windows |
hig-components-menus | Menus, toolbars, buttons, and menu bars |
hig-components-search | Search fields, page controls, and path controls |
hig-components-status | Progress indicators, status bars, and activity rings |
hig-components-system | Widgets, live activities, notifications, complications, and App Clips |
Nightly drift detection compares the snapshot with Appleβs DocC JSON. Content changes remain human-reviewed; a hash change does not automatically rewrite guidance.
Automated findings support review. They do not prove accessibility, HIG conformance, or design quality. Regex fallback can produce different precision than structural analysis, and project-specific context can justify a documented suppression.
Apple owns the HIG content. This repository provides organization, cross-referencing, and detection rules. Each reference retains attribution and a canonical source URL.
HIG Doctor owns interface guidance and source audits. It can be used independently. DocPull acquires evidence, PolicyStrata tests policy behavior, Trellis enforces shared code policy, and Raintree Standards defines governed requirements. See the Raintree open-source portfolio.
Contributing Β· Code of Conduct Β· Security Β· Changelog Β· Source repository Β· MIT License Β· Third-party notices
Apple HIG reference text in skills/*/references/ is Β© Apple Inc. and remains subject
to Appleβs terms.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/hig-doctor)<a href="https://allmcps.com/mcp/hig-doctor"><img src="https://allmcps.com/api/badge/hig-doctor?style=directory" alt="HIG Doctor on AllMCPs" /></a>