{"_id":"hig-mcp","_rev":"5-8086001a33160ac38cf3ff511a2db9b1","name":"hig-mcp","dist-tags":{"latest":"0.2.4"},"versions":{"0.2.0":{"name":"hig-mcp","version":"0.2.0","license":"MIT","_id":"hig-mcp@0.2.0","maintainers":[{"name":"raintree-technology","email":"admin@raintree.technology"}],"homepage":"https://github.com/raintree-technology/hig-doctor/tree/main/packages/mcp#readme","bugs":{"url":"https://github.com/raintree-technology/hig-doctor/issues"},"bin":{"hig-mcp":"dist/index.js"},"dist":{"shasum":"5c8d66c177dfa51c4b6b2a4b29a3960db4230264","tarball":"https://registry.npmjs.org/hig-mcp/-/hig-mcp-0.2.0.tgz","fileCount":174,"integrity":"sha512-qfQP3sj/iWHi9z6kidCVHfhBMG2HJScnv4/qz/oqXuN0AkGN5d5FtkKOXV6wnL4rdl3H1pJnmMSvHetaiW3roQ==","signatures":[{"sig":"MEYCIQDqYuCj8gmaJY1DmLM0F12LXTFqJxv5NKXClD/kccJlHgIhALWPZU3nBerEF5nbtOG/jIMz9xC2sTLqsFR1JpqxO5j9","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1217449},"main":"./dist/index.js","type":"module","engines":{"node":"24.x"},"gitHead":"f880098aa024fef18b3289430f3e2dedc58478a0","mcpName":"io.github.raintree-technology/hig-doctor","scripts":{"test":"bun test","build":"esbuild src/index.ts --bundle --platform=node --target=node20 --format=esm --outfile=dist/index.js --alias:@hig-doctor/core=../core/src/index.ts --external:typescript --banner:js=\"#!/usr/bin/env node\" && bun run bundle:skills","start":"bun src/index.ts","typecheck":"tsc --noEmit","bundle:skills":"rm -rf dist/skills && cp -R ../../skills dist/skills","prepublishOnly":"bun run build"},"_npmUser":{"name":"raintree-technology","email":"admin@raintree.technology"},"repository":{"url":"git+https://github.com/raintree-technology/hig-doctor.git","type":"git","directory":"packages/mcp"},"_npmVersion":"10.9.8","description":"HIG Doctor MCP server exposing Apple HIG skills and project audits to AI coding agents","directories":{},"_nodeVersion":"22.22.3","_hasShrinkwrap":false,"packageManager":"bun@1.3.11","devDependencies":{"esbuild":"^0.25.0","@types/bun":"^1.3.3","typescript":"^5.9.3","@types/node":"^20","@modelcontextprotocol/sdk":"^1.12.0"},"optionalDependencies":{"typescript":"^5.9.3"},"_npmOperationalInternal":{"tmp":"tmp/hig-mcp_0.2.0_1784765118447_0.2124169376020726","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"hig-mcp","version":"0.2.1","license":"MIT","_id":"hig-mcp@0.2.1","maintainers":[{"name":"raintree-technology","email":"admin@raintree.technology"}],"homepage":"https://github.com/raintree-technology/hig-doctor/tree/main/packages/mcp#readme","bugs":{"url":"https://github.com/raintree-technology/hig-doctor/issues"},"bin":{"hig-mcp":"dist/index.js"},"dist":{"shasum":"5f342a2664197d1346870365ecddc7d5201db017","tarball":"https://registry.npmjs.org/hig-mcp/-/hig-mcp-0.2.1.tgz","fileCount":174,"integrity":"sha512-hq2DjxN7Jtv25hpSk7JoTHLwudrZpg8ULkkZYf8EdxD4fkFpDRixLQlzN8T5XfRwKjyAP8dXeYOkDVuVkHMy7w==","signatures":[{"sig":"MEUCIGVf0HnuQB2ywum6zJYkeaIEL922EZCxkwsAw8BaiNQmAiEA4w1/saVKhr5qje3Lzh9wopHPn3DNwjwGrVciN16tPes=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/hig-mcp@0.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1222058},"main":"dist/index.js","type":"module","engines":{"node":"24.x"},"gitHead":"92cedeba00619d8534fe32b2adc77ad5d24c488b","mcpName":"io.github.raintree-technology/hig-doctor","scripts":{"test":"bun test","build":"esbuild src/index.ts --bundle --platform=node --target=node20 --format=esm --outfile=dist/index.js --alias:@raintree-technology/hig-doctor-core=../core/src/index.ts --external:typescript --banner:js=\"#!/usr/bin/env node\" && bun run bundle:skills","start":"bun src/index.ts","typecheck":"tsc --noEmit","bundle:skills":"rm -rf dist/skills && cp -R ../../skills dist/skills","prepublishOnly":"bun run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3c9c7d3d-d9e5-41bb-ba76-ab560c512bea"}},"repository":{"url":"git+https://github.com/raintree-technology/hig-doctor.git","type":"git","directory":"packages/mcp"},"_npmVersion":"11.16.0","description":"HIG Doctor MCP server exposing Apple HIG skills and project audits to AI coding agents","directories":{},"_nodeVersion":"24.18.0","_hasShrinkwrap":false,"packageManager":"bun@1.3.11","devDependencies":{"esbuild":"^0.25.0","@types/bun":"^1.3.3","typescript":"^5.9.3","@types/node":"^20","@modelcontextprotocol/sdk":"^1.12.0"},"optionalDependencies":{"typescript":"^5.9.3"},"_npmOperationalInternal":{"tmp":"tmp/hig-mcp_0.2.1_1785110482418_0.4374121057209448","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"hig-mcp","version":"0.2.2","license":"MIT","_id":"hig-mcp@0.2.2","maintainers":[{"name":"raintree-technology","email":"admin@raintree.technology"}],"homepage":"https://github.com/raintree-technology/hig-doctor/tree/main/packages/mcp#readme","bugs":{"url":"https://github.com/raintree-technology/hig-doctor/issues"},"bin":{"hig-mcp":"dist/index.js"},"dist":{"shasum":"eed54c5b31b1db4c79545ef702da1fd816ba8e25","tarball":"https://registry.npmjs.org/hig-mcp/-/hig-mcp-0.2.2.tgz","fileCount":174,"integrity":"sha512-9C1AMyZJWZRQE8rQ8QpbYmcXbVznbzXe6HIwgFTyDex2TkbICEPUdjG7hKDrVObhFx4k/7m0yWtfs0HpDbRWbA==","signatures":[{"sig":"MEYCIQC0Cm6RNwUwA3RJyKcjCoyIqitZ2CIMIOEhAGtZJTF+fgIhAKMA4QstuuxUwXc5SIhyUoUbwBFUnS1+5O7rck56VaQR","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/hig-mcp@0.2.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1224273},"main":"dist/index.js","type":"module","engines":{"node":"24.x"},"gitHead":"307eafc70736f27664bcdca3d55ed9ed6c1210ab","mcpName":"io.github.raintree-technology/hig-doctor","scripts":{"test":"bun test","build":"esbuild src/index.ts --bundle --platform=node --target=node20 --format=esm --outfile=dist/index.js --alias:@raintree-technology/hig-doctor-core=../core/src/index.ts --external:typescript --banner:js=\"#!/usr/bin/env node\" && bun run bundle:skills","start":"bun src/index.ts","typecheck":"tsc --noEmit","bundle:skills":"rm -rf dist/skills && cp -R ../../skills dist/skills","prepublishOnly":"bun run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3c9c7d3d-d9e5-41bb-ba76-ab560c512bea"}},"repository":{"url":"git+https://github.com/raintree-technology/hig-doctor.git","type":"git","directory":"packages/mcp"},"_npmVersion":"11.16.0","description":"HIG Doctor MCP server exposing Apple HIG skills and project audits to AI coding agents","directories":{},"_nodeVersion":"24.18.0","_hasShrinkwrap":false,"packageManager":"bun@1.3.11","devDependencies":{"esbuild":"^0.25.0","@types/bun":"^1.3.3","typescript":"^5.9.3","@types/node":"^20","@modelcontextprotocol/sdk":"^1.12.0"},"optionalDependencies":{"typescript":"^5.9.3"},"_npmOperationalInternal":{"tmp":"tmp/hig-mcp_0.2.2_1788334319841_0.2202629325687555","host":"s3://npm-registry-packages-npm-production"}},"0.2.3":{"name":"hig-mcp","version":"0.2.3","license":"MIT","_id":"hig-mcp@0.2.3","maintainers":[{"name":"raintree-technology","email":"admin@raintree.technology"}],"homepage":"https://github.com/raintree-technology/hig-doctor/tree/main/packages/mcp#readme","bugs":{"url":"https://github.com/raintree-technology/hig-doctor/issues"},"bin":{"hig-mcp":"dist/index.js"},"dist":{"shasum":"b85c65cfdb59229f2d16453bbaea129bad8d023a","tarball":"https://registry.npmjs.org/hig-mcp/-/hig-mcp-0.2.3.tgz","fileCount":174,"integrity":"sha512-uvnd3AI5qWPDz7I4Onp6gekkOx01RxcdEzpVrrLIZu5nwJ0j+B3JSYKw4AJEGYYShxD9Qu7sxuXocs9qGwk7rQ==","signatures":[{"sig":"MEUCIQCWJMaXLwIwwqgoQPdTJpNAzexPpHWmeZ1QQxl+37ntxAIgFmwtdERLdrj7X5sIlMlx/cBsbWOngUudDI3oKlkC2qY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIEITlcwzjrCVUL+vR9Ep21fEU15o48UisljRrLoWq00mAiEA8n0tDR1SNwhXuG0moGZEFoEtVExU+iqBZLpXy6T3MFc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/hig-mcp@0.2.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1224498},"main":"dist/index.js","type":"module","engines":{"node":"24.x"},"gitHead":"3ec08f5a6f9d2fa22a64950274ba6baee2a38838","mcpName":"io.github.raintree-technology/hig-doctor","scripts":{"test":"bun test","build":"esbuild src/index.ts --bundle --platform=node --target=node20 --format=esm --outfile=dist/index.js --alias:@raintree-technology/hig-doctor-core=../core/src/index.ts --external:typescript --banner:js=\"#!/usr/bin/env node\" && bun run bundle:skills","start":"bun src/index.ts","typecheck":"tsc --noEmit","bundle:skills":"rm -rf dist/skills && cp -R ../../skills dist/skills","prepublishOnly":"bun run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3c9c7d3d-d9e5-41bb-ba76-ab560c512bea"}},"repository":{"url":"git+https://github.com/raintree-technology/hig-doctor.git","type":"git","directory":"packages/mcp"},"_npmVersion":"11.16.0","description":"HIG Doctor MCP server exposing Apple HIG skills and project audits to AI coding agents","directories":{},"_nodeVersion":"24.18.0","_hasShrinkwrap":false,"packageManager":"bun@1.3.11","devDependencies":{"esbuild":"^0.25.0","@types/bun":"^1.3.3","typescript":"^5.9.3","@types/node":"^20","@modelcontextprotocol/sdk":"^1.12.0"},"optionalDependencies":{"typescript":"^5.9.3"},"_npmOperationalInternal":{"tmp":"tmp/hig-mcp_0.2.3_1788554411020_0.9091266465246457","host":"s3://npm-registry-packages-npm-production"}},"0.2.4":{"_id":"hig-mcp@0.2.4","bin":{"hig-mcp":"dist/index.js"},"bugs":{"url":"https://github.com/raintree-technology/hig-doctor/issues"},"dist":{"shasum":"9feda0d8d12bfa19aa56e7ae04cb7855ab70bc36","tarball":"https://registry.npmjs.org/hig-mcp/-/hig-mcp-0.2.4.tgz","fileCount":173,"integrity":"sha512-w/KYq267MPEqMHVwnO+RjfGlMqRk3Rq+5xR+FgcGtsiiDeut6lxkAY+JW5SaivsxiqYvqYmFMhN0p50N1Hl1jw==","signatures":[{"sig":"MEUCIQDblisSKYiiEBU8cdlraEe9Pw4sQZis/5xc/M/Ygsf39gIgUu1sFQ5dGMXJYiHggWXN8Ms7EAbI+s1SKf8mr7PMlTE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIGG3DBEYun6Et5Ipa4pR+vNTTxNkgHlf04IiHSif0/WvAiBYb5KCJoxtW5kdQBMM+eRW/4iFG67QWHPn5tT81/gajQ=="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/hig-mcp@0.2.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1211289},"name":"hig-mcp","type":"module","engines":{"node":">=22"},"gitHead":"e2f1100291a4774b883f878320b8d702fcc4f64f","license":"MIT","mcpName":"io.github.raintree-technology/hig-doctor","scripts":{"test":"bun test","build":"esbuild src/index.ts --bundle --platform=node --target=node22 --format=esm --outfile=dist/index.js --alias:@raintree-technology/hig-doctor-core=../core/src/index.ts --external:typescript --banner:js=\"#!/usr/bin/env node\" && bun run bundle:skills","start":"bun src/index.ts","typecheck":"tsc --noEmit","bundle:skills":"rm -rf dist/skills && cp -R ../../skills dist/skills","prepublishOnly":"bun run build"},"version":"0.2.4","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"3c9c7d3d-d9e5-41bb-ba76-ab560c512bea"}},"homepage":"https://github.com/raintree-technology/hig-doctor/tree/main/packages/mcp#readme","repository":{"url":"git+https://github.com/raintree-technology/hig-doctor.git","type":"git","directory":"packages/mcp"},"_npmVersion":"11.19.1","description":"MCP server for Apple HIG search, lookup, and source audits","directories":{},"maintainers":[{"name":"raintree-technology","email":"admin@raintree.technology"}],"_nodeVersion":"24.22.1","_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.25.0","@types/bun":"^1.3.3","typescript":"^5.9.3","@types/node":"^20","@modelcontextprotocol/sdk":"^1.29.0"},"optionalDependencies":{"typescript":"^5.9.3"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/hig-mcp_0.2.4_1795892495928_0.8340687714685885"}}},"time":{"created":"2026-07-23T00:05:18.290Z","modified":"2026-11-28T19:01:36.378Z","0.2.0":"2026-07-23T00:05:18.570Z","0.2.1":"2026-07-27T00:01:22.610Z","0.2.2":"2026-09-02T07:31:59.980Z","0.2.3":"2026-09-04T20:40:11.149Z","0.2.4":"2026-11-28T19:01:36.045Z"},"bugs":{"url":"https://github.com/raintree-technology/hig-doctor/issues"},"license":"MIT","homepage":"https://github.com/raintree-technology/hig-doctor/tree/main/packages/mcp#readme","repository":{"url":"git+https://github.com/raintree-technology/hig-doctor.git","type":"git","directory":"packages/mcp"},"description":"MCP server for Apple HIG search, lookup, and source audits","maintainers":[{"name":"raintree-technology","email":"admin@raintree.technology"}],"readme":"<p align=\"center\">\n  <img src=\"https://apple.raintree.technology/logo.svg\" alt=\"HIG Doctor\" width=\"72\" height=\"72\" />\n</p>\n\n# hig-mcp\n\nMCP server for the HIG Doctor skills corpus and audit engine. Node 22+ or Bun.\n\n```bash\nnpx hig-mcp              # stdio\nnpx hig-mcp --http 3845  # streamable HTTP at http://127.0.0.1:3845/mcp\n```\n\n## Client config\n\nClaude Desktop (`~/Library/Application Support/Claude/claude_desktop_config.json`), Cursor, Windsurf and Claude Code all take the same `mcpServers` entry:\n\n```json\n{\n  \"mcpServers\": {\n    \"hig-doctor\": { \"command\": \"npx\", \"args\": [\"-y\", \"hig-mcp\"] }\n  }\n}\n```\n\nFrom a checkout, use `bun /abs/path/packages/mcp/src/index.ts` or, after `bun run build`, `node /abs/path/packages/mcp/dist/index.js`.\n\n## Tools\n\n| Tool | Purpose |\n|------|---------|\n| `hig_list_skills` | List skills with descriptions and reference topics. |\n| `hig_lookup` | Return a skill overview, or one topic (`skill=hig-foundations, topic=color`). |\n| `hig_search` | BM25 search across all topics, e.g. \"minimum touch target size\". |\n| `hig_audit` | Audit a project directory: severity counts, categories, markdown report, optional `fail_on` gate. Honors `hig-doctor.config.json`, `.hig-baseline.json` and `hig-disable` comments. |\n| `hig_audit_file` | Audit one file: findings with rule ID, severity, line, fix and HIG link. |\n| `hig_explain_finding` | Rule metadata plus an excerpt of the HIG topic it cites. |\n\nEvery tool returns `structuredContent` plus a JSON text mirror. `skill` and `topic` must be kebab-case; audit paths must be absolute. Content is an attributed snapshot of Apple's HIG (2025-02-02); the [live HIG](https://developer.apple.com/design/human-interface-guidelines/) is canonical.\n\n## Skills directory\n\nThe npm package bundles the corpus at `dist/skills`. Set `HIG_SKILLS_DIR` to use a different copy. Otherwise the server tries the bundled copy, the monorepo `skills/`, then `$PWD/skills`.\n\n## Limits\n\nAudits are static evidence, not proof of HIG conformance or accessibility. HTTP mode binds to 127.0.0.1, rejects non-loopback `Host` headers and has no authentication, so any local process can call it, including the audit tools that read files. Prefer stdio.\n\nSee the [project README](https://github.com/raintree-technology/hig-doctor#readme), [rule catalog](https://github.com/raintree-technology/hig-doctor#framework-coverage), [security policy](https://github.com/raintree-technology/hig-doctor/blob/main/SECURITY.md) and [changelog](https://github.com/raintree-technology/hig-doctor/blob/main/CHANGELOG.md). MIT licensed. Apple HIG content is © Apple Inc.; see [THIRD_PARTY_NOTICES.md](https://github.com/raintree-technology/hig-doctor/blob/main/THIRD_PARTY_NOTICES.md).\n","readmeFilename":"README.md"}