hig-mcp
Audits Android projects for HIG compliance, including Android XML layouts.
Audits Angular projects for HIG compliance.
Audits projects against the Apple Human Interface Guidelines, covering Apple platforms and technologies.
Includes HIG compliance detection for Apple Pay usage in audited projects.
Audits CSS/SCSS stylesheets for HIG compliance, including color, focus, layout, dark mode, and motion.
Audits Flutter projects for HIG compliance.
Audits Jetpack Compose projects for HIG compliance.
Audits Next.js projects for HIG compliance as part of React/Next.js support.
Audits Nuxt projects for HIG compliance as part of Vue/Nuxt support.
Audits React and React Native projects for HIG compliance.
Audits Svelte/SvelteKit projects for HIG compliance.
Audits SwiftUI and Swift code for HIG compliance.
Audits Android XML layout files for HIG compliance.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@hig-mcpAudit the current project for HIG compliance issues."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
HIG Doctor
Active open-source project · MIT tooling with attributed Apple reference content
HIG Doctor helps developers and coding agents find interface issues before release. It checks Apple-platform source against Apple’s Human Interface Guidelines and checks web and cross-platform source against aligned accessibility and interface-quality rules.
Run an audit
npx hig-doctor .The CLI detects the project frameworks, reports concerns by severity, and points to a
specific fix and source reference. This result is generated from the committed
test/fixtures/readme-audit project and checked in the test suite:
2 moderate concerns · swiftui · 1 file
View.swift:5 · swift/navigation-view-deprecated
View.swift:7 · swift/hardcoded-colorThe audit catalog currently contains 431 rules across 14 frameworks. Counts are generated from the rule catalog and checked in CI; they are coverage inventory, not a claim of complete HIG conformance.
Related MCP server: asc-mcp
Why use HIG Doctor
Catch reviewable source issues. Findings include severity, location, rule ID, fix guidance, and the reference that supports the concern.
Gate only new debt. Configuration, inline suppressions, content-based baselines, SARIF, and
--fail-onsupport gradual adoption.Give agents bounded guidance. MCP tools search the frozen reference corpus and explain individual findings without presenting generated advice as canonical HIG.
Use one engine across workflows. The CLI, MCP server, and embeddable core package share the same catalog and analysis tiers.
Choose a surface
Surface | Use it for | Start |
Audit CLI | Source scans and CI gates |
|
MCP server | Search, lookup, file audits, and explanations |
|
Agent skills | Design and implementation guidance |
|
Core package | Embed the rule engine |
|
The MCP server works over stdio or streamable HTTP. Its six tools list skills, look up topics, search the corpus, audit projects or files, and explain findings. See the MCP package README for client configuration.
How analysis works
framework detection → regex scan → structural refinement → categorized findings → report or SARIFThe zero-dependency regex tier is comment- and string-aware.
Swift structural analysis follows chained modifiers to remove handled findings.
The TypeScript compiler refines selected JSX accessibility checks when available.
Every finding records the engine that produced it.
Precision and recall are measured on an annotated fixture corpus in
docs/benchmark.md. CI enforces the published floors.
Framework coverage
Apple-platform rows are checked against the HIG directly. Web and cross-platform rows use universal accessibility and interface-quality principles that align with the HIG.
Framework | Rules | Basis |
SwiftUI ( | 70 | Apple HIG |
UIKit | 35 | Apple HIG |
AppKit | 25 | Apple HIG |
watchOS | 13 | Apple HIG |
visionOS | 10 | Apple HIG |
React / Next.js ( | 122 | HIG-aligned universal checks |
CSS / SCSS | 25 | HIG-aligned universal checks |
Vue / Nuxt | 19 | HIG-aligned universal checks |
Angular | 17 | HIG-aligned universal checks |
Svelte / SvelteKit | 14 | HIG-aligned universal checks |
Flutter | 21 | HIG-aligned universal checks |
Jetpack Compose | 28 | HIG-aligned universal checks |
Android XML | 18 | HIG-aligned universal checks |
React Native | 14 | HIG-aligned universal checks |
The authoritative per-rule inventory is docs/rules.md.
Skills corpus
The frozen 2025-02-02 snapshot contains 14 skills and 156 reference topics. Apple’s live Human Interface Guidelines remain canonical.
Skill | Description |
| Color, typography, symbols, accessibility, layout, motion, privacy, and branding |
| iOS, iPadOS, macOS, tvOS, watchOS, and visionOS |
| Onboarding, navigation, search, feedback, modality, and settings |
| Touch, Pencil, keyboard, controller, pointer, Crown, and eye input |
| Siri, Apple Pay, HealthKit, ARKit, ML, Sign in with Apple, and SharePlay |
| Shared project context for tailored guidance |
| Charts, collections, images, web views, and lockups |
| Pickers, toggles, sliders, buttons, and fields |
| Alerts, action sheets, popovers, and sheets |
| Sidebars, split views, tabs, lists, tables, and windows |
| Menus, toolbars, buttons, and menu bars |
| Search fields, page controls, and path controls |
| Progress indicators, status bars, and activity rings |
| Widgets, live activities, notifications, complications, and App Clips |
Nightly drift detection compares the snapshot with Apple’s DocC JSON. Content changes remain human-reviewed; a hash change does not automatically rewrite guidance.
Limits and evidence boundary
Automated findings support review. They do not prove accessibility, HIG conformance, or design quality. Regex fallback can produce different precision than structural analysis, and project-specific context can justify a documented suppression.
Apple owns the HIG content. This repository provides organization, cross-referencing, and detection rules. Each reference retains attribution and a canonical source URL.
Documentation
CLI package — Flags, configuration, baselines, and CI.
MCP package — Tools, transports, and client setup.
Core package — Embedding API.
Rule catalog — Current generated inventory.
Detection benchmark — Fixture method, results, and limits.
Project website — Human and agent-readable topics.
Raintree open-source system
HIG Doctor owns interface guidance and source audits. It can be used independently. DocPull acquires evidence, PolicyStrata tests policy behavior, Trellis enforces shared code policy, and Raintree Standards defines governed requirements. See the Raintree open-source portfolio.
Project policies
Contributing · Code of Conduct · Security · Changelog · Source repository · MIT License · Third-party notices
Apple HIG reference text in skills/*/references/ is © Apple Inc. and remains subject
to Apple’s terms.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceAn MCP server for accessibility auditing that provides WCAG 2.2 criteria lookup, HTML remediation guidance, and automated documentation generation for UI components. It enables users to analyze code snippets for issues and generate professional accessibility audit reports.233MIT
- AlicenseAqualityAmaintenanceAn opinionated MCP server for App Store Connect that provides 13 curated tools, slash-command workflows, and a Claude Skill to manage apps, reviews, sales, and pre-submission audits via natural language.411,235MIT
- AlicenseNot gradedqualityAmaintenanceThis MCP server provides access to Apple's App Store Connect API. It allows users to inspect apps, versions, builds, TestFlight groups, sales, users, and optionally edit metadata and manage testers.5661MIT
- AlicenseAqualityAmaintenanceMCP server that enables AI coding assistants to audit repositories against engineering rules, generating self-contained HTML reports with citations and optional GitHub issue filing.101Apache 2.0
Related MCP Connectors
MCP server for skill documentation, generated by doc2mcp.
MCP Spec Compliance MCP — audits any MCP server.json against the official Model Context Protocol
MCP server for generating rough-draft project plans from natural-language prompts.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/raintree-technology/hig-doctor'
If you have feedback or need assistance with the MCP directory API, please join our Discord server