Hi all,
With MCP (Model Context Protocol) announcement, it is now possible to plugin local system to Claude. So, I decided to use JXA to pull content from Notes.app, turn them into embeddings locally/on device using Transformer.js and store them in a local LanceDB database so we can build a proper RAG on top of it (mixture of semantic and BM25 search).
Hope some of you find it useful!