HIG Doctor
Lets your AI agent search Apple's Human Interface Guidelines and audit app source code for interface issues.
150 stars on GitHubby Raintree TechnologyLicense MITUpdated 21 days ago
How to install
This MCP is local: it runs on your computer.
It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Codeβ¦). Choose your app:
Paste in the terminal:
claude mcp add hig-doctor -- npx -y hig-mcp
What to fill in
| Name | What it is | Required |
|---|---|---|
HIG_SKILLS_DIR | Optional override for the skills directory. The published package bundles the HIG skills corpus, so this is only needed to point the server at a different or newer local copy. | No |
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Audit this project for Apple HIG issues and list them by severity.
What do the guidelines say about navigation bars?
What it is
HIG Doctor checks Apple-platform source against Apple's Human Interface Guidelines, and checks web and cross-platform code against matching accessibility and interface-quality rules. Its MCP server lets an agent search the guidelines, look up topics, audit files or projects and explain each finding with a fix and a source reference.
What it can do
- List the available guideline skills
- Look up a guideline topic
- Search the guidelines reference
- Audit a project
- Audit a single file
- Explain an individual finding
When to use
- βΊWhen you build an iOS or Mac app and want to catch interface problems before release
- βΊWhen you want your agent to cite the right Apple guideline
- βΊWhen you want a CI check for accessibility and interface rules
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
apple-hig-expertHelps your agent design or audit iPhone, Mac, Apple Watch or Vision Pro interfaces against Apple's Human Interface Guidelines.mobile-ios-designEnables your agent to create native iOS interfaces following Human Interface guidelines and SwiftUI. It's useful for ensuring iOS apps adhere to Apple's design principles.hig-foundationsLets your agent know the basic design principles of Apple. Useful for ensuring apps follow platform design guidelines.Frequently asked questions
Is it free and open source?
The tooling is MIT licensed. The Apple guideline text is copyright Apple and kept with attribution.
How many rules does it have?
The catalog has 431 rules across 14 frameworks, such as SwiftUI, UIKit, React, Vue, Flutter and Jetpack Compose.
Does it prove my app follows the HIG?
No. The readme says automated findings support review and do not prove accessibility, HIG conformance or design quality.
Is the guideline text up to date?
The reference is a frozen 2025-02-02 snapshot. Apple's live guidelines remain the authority.
Can it run in CI?
Yes. The audit command supports SARIF output and a --fail-on option.
Which transports does the MCP server use?
Stdio or streamable HTTP.
If it does not work
- βΊCheck that Node.js is installed, then run npx -y hig-mcp to see if it starts.
- βΊRestart your AI app fully after adding the server config.
- βΊUse the MCP package README for the exact client setup if the tools do not appear.
5 new skills a week. 1 minute to read.