HIG Doctor
NPM · HIG-MCP · SCANNED AUG 3
Apple Human Interface Guidelines search, lookup, and project audits for AI coding agents.
Available components
How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score →
Supply Chain Security100
- No malware found by supply-chain analysis.Pass
- No known CVEs affecting this package version or its production dependencies.Pass
- No install/post-install scripts declared.Pass
- 0 of 1 dependencies flagged as unhealthy. View diagnostics → Pass
Provenance & Transparency97
- Source repository is publicly reachable at the declared URL. View diagnostics → Pass
- Cryptographically verified build provenance (signed, bound to raintree-technology/hig-doctor). View diagnostics → Pass
- Clear OSI-approved license (MIT).Pass
- Actively maintained (last published 7 days ago).Pass
- Disclosure check failed: no security disclosure policy was found in the source repository. See how to fix → Fail
Schema Quality & AI Usability77
- AI-judged instruction clarity (excellent).Pass
- Tool/resource definitions use about 653 tokens (~108/item across 6 items; 6 tools + 0 resources), lean.Pass
- Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management23
- Stability observed for 7 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage100
- 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
- 100% of tool parameters carry a description.Pass
Capabilities100
- Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Add this component to your MCP client. Where a client-specific snippet is available, pick your client below and copy it straight into your config; otherwise use the connection detail shown.
npm · hig-mcp
claude mcp add raintree-technology-hig-doctor -- npx -y hig-mcp
codex mcp add raintree-technology-hig-doctor -- npx -y hig-mcp
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"raintree-technology-hig-doctor": {
"type": "local",
"command": [
"npx",
"-y",
"hig-mcp"
],
"enabled": true
}
}
} openclaw mcp add raintree-technology-hig-doctor --command npx --arg -y --arg hig-mcp
mcp_servers:
raintree-technology-hig-doctor:
command: "npx"
args: ["-y", "hig-mcp"] {
"mcpServers": {
"raintree-technology-hig-doctor": {
"command": "npx",
"args": [
"-y",
"hig-mcp"
]
}
}
} Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.
- 3 Aug 26 +3
- Stability: unverified → 0.23 ▲ functional
- 2 Aug 26 +15
- Malware scan: unverified → pass ▲ security
- 31 Jul 26 −11
- We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
- 28 Jul 26 +35
- Tool coverage: unverified → 100 ▲ functional
- First check of Tool coverage: 100 functional
- First check of Schema quality: fail functional
- First check of Schema quality: excellent functional
- First check of Schema quality: pass functional
- 27 Jul 26 41
First indexed and scored.
Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.
Captured 3 Aug 2026 · Analysed npm/[email protected]
Provenance verified
Ecosystem: npm · Outcome: verified
Reason: verified
- Source repo:
- raintree-technology/hig-doctor
- Certificate issuer:
- https://token.actions.githubusercontent.com
- Certificate SAN:
- https://github.com/raintree-technology/hig-doctor/.github/workflows/publish-hig-mcp.yml@refs/heads/main
- Rekor log index:
- 2256666680
- Predicate type:
- https://slsa.dev/provenance/v1
- Subject digest:
- sha512:86ad838f137b26dbf6e61a5293b2684c72f0b9dad9a60f142e491961ff047710f87e41690d18b12d097337c4f95df4702a3c803fc7577983a40d5b959
- Discovery method:
- attestation_endpoint
Dependencies 1 package
1 package in the resolved dependency tree.
The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability.
hig_audit ~165
Run a HIG compliance audit on a project directory. 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.
| Name | Type | Req | Description |
|---|---|---|---|
| directory | string | yes | 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. |
No output schema declared.
No examples provided.
hig_audit_file ~95
Audit a single source file for HIG compliance — 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.
| Name | Type | Req | Description |
|---|---|---|---|
| fail_on | string | — | Optional severity threshold for gate_tripped. |
| file | string | yes | Absolute path to the source file to audit. |
No output schema declared.
No examples provided.
hig_explain_finding ~92
Explain 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').
| Name | Type | Req | Description |
|---|---|---|---|
| rule_id | string | yes | Stable rule ID, e.g. 'swift/hardcoded-color', 'web/missing-alt'. |
No output schema declared.
No examples provided.
hig_list_skills ~39
List all available Apple HIG skills with descriptions and reference topics. Use this first to discover what HIG guidance is available before calling hig_lookup.
Input schema present but exposes no named parameters.
No output schema declared.
No examples provided.
hig_lookup ~166
Fetch 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 2025-02-02. If you don't know which skill/topic to use, call hig_search instead.
| Name | Type | Req | Description |
|---|---|---|---|
| skill | string | yes | 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. |
No output schema declared.
No examples provided.
hig_search ~96
Full-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' — and get ranked topics with snippets. Follow up with hig_lookup using the returned skill/topic.
| Name | Type | Req | Description |
|---|---|---|---|
| limit | number | — | Max results (default 8, cap 25). |
| query | string | yes | Natural-language or keyword query. |
No output schema declared.
No examples provided.