About Hig Doctor
Hig Doctor is an MCP server published by raintree-technology in the Science category: apple HIG reference and cross-framework UI audit tooling for agents. Conduid read 6 tools from its source: hig_audit, hig_audit_file, hig_explain_finding, hig_list_skills, hig_lookup and hig_search. No package is published for it, so it installs from a source checkout.
The repository has 162 stars and 11 forks, is licensed MIT, and its last commit was on 29 Nov 2026. The latest release is hig-doctor-v2.0.3 (4 Sep 2026): Consolidates the CLI, MCP server, website, and demonstration data on the canonical core audit engine. It follows v2.0.0 (23 Jul 2026), and the 4 most recent releases go back to v1.0.0 (9 Feb 2026). It passes all 5 static checks Conduid ran on the repository. Its topics include accessibility, apple, apple-design, audit, hig and human-interface-guidelines.
Install
git clone https://github.com/raintree-technology/hig-doctorTools (6)
hig_auditAudit a project directory for HIG and accessibility concerns. Scans source files across SwiftUI, UIKit, React, Vue, Svelte, Angular, Compose, Android XML, React Native, Flutter, CSS, and HTML. Returns severity counts (critical/serious/moderate), per-category breakdown, and a markdown report with code excerpts and HIG reference material. Honors hig-doctor.config.json, .hig-baseline.json, and inline hig-disable suppressions in the audited project.| Parameter | Type | Description |
|---|---|---|
| directory * | string | Absolute path to the project directory to audit. Must be a directory the server process can read. |
| fail_on | string | Optional severity threshold. If set, the response includes gate_tripped=true when any concern at/above this severity is found. |
hig_audit_fileAudit a single source file: the fast inner loop after writing or editing a file. Returns every finding with its rule ID, severity, line, fix guidance, and HIG citation. Use hig_explain_finding for deeper guidance on a specific rule.| Parameter | Type | Description |
|---|---|---|
| fail_on | string | Optional severity threshold for gate_tripped. |
| file * | string | Absolute path to the source file to audit. |
hig_explain_findingExplain an audit finding: full rule metadata (severity, engine, fix guidance) plus an excerpt of the Apple HIG reference the rule cites. Pass the ruleId from hig_audit / hig_audit_file results (e.g. 'swift/hardcoded-color').| Parameter | Type | Description |
|---|---|---|
| rule_id * | string | Stable rule ID, e.g. 'swift/hardcoded-color', 'web/missing-alt'. |
hig_list_skillsList all available Apple HIG skills with descriptions and reference topics. Use this first to discover what HIG guidance is available before calling hig_lookup.hig_lookupFetch Apple HIG reference markdown. Provide a skill name (e.g. 'hig-foundations') to get the skill overview, or a skill+topic (e.g. skill='hig-foundations', topic='color') to get detailed reference for that topic. Content is from Apple's HIG, snapshot dated| Parameter | Type | Description |
|---|---|---|
| skill * | string | Skill identifier, e.g. 'hig-foundations', 'hig-components-layout', 'hig-platforms'. |
| topic | string | Optional topic within the skill, e.g. 'color', 'typography', 'accessibility', 'sidebars'. Call hig_list_skills first to see valid topics. |
hig_searchFull-text search (BM25) across all Apple HIG reference topics. Ask in natural language, e.g. 'minimum touch target size', 'when to use a sheet vs a popover'. Returns ranked topics with snippets. Follow up with hig_lookup using the returned skill/topic.| Parameter | Type | Description |
|---|---|---|
| limit | number | Max results (default 8, cap 25). |
| query * | string | Natural-language or keyword query. |
Security checks
- ✓README presentThe repository's README runs to about 1.0K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedA lockfile pins dependency versions.
- ✓No dynamic code executionScanned 79 source files and found no eval, dynamic Function or shell execution.
1 check has not been run yet.
Releases
README
The repository's README runs to about 1.0K words, fetched 12 days ago. The original in the repository is authoritative.
Read full README