MCP Apple Notes
Perform semantic search and retrieval augmented generation over your Apple Notes.
MCP Apple Notes
A Model Context Protocol (MCP) server that enables semantic search and RAG (Retrieval Augmented Generation) over your Apple Notes. This allows AI assistants like Claude to search and reference your Apple Notes during conversations.
Features
- π Semantic search over Apple Notes using
all-MiniLM-L6-v2on-device embeddings model - π Full-text search capabilities
- π Vector storage using LanceDB
- π€ MCP-compatible server for AI assistant integration
- π Native Apple Notes integration via JXA
- πββοΈ Fully local execution - no API keys needed
Prerequisites
- Bun
- Claude Desktop
Installation
- Clone the repository:
git clone https://github.com/RafalWilinski/mcp-apple-notes cd mcp-apple-notes
- Install dependencies:
bun install
Usage
- Open Claude desktop app and go to Settings -> Developer -> Edit Config
- Open the
claude_desktop_config.jsonand add the following entry:
{ "mcpServers": { "local-machine": { "command": "/Users/<YOUR_USER_NAME>/.bun/bin/bun", "args": ["/Users/<YOUR_USER_NAME>/apple-notes-mcp/index.ts"] } } }
Important: Replace <YOUR_USER_NAME> with your actual username.
- Restart Claude desktop app. You should see this:
- Start by indexing your notes. Ask Claude to index your notes by saying something like: "Index my notes" or "Index my Apple Notes".
Troubleshooting
To see logs:
tail -n 50 -f ~/Library/Logs/Claude/mcp-server-local-machine.log
or
tail -n 50 -f ~/Library/Logs/Claude/mcp.log
Todos
- Apple notes are returned in the HTML format. We should turn them to Markdown and embed that
- Chunk source content using recursive text splitter or markdown text splitter
- Add an option to use custom embeddings model
- More control over DB - purge, custom queries, etc.
- Storing notes in Notes via Claude
Related Servers
Claude Text Editor
An MCP server for viewing, editing, and creating text files, based on the Claude built-in text editor tool.
Everything Search
Fast Windows file search using Everything SDK
File System MCP Server
A server for comprehensive file and directory management on the local file system.
plsreadme
Share markdown files and text as clean, readable web links. Works with Cursor, Claude Desktop, VS Code, Windsurf, and any MCP client.
Vulcan File Ops
MCP server that gives Claude Desktop and other desktop MCP clients filesystem powersβread, write, edit, and manage files like AI coding assistants.
MCP-PROCESS
Provides shell access to execute commands and interact with the local file system.
Filesystem MCP Server for WSL
A filesystem server for Windows Subsystem for Linux (WSL), using native commands for faster file operations.
File MCP Server
A server providing comprehensive file system operations, automatically downloaded and built on first use.
Filesystem MCP Server
Provides AI agents with secure access to local filesystem operations like reading, writing, and managing files and directories.
Excel Analyser MCP
Read and analyze Excel (.xlsx) and CSV (.csv) files with scalable, chunked, and column-specific data access, ideal for large datasets.