pymobiledevice3 is a pure Python 3 implementation for interacting with iOS devices (iPhone, iPad, ...).
It ships both a command-line tool and a Python API, and runs on Windows, Linux, and macOS.
Highlights: device discovery, port forwarding, syslog/oslog streaming, app & profile management, AFC file access, crash reports, PCAP sniffing, firmware update, recovery/DFU, backup/restore, WebInspector automation, and DDI/DVT developer tooling (iOS 17+ over a tunnel).
python3 -m pip install -U pymobiledevice3
Then verify connectivity:
pymobiledevice3 usbmux list
pymobiledevice3 syslog live
pymobiledevice3 apps list
📖 Full documentation: https://doronz88.github.io/pymobiledevice3/
The docs are built from docs/ with MkDocs (mkdocs.yml).
Questions, ideas, or want to help? Join the community on Discord.
See CONTRIBUTING and Code of Conduct. Agent-specific contributor guidance is in AGENTS.
This work is licensed under GPL 3.0 and credited to several major contributors:
$ claude mcp add pymobiledevice3 \
-- python -m otcore.mcp_server <graph>