Logotipo de mcp-apple-notes

mcp-apple-notes

Comunidad
Dan8Oren

MCP server for Apple Notes — semantic search, folder browsing, and RAG. Works with any MCP client (Claude, Cursor, Windsurf, Cline). Fully local, no API keys.

EditorDan8Oren
Repositoriomcp-apple-notes
IdiomaJavaScript
Forks
3
Estrellas
13
Herramientas disponibles
0
Tipo de transportestdio
Categorías
LicenciaMIT
Enlaces
  • Conecta herramientas a flujos de trabajo con IA

    mcp-apple-notes ofrece funciones MCP que pueden usar los clientes y agentes de IA compatibles.

  • 0 herramientas disponibles

    Explora a continuación las acciones que se pueden invocar, con sus nombres y descripciones cuando el servidor los proporcione.

  • Configuración lista para copiar

    Usa los ejemplos de instalación para configurar este servidor en tu cliente MCP preferido.

  • Indicadores de interés en el código abierto

    13 estrellas y 3 forks en el repositorio enlazado.

MCP Apple Notes

MCP Apple Notes

mcp-apple-notes MCP server

A Model Context Protocol (MCP) server that enables semantic search and RAG (Retrieval Augmented Generation) over your Apple Notes. Works with any MCP-compatible client — Claude Desktop, Cursor, Windsurf, Cline, and others.

MCP Apple Notes Demo

Features

  • 🔍 Semantic search over Apple Notes using all-MiniLM-L6-v2 on-device embeddings model
  • 📝 Full-text search capabilities
  • 📂 Folder support — list folders, browse by folder, filter search by folder
  • 📊 Vector storage using LanceDB
  • 🤖 Works with any MCP-compatible client (Claude, Cursor, Windsurf, Cline, etc.)
  • 🍎 Native Apple Notes integration via JXA
  • 🔒 Optional read-only mode for safe exploration
  • 🏃‍♂️ Fully local execution — no API keys needed

Security & Transparency

Because this server interacts with your private Apple Notes, it is designed with absolute transparency in mind. It runs 100% locally on your Mac.

  • No Cloud, No Telemetry — No API keys, no data leaving your machine.
  • Native Apple JXA — Uses Apple's official JavaScript for Automation scripting bridge.
  • Embeddings on-device — The all-MiniLM-L6-v2 model runs locally via @huggingface/transformers.
  • Verifiable — You are highly encouraged to read every line of code (especially index.ts) before it ever touches your notes.
  • GitHub releases include SHA-256 checksums so you can verify downloaded artifacts.

Installation & Setup

Choose the installation method that fits your workflow.


Method 1: Install from source (recommended)

By cloning the repository locally, you can inspect the source code and know exactly what is executing on your machine.

Prerequisites: Node.js (v18+) or Bun

bash
git clone https://github.com/Dan8Oren/mcp-apple-notes && cd mcp-apple-notes && bun install
json
{
  "mcpServers": {
    "apple-notes": {
      "command": "bun",
      "args": ["run", "/path/to/mcp-apple-notes/index.ts"]
    }
  }
}

Using NPM:

bash
git clone https://github.com/Dan8Oren/mcp-apple-notes && cd mcp-apple-notes && npm install

Then add the server to your MCP client config. Replace /path/to/mcp-apple-notes with where you cloned the repo:

json
{
  "mcpServers": {
    "apple-notes": {
      "command": "npx",
      "args": ["tsx", "/path/to/mcp-apple-notes/index.ts"]
    }
  }
}

Tip: Want to try it without risk? Enable read-only mode to block all write operations while you explore.
"env": { "MCP_APPLE_NOTES_READ_ONLY": "1" }


Method 2: Quick start via npx

If you prefer a zero-setup approach and trust the published npm package, you can simply add this directly to your MCP config:

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

After setup, restart your client and ask your AI assistant to "index my notes" to get started.

Per-client instructions

  1. Open Settings → Developer → Edit Config
  2. Paste your chosen JSON config into claude_desktop_config.json
  3. Restart Claude Desktop

Logs:

bash
tail -n 50 -f ~/Library/Logs/Claude/mcp-server-apple-notes.log
bash
# npm version:
claude mcp add apple-notes npx -- -y @dan8oren/mcp-apple-notes
# or from source:
claude mcp add apple-notes npx -- tsx /path/to/mcp-apple-notes/index.ts

Add the JSON config to ~/.cursor/mcp.json (global) or .cursor/mcp.json in your project root.

Add the JSON config to ~/.windsurf/mcp.json.

Available Tools

ToolDescription
index-notesIndex all notes for semantic search. Run this first
list-foldersList all Apple Notes folders with full paths and note counts
list-notesList notes with metadata. Optional path filter, includeContent flag, and contentPreviewChars (HTML-stripped per-note preview truncated to N chars — one fast call, avoids the response token cap when listing many notes' content)
search-notesSemantic + full-text search with optional path filter and limit
get-noteGet full content by noteId or title. Returns candidates on ambiguity
create-noteCreate a new note with markdown content, optionally in a folder
edit-noteEdit title and/or content (markdown) of an existing note
append-to-noteAppend markdown content to an existing note
move-noteMove a note to a different folder
delete-noteDelete a note (moves to Recently Deleted)

Verify Before You Trust

Every Apple Notes operation is a JXA call you can inspect in index.ts. No network requests, no background syncing — just local scripting bridge calls.

Read-only mode

Want a safety net? Enable read-only mode to block all write operations — only search, list, and read tools will be available:

json
{
  "mcpServers": {
    "apple-notes": {
      "command": "npx",
      "args": ["-y", "@dan8oren/mcp-apple-notes"],
      "env": { "MCP_APPLE_NOTES_READ_ONLY": "1" }
    }
  }
}

When enabled, only these tools are available: index-notes, list-folders, list-notes, search-notes, get-note.

Verbose mode

Enable verbose logging to see every JXA call before it executes (logged to stderr):

CLI flag — add --verbose to your MCP client config args:

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

Environment variable — for clients that support env:

json
{
  "mcpServers": {
    "apple-notes": {
      "command": "npx",
      "args": ["-y", "@dan8oren/mcp-apple-notes"],
      "env": { "MCP_APPLE_NOTES_VERBOSE": "1" }
    }
  }
}

JXA operations reference

OperationTypeWhat it does
getNotesReadLists all notes (id, title, folder path)
getFoldersReadLists all folders with paths and note counts
getNotesByPathReadGets notes in a specific folder
getNoteDetailsByIdReadGets full content of one note by ID
createNoteWriteCreates a new note with title and content
appendToNoteWriteAppends HTML content to an existing note
editNoteWriteUpdates title and/or content of a note
moveNoteWriteMoves a note to a different folder
deleteNoteDestructiveMoves a note to Recently Deleted

All operations go through Apple's JXA scripting bridge (Application('Notes')). No direct file system access, no network calls. The delete operation is non-permanent — notes go to Recently Deleted and can be recovered within 30 days.

Response Shape

Tool responses are JSON objects in a consistent envelope:

  • Success: { "ok": true, "data": ... }
  • Error: { "ok": false, "error": { "type": "...", "message": "..." } }

Most note-oriented responses now include the stable Apple Notes id so clients can track notes safely across renames and moves.

Community & Support

Bug reports, ideas, questions, and showcases all have a home — please use the channel that fits:

PRs are welcome. For non-trivial changes, please open an issue or discussion first so we can align on direction before you invest time.

Acknowledgments

Originally based on RafalWilinski/mcp-apple-notes.

Usa el MCP de mcp-apple-notes con varios modelos de IA

TypingMind conecta las herramientas MCP a nivel del espacio de trabajo, por lo que, una vez conectado mcp-apple-notes, puedes usarlo con distintos modelos de IA en TypingMind sin tener que configurarlo por separado para cada modelo. Esta integración MCP se ejecuta localmente en tu dispositivo a través del conector MCP de TypingMind.

Guía de configuración para usar el conector local

Usa esta opción si el servidor MCP necesita acceder a archivos locales, aplicaciones o recursos privados de tu ordenador.

1

Abre los ajustes de MCP

En TypingMind, ve a Ajustes, luego a Ajustes avanzados y a Model Context Protocol, y elige Configurar conector.

  1. Abre TypingMind en tu navegador.
  2. Haz clic en el icono de Ajustes.
  3. Ve a Ajustes avanzados.
  4. Abre la sección Model Context Protocol.
  5. Haz clic en Configurar conector y elige Este dispositivo.
Pantalla de configuración del conector MCP de TypingMind con «Este dispositivo» seleccionado
2

Ejecuta el comando del conector

Elige Este dispositivo, copia el comando de TypingMind y ejecútalo en Terminal. Mantén el proceso en ejecución mientras uses MCP.

  1. Copia el comando de configuración que muestra TypingMind.
  2. Abre Terminal en macOS o Windows Terminal en Windows.
  3. Pega y ejecuta el comando.
  4. Acepta la instalación del paquete si Terminal te pide confirmación para continuar.
  5. Mantén el proceso en ejecución en la ventana de Terminal mientras uses las herramientas MCP.
3

Añade mcp-apple-notes como servidor

Cuando el estado del conector sea «Listo», haz clic en «Edita servidores» y pega la configuración del servidor MCP.

  1. Espera hasta que el estado del conector indique «Listo».
  2. Haz clic en Edita servidores.
  3. Pega la configuración del servidor MCP de mcp-apple-notes.
  4. Guarda la lista de servidores.
  5. Actualiza para comprobar que el conector sigue listo.
Ajustes de MCP de TypingMind con un servidor activo y el botón «Edita servidores»
{
  "mcpServers": {
    "dan8oren-mcp-apple-notes": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Úsala con distintos modelos

Guarda la lista de servidores, abre Plugins, activa las herramientas MCP de mcp-apple-notes y selecciona cualquier modelo de IA compatible en TypingMind para usar las herramientas en el chat o asignárselas a un agente de IA.

  1. Abre la página Plugins en TypingMind.
  2. Activa las herramientas MCP de mcp-apple-notes.
  3. Inicia un chat y elige el modelo de IA que quieras usar.
  4. Usa las herramientas MCP en el chat o asígnalas a un agente de IA.
  5. Cambia a otro modelo de IA cuando lo necesites sin volver a conectar MCP.
Chat de TypingMind que usa herramientas MCP activadas con un modelo de IA seleccionado
¿Puedes usar mcp-apple-notes para ayudarme con esta tarea?
mcp-apple-notes
Claro. Lo he leído.
Esto he encontrado usando mcp-apple-notes.

Preguntas frecuentes

¿Para qué sirve el servidor MCP mcp-apple-notes?

mcp-apple-notes es un servidor MCP que permite a los clientes de IA compatibles conectarse a herramientas y contexto externos. En TypingMind, basta con añadir este servidor MCP una vez para que sus herramientas estén disponibles en tu espacio de trabajo de IA.

¿Puedo usar el servidor MCP mcp-apple-notes con varios modelos de IA en TypingMind?

Sí. TypingMind conecta las herramientas MCP a nivel del espacio de trabajo, por lo que puedes usar mcp-apple-notes con distintos modelos de IA, como Claude, ChatGPT, Gemini u otros que hayas configurado en TypingMind, sin configurar el servidor MCP por separado para cada modelo.

¿Por qué usar el conector MCP de mcp-apple-notes con TypingMind?

TypingMind es una de las mejores interfaces de chat con LLM porque reúne varios modelos de IA, prompts, plugins, agentes de IA, claves de API y herramientas MCP en un solo espacio de trabajo. Con mcp-apple-notes conectado, puedes usar sus herramientas MCP con tus modelos preferidos y mantener organizado tu flujo de trabajo de chat en TypingMind.

¿Cómo conecto el servidor MCP mcp-apple-notes a TypingMind?

mcp-apple-notes funciona a través del conector MCP local de TypingMind. Es la mejor opción cuando el servidor MCP necesita acceder a archivos locales, aplicaciones de escritorio, herramientas de línea de comandos o recursos privados de tu ordenador.

¿Qué herramientas ofrece el servidor MCP mcp-apple-notes en TypingMind?

mcp-apple-notes ofrece funciones MCP que puedes activar desde la página Plugins de TypingMind y usar en el chat o asignar a agentes de IA.

¿Tengo que compartir mis claves de API con TypingMind para usar el servidor MCP mcp-apple-notes?

No. TypingMind prioriza el funcionamiento local y te permite mantener el control de tus proveedores de modelos, claves de API, prompts y configuración MCP. Si mcp-apple-notes requiere autenticación, añade las cabeceras, los ajustes de OAuth o la configuración local necesarios para ese servidor MCP al crear la conexión.

Servidores MCP relacionados

Ver todos

Crea ya tu propio espacio de trabajo IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇