HIG Doctor
CLI and MCP server that audits Apple-platform code against the Human Interface Guidelines and suggests fixes.
View on GitHub ↗- Stars
- ★ 146
- Last commit
- 12 Oct 2026
- Maintenance
- Active
- Licence
- MIT
- Category
- MCP Servers
- GitHub
- raintree-technology/hig-doctor
Overview
HIG Doctor audits your project's source code against Apple's Human Interface Guidelines and related accessibility and interface quality rules. It comes as a CLI, an MCP server and an embeddable core package that share one engine. Findings come with severity, location, a rule ID, fix guidance and the reference behind each concern.
Features
- Detects your frameworks and scans SwiftUI, UIKit, AppKit, watchOS and visionOS code against HIG rules
- Also checks React, Next.js, CSS, Vue and other web code with HIG-aligned checks
- Baselines, inline suppressions, SARIF output and --fail-on let you gate only new issues
- MCP tools search a frozen HIG reference corpus and explain individual findings
- Includes 14 skills and 156 reference topics from a frozen 2025-02-02 snapshot of the HIG, and says Apple's live guidelines remain the authority
Requirements
- Node.js (runs through npx)
Install
Run an audit in your project folder
npx hig-doctor .
Example
Run npx hig-doctor . in a SwiftUI project and review the categorised findings, each with a rule ID and suggested fix.
Works with
Listed in
- github.com/raintree-technology/hig-doctor
- raw.githubusercontent.com/raintree-technology/hig-doctor/HEAD/README.md
Read the code before you install anything. SwiftAgents doesn't review or endorse the tools listed here. Active: a commit in the last 90 days. Slowing: last commit within the past year. Stale: older than a year, or archived.
More in this category
Mobile MCP
Drives native mobile apps on simulators, emulators and real devices over MCP, for iOS and Android alike.
MobileBuildMCP
Sentry's MCP server and CLI for building, testing, running and debugging iOS and macOS projects from an agent. Formerly XcodeBuildMCP.
agent-device
Lets coding agents see and drive apps on iOS simulators and real devices (Android too) through accessibility snapshots, taps, typing and screenshots. Comes as a CLI, MCP server and Node API.