curl -fsSL https://github.com/jsj/apple-docs-cli/releases/latest/download/install.sh | sh; apple-docs init; apple-docs call search_apple_docs --args '{"query":"AlarmKit","type":"documentation"}' --compactnpm i -g @jsj/apple-docs-cli
apple-docs -hgit clone https://github.com/jsj/apple-docs-cli.git
cd apple-docs-cli
bun install
bun run build
bun run src/cli.ts -happle-docs <command>Commands:
list-toolslist callable tools and schemascallcall a tool with JSON argsskillmanage local skill folders (list,install,uninstall)
apple-docs list-tools --compact | jqapple-docs call search_apple_docs --args '{"query":"EventKit","type":"documentation"}' --compact | jqcat > args.json <<'JSON'
{
"url": "https://developer.apple.com/documentation/eventkit/"
}
JSON
apple-docs call get_apple_doc_content --args-file ./args.json --compact | jqapple-docs call search_apple_docs --args '{"query":"EventKit","type":"documentation"}' --compact | jq '.result.text'
apple-docs call get_apple_doc_content --args '{"url":"https://developer.apple.com/documentation/eventkit/"}' --compact | jq '.result.text'EventKit is the framework for calendar/reminder data (events, reminders, recurrence, alarms).
apple-docs call search_apple_docs --args '{"query":"AlarmKit","type":"documentation"}' --compact | jq '.result.text'
apple-docs call get_apple_doc_content --args '{"url":"https://developer.apple.com/documentation/alarmkit/"}' --compact | jq '.result.text'Skill root depends on your agent/runtime. Use --root to control it explicitly.
A common default is ~/.agents/skills (for example: /Users/james/.agents/skills).
List skills:
apple-docs skill list --compact | jqInstall skill from folder:
apple-docs skill install --name apple-docs-cli --from ./skills/apple-docs-cli --compact | jqInstall skill into a custom root:
apple-docs skill install \
--name apple-docs-cli \
--from ./skills/apple-docs-cli \
--root /Users/james/.agents/skills \
--compact | jqUninstall:
apple-docs skill uninstall --name apple-docs-cli --compact | jqAll commands return:
{
"ok": true,
"command": "call",
"tool": "search_apple_docs",
"args": {"query": "EventKit"},
"result": {
"text": "...",
"parsedText": null,
"response": {"content": [{"type": "text", "text": "..."}]}
},
"error": null
}bun run dev
bun run build
bun run test
bun run test:coverage
bun run lintThis project is a fork of https://github.com/kimsungwhee/apple-docs-mcp. Credit to the original author and contributors. Licensed under MIT (see LICENSE).
