Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

ipatool

$ ipatool Community Med Risk
Majd Alfhaily · Workspace & SaaS · MIT · macos / linux / windows

ipatool (majd/ipatool) interacts with the iOS App Store APIs from macOS, Linux, or Windows to search apps, list historical versions, acquire free app licenses (purchase), and download decrypted-header .ipa files (download). Built with --format json and --non-interactive flags for scripted automation.

FCRS-1.0 Score
78 /100
Good
Medium Confidence
Zero-Friction Install
brew install ipatool
CLI vs MCP Decision CLI Only

ipatool streams large .ipa binaries to local disk and manages Apple Storefront session tokens directly via OS keychain or --keychain-passphrase.

Agent-Readiness Checklist

✓ JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 21 / 25

First-class --format json and --non-interactive global flags across search, list-versions, purchase, and download.

  • Supports global --format json and --non-interactive flags
  • Explicit --bundle-identifier flag avoids positional ambiguity
Trust & Safety 18 / 25

Keychain and --keychain-passphrase protect Apple ID sessions, though purchase modifies Apple ID license history without --dry-run.

  • Encrypts session tokens in OS keychain or passphrase-protected store
  • No --dry-run before purchase or download
Setup & Portability 13 / 15

Cross-platform Go binary installable via brew install ipatool or GitHub releases on macOS, Linux, and Windows.

  • Single static Go binary with cross-platform support
Utility & Efficiency 11 / 15

Unique, focused tool for programmatic iOS .ipa acquisition and App Store version inspection.

  • Enables headless .ipa archival and security analysis pipelines
Maintenance & Lineage 8 / 10

Well-maintained MIT project (majd/ipatool), though dependent on undocumented Apple App Store endpoints.

  • MIT-licensed majd/ipatool repository
Docs & Verifiability 7 / 10

Clean Cobra --help reference and README examples, though --keychain-passphrase CI setup needs careful attention.

  • Structured --help output and GitHub README examples

Security, Auth & Guardrails

Auth Modes
OS Keychain Config File
Credential Storage

Persists Apple ID session tokens in the OS keychain or an encrypted passphrase-protected file via --keychain-passphrase on headless Linux.

Side Effects
Read-Only Local Write
Cost & Quotas

MIT open-source CLI; requires a valid Apple ID (2FA required on initial auth login).

Copyable Guardrail for CLAUDE.md / AGENTS.md
# ipatool Agent Rules
- Always pass `--format json --non-interactive` so commands never hang on TTY prompts.
- Run `ipatool search` or `list-versions` before calling `purchase` or `download`.
- Only call `purchase` for explicitly approved free bundle IDs.

Agent-Ready Command Recipes

Safe Read-Only Queries

Search iOS App Store apps as JSON
ipatool search "Slack" --format json --non-interactive

Queries the iOS App Store catalog and returns matching bundle identifiers and versions as JSON.

List available version IDs for a bundle
ipatool list-versions --bundle-identifier com.tinyspeck.chatlyio --format json --non-interactive

Lists external version identifiers for an iOS app without downloading any .ipa file.

Controlled Writes & Previews

Download an IPA package non-interactively
ipatool download --bundle-identifier com.example.app --output ./out.ipa --format json --non-interactive

Downloads the .ipa package for a licensed bundle ID to ./out.ipa with JSON progress/status output.

Strengths for Agents

  • + Clean --format json --non-interactive support makes scripting iOS App Store lookups reliable.
  • + Works cross-platform on Linux CI runners via --keychain-passphrase (no macOS required).

Caveats & Pitfalls

  • ! Initial ipatool auth login requires interactive Apple ID 2FA verification.
  • ! Relies on unofficial Apple App Store APIs that may occasionally require CLI updates.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI