Apple Notes MCP Server is a local MCP server used to interact with Apple Notes through an LLM, enabling note automation. It provides a set of tools that enable any MCP-compatible client to seamlessly integrate Apple Notes, completing full note operations through a secure and reliable AppleScript API layer.
Purpose
The server is designed to let users automate the management of Apple Notes through MCP-supported clients such as Continue.dev, Claude Desktop, Perplexity, etc., including creating, reading, updating, and deleting notes, as well as managing folders and searching content.
Main capabilities
- Note management (6 tools):
- create_note: Create a note using HTML content.
- read_note: Read a note by ID and verify it.
- update_note: Update a note by ID using HTML content.
- delete_note: Delete a note by ID and verify it.
- move_note: Move notes between folders.
- list_all_notes: List all notes in all folders.
- Folder management (5 tools):
- create_folder: Create a folder, with path support.
- read_folder: Read folder details by ID.
- rename_folder: Rename a folder by ID.
- delete_folder: Delete a folder by ID.
- move_folder: Move folders between locations.
- Search and structure (3 tools):
- search_notes: Search notes by keyword.
- list_folder_with_structure: Display the folder hierarchy.
- list_notes_with_structure: Display the hierarchy of folders and notes.
- Content support:
- HTML format: <h1-h6>, <b><i><u>, <p><div><br>, <ul><ol><li>, <table>, <a>.
- Special features: Unicode and emoji support (🚀, ✅, 📝), nested folder paths (up to 5 levels), automatic character escaping, rich content (headings, lists, tables).
Usage
- System requirements:
- macOS (required for AppleScript support)
- Python 3.10+ (required for MCP SDK compatibility)
- Apple Notes application (must be installed and accessible)
- MCP-compatible client (e.g., Continue.dev, Claude Desktop)
- Installation steps:
- Step 1: Install uv (if not already installed).
- Windows (PowerShell):
powershell -c "irm https://astral.sh/uv/install.ps1 | iex" - Alternative (pip):
pip install uv
- Windows (PowerShell):
- Step 2: Add the MCP configuration. Add the configuration to the MCP client (such as Perplexity, Cursor, Continue.dev, Claude Desktop):
Note: Ensure that the MCP client has permission in System Preferences → Security & Privacy → Privacy → Accessibility to access Apple Notes and execute AppleScript commands.{ "mcpServers": { "apple-notes": { "command": "uvx", "args": ["mcp-apple-notes"] } } }
- Step 1: Install uv (if not already installed).
Use Cases
- macOS users who need to automate organization, search, or batch operations for Apple Notes.
- Developers and users who want to directly manage notes through LLM clients (such as Claude Desktop, Continue.dev).
- Scenarios that require creating notes containing rich content such as HTML formatting, emoji, and tables.
Limitations
- Only macOS is supported, because it depends on AppleScript.
- Requires Python 3.10+ and an MCP-compatible client.
- Accessibility permission must be granted, otherwise AppleScript commands cannot be executed.
- This project follows the MIT License.
Architecture
The server follows the MCP protocol specification and adopts a modular architecture:
- AppleScript layer: handles direct interaction with Apple Notes.
- Tool layer: wraps AppleScript operations for MCP tools.
- FastMCP server layer: implements the MCP protocol using decorators.
Troubleshooting
- "No module named 'mcp'" error: use uvx for automatic installation, and ensure uv is installed and in PATH.
- AppleScript permission denied: grant permission to Terminal/MCP client in System Preferences → Security & Privacy → Privacy → Accessibility.
- Notes not found: ensure the Apple Notes app is installed and accessible, and check whether the notes exist in the default location.