# HIG Doctor (npm · hig-mcp)

Apple Human Interface Guidelines search, lookup, and project audits for AI coding agents.

- Trust score: 83/100 (high trust)
- Change this week: +42
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-03

## Components

- npm · `hig-mcp`: 83/100 (this document), [markdown](https://verifymcp.io/servers/raintree-technology-hig-doctor/hig-mcp.md), [page](https://verifymcp.io/servers/raintree-technology-hig-doctor/hig-mcp)

## Channel facts

- Registry: `npm`
- Package: `hig-mcp`
- Version: `0.2.1`
- Transport: `stdio`

## Trust breakdown

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. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-08-03.

- **Supply Chain Security**: 100/100
  - No malware found by supply-chain analysis.
  - No known CVEs affecting this package version or its production dependencies.
  - No install/post-install scripts declared.
  - 0 of 1 dependencies flagged as unhealthy.
- **Provenance & Transparency**: 97/100
  - Source repository is publicly reachable at the declared URL.
  - Cryptographically verified build provenance (signed, bound to raintree-technology/hig-doctor).
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 7 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 77/100
  - AI-judged instruction clarity (excellent).
  - Tool/resource definitions use about 653 tokens (~108/item across 6 items; 6 tools + 0 resources), lean.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 23/100
  - Stability observed for 7 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### Claude

```bash
claude mcp add raintree-technology-hig-doctor -- npx -y hig-mcp
```

### Codex

```bash
codex mcp add raintree-technology-hig-doctor -- npx -y hig-mcp
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "raintree-technology-hig-doctor": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "hig-mcp"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add raintree-technology-hig-doctor --command npx --arg -y --arg hig-mcp
```

### Hermes

```yaml
mcp_servers:
  raintree-technology-hig-doctor:
    command: "npx"
    args: ["-y", "hig-mcp"]
```

### Other

```json
{
  "mcpServers": {
    "raintree-technology-hig-doctor": {
      "command": "npx",
      "args": [
        "-y",
        "hig-mcp"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-08-03 (score 83, +3)

- [functional improvement] Stability: unverified → 0.23

### 2026-08-02 (score 80, +15)

- [security improvement] Malware scan: unverified → pass

### 2026-07-31 (score 65, −11)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-28 (score 76, +35)

- [functional improvement] 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

### 2026-07-27 (score 41)

First indexed and scored.

## MCP tools (6)

### `hig_list_skills` (~39 tokens)

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.

### `hig_lookup` (~166 tokens)

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.

Input parameters:

- `skill` (string, required): 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_search` (~96 tokens)

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.

Input parameters:

- `limit` (number): Max results (default 8, cap 25).
- `query` (string, required): Natural-language or keyword query.

### `hig_audit` (~165 tokens)

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.

Input parameters:

- `directory` (string, required): 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_file` (~95 tokens)

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.

Input parameters:

- `fail_on` (string): Optional severity threshold for gate_tripped.
- `file` (string, required): Absolute path to the source file to audit.

### `hig_explain_finding` (~92 tokens)

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').

Input parameters:

- `rule_id` (string, required): Stable rule ID, e.g. 'swift/hardcoded-color', 'web/missing-alt'.

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/raintree-technology-hig-doctor/hig-mcp#diagnostics

## Score history

- 2026-08-03: 83
- 2026-08-02: 80
- 2026-08-01: 65
- 2026-07-31: 65
- 2026-07-30: 76
- 2026-07-29: 76
- 2026-07-28: 76
- 2026-07-27: 41

## Links

- npm package: https://www.npmjs.com/package/hig-mcp
- Socket report: https://socket.dev/npm/package/hig-mcp
- Repository: https://github.com/raintree-technology/hig-doctor
- Website: https://apple.raintree.technology/mcp
- Changelog RSS feed: https://verifymcp.io/servers/raintree-technology-hig-doctor/hig-mcp/changelog.xml
- Changelog JSON feed: https://verifymcp.io/servers/raintree-technology-hig-doctor/hig-mcp/changelog.json
- HTML version of this page: https://verifymcp.io/servers/raintree-technology-hig-doctor/hig-mcp
