# disco-trooper/apple-notes-mcp [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/disco-trooper/apple-notes-mcp  
**GitHub Stars:** 7  
**npm Downloads (last month):** 346  
**Views:** 10  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/disco-trooper-apple-notes-mcp

## Description
Apple Notes MCP with semantic search, hybrid vector+keyword search, full CRUD operations, and incremental indexing. Uses JXA for native macOS integration.

## Tools
Capabilities this server exposes over MCP:

- **search-notes** — Hybrid vector + fulltext search.
- **list-notes** — List notes with sorting and filtering. Without parameters, shows index statistics.
- **list-folders** — List all Apple Notes folders.
- **get-note** — Get note content by title.
- **get-tables** — Extract structured table data from a note.
- **index-notes** — Index notes for semantic search.
- **start-index-job** — ```
- **get-index-job** — ```
- **list-index-jobs** — ```
- **cancel-index-job** — ```
- **reindex-note** — Re-index a single note after manual edits.
- **create-note** — Create a note in Apple Notes.
- **update-note** — Update an existing note.
- **delete-note** — Delete a note (requires confirmation).
- **move-note** — Move a note to another folder.
- **batch-delete** — Delete multiple notes at once.
- **batch-move** — Move multiple notes to a target folder.
- **purge-index** — Clear all indexed data. Use when switching embedding models or to fix corrupted index.
- **list-tags** — List all tags with occurrence counts.
- **search-by-tag** — Find notes with a specific tag.
- **related-notes** — Find notes related to a source note.
- **export-graph** — Export knowledge graph for visualization.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "apple-notes-mcp": {
    "command": "npx",
    "args": ["-y","@disco_trooper/apple-notes-mcp"]
  }
}
```

## Documentation

## What disco-trooper/apple-notes-mcp does

disco-trooper/apple-notes-mcp exposes Apple Notes through the Model Context Protocol for clients such as Claude Code. It can find notes with hybrid vector and keyword search, read note content, inspect tables, enumerate folders, and manage notes with create, update, move, delete, and batch operations.

The server also builds a local index from note content. Searches can use semantic, full-text, or combined retrieval, and related-note tools use tags, wiki links, and similarity relationships. Graph data can be exported as JSON or GraphML. Read-only mode removes tools that modify Apple Notes.

Notes can be addressed by title, a folder-qualified path, an account-qualified path, or an explicit `id:` value. When a title is ambiguous, the server returns matching IDs for disambiguation.

## How it works

Apple Notes access runs through JavaScript for Automation (JXA), so the server needs macOS automation permission for the terminal or MCP client. Indexed content is chunked and stored locally for retrieval. Embeddings can come from the local HuggingFace Transformers model or from OpenRouter.

Indexing supports incremental and full runs, including background jobs for larger libraries. Background work can be started, monitored, listed, or cancelled. After a note write, the affected content is queued for index synchronization; the write response can report a warning if synchronization fails.

The first search using a local embedding model may download and load that model. Locked notes and notes still syncing through iCloud cannot be read until they are available to Apple Notes.

## Setup and configuration

The package requires macOS on Apple Silicon, Bun 1.1.0 or newer, and Apple Notes. Install it globally with `npm install -g @disco_trooper/apple-notes-mcp`, then run `apple-notes-mcp`. Although npm performs the installation, Bun must also be available on `PATH` because the executable runs with Bun.

The first launch opens a setup wizard for the embedding provider, read-only mode, automatic indexing, Claude Code integration, and the initial index. Settings are stored in `~/.apple-notes-mcp/.env`; `apple-notes-mcp-setup` can change them later. The wizard can add an `apple-notes` MCP entry to `~/.claude.json`, backing up the existing file first. Restart Claude Code after setup.

Useful settings include `OPENROUTER_API_KEY` for OpenRouter embeddings, `EMBEDDING_MODEL` and `EMBEDDING_DIMS` for embedding selection, `READONLY_MODE` for disabling write tools, and `INDEX_TTL` for triggering incremental refreshes before searches. `JXA_TIMEOUT_MS`, `NOTES_FETCH_BATCH_SIZE`, and `EMBEDDING_BATCH_SIZE` control relevant operation limits. Invalid configuration values stop startup.

## Tools and capabilities

- Search notes with hybrid, semantic, or keyword retrieval and optional folder filtering.
- List notes with title or date sorting, list folders, read full content as Markdown or HTML, and extract table rows.
- Run incremental or full indexing, including background jobs with progress and retention controls.
- Re-index individual notes or purge the local index when changing embedding models or dimensions.
- Create, update, move, delete, and batch-move or batch-delete notes; table cells can also be edited directly.
- Discover tags, search by tag, find related notes, and export the tag/link graph as JSON or GraphML.

Destructive operations require confirmation where specified. `READONLY_MODE` prevents write tools from being registered.

## Limitations and notes

The server depends on Apple Notes being accessible through macOS automation. Grant the requested permission under System Settings → Privacy & Security → Automation. Large folders may require a smaller fetch batch or a longer JXA timeout.

LanceDB has no native build for Intel Macs, so Apple Silicon is required. If the embedding model or dimensions change, purge the existing index and run a full index. Notes that are locked or still syncing are skipped until they can be read and re-indexed.

_Full upstream README: https://allmcps.com/mcp/disco-trooper-apple-notes-mcp/readme_

