Export Apple Notes to SQLite
Install this tool using pip:
pip install apple-notes-to-sqlite
For help, run:
apple-notes-to-sqlite --help
You can also use:
python -m apple_notes_to_sqlite --help
To save your notes to a SQLite database called notes.db run:
apple-notes-to-sqlite notes.db
A progress bar will be shown.
You can stop it after a specified number of notes using --stop-after:
apple-notes-to-sqlite notes.db --stop-after 10
To contribute to this tool, first checkout the code. Then create a new virtual environment:
cd apple-notes-to-sqlite
python -m venv venv
source venv/bin/activate
Now install the dependencies and test dependencies:
pip install -e '.[test]'
To run the tests:
pytest
$ claude mcp add apple-notes-to-sqlite \
-- python -m otcore.mcp_server <graph>