Skip to main content
Glama
ailenshen

Apple Notes MCP Server

by ailenshen

MCP-сервер Apple Notes

Чтение и запись заметок Apple Notes с поддержкой собственного форматирования Apple Notes.

apple-notes-mcp MCP server

Большинство MCP-серверов для Apple Notes могут записывать только обычный текст. Этот сервер создает заметки с собственным форматированием — заголовки, полужирный шрифт, списки — всё это отображается как настоящие стили Apple Notes, а не как обычный текст. Это достигается за счет использования встроенной функции импорта Markdown в приложении Notes.app.

Требования: macOS 26 (Tahoe) или новее, Node.js 24+

Настройка

1. Добавление в ваш MCP-клиент

Claude Desktop — отредактируйте ~/Library/Application Support/Claude/claude_desktop_config.json:

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

Claude Code — выполните в терминале:

claude mcp add apple-notes -- npx -y @ailenshen/apple-notes-mcp@latest

2. Предоставление разрешений

Для поддержки собственного форматирования сервер использует встроенный импорт Markdown в Notes.app — он открывает файлы .md с помощью Notes.app и автоматически подтверждает диалоговое окно импорта. Для этого требуются два разрешения macOS для node:

Разрешение

Где включить

Зачем

Полный доступ к диску

Системные настройки > Конфиденциальность и безопасность > Полный доступ к диску > включите node

Чтение базы данных заметок для перечисления и поиска

Универсальный доступ

Системные настройки > Конфиденциальность и безопасность > Универсальный доступ > включите node

Автоматическое подтверждение диалогового окна импорта при создании заметок

При первом использовании macOS предложит вам подтвердить действие — просто нажмите «Разрешить». Если вы пропустили запрос, перейдите в указанные выше настройки и включите node вручную. После предоставления разрешений перезапустите ваш MCP-клиент.

Если разрешение отсутствует, сервер сообщит вам, какое именно и как его исправить.

3. Начало работы

Просто общайтесь со своим ИИ естественным образом:

  • "List all my notes in the Projects folder"

  • "Search my notes for 'meeting agenda'"

  • "Read my Shopping List note"

  • "Create a note in Work with today's action items"

  • "Update my Shopping List with these new items"

  • "Delete the note called 'Old Draft'"

Related MCP server: Apple Mail MCP

Что он умеет?

Инструмент

Описание

list_notes

Просмотр заметок, с возможностью фильтрации по папкам

search_notes

Поиск заметок по ключевым словам

get_note

Чтение полного содержимого в формате Markdown

create_note

Запись Markdown → заметка с собственным форматированием

update_note

Замена содержимого с сохранением папки

delete_note

Перемещение в «Недавно удаленные»

Поддержка Markdown в Notes

Элемент

Работает?

Заголовки, полужирный, курсив, списки, inline code

Да

Цитаты

Содержимое сохраняется, стиль отступа отсутствует

Ссылки

Текст сохраняется, URL теряется

Таблицы, сноски

Нет

Удаленный доступ (режим HTTP)

Хотите получить доступ к своим заметкам Apple Notes с телефона или другого компьютера?

npx @ailenshen/apple-notes-mcp@latest --http

Это выведет URL-адрес конечной точки со встроенным секретным ключом:

Endpoint: http://localhost:3100/mcp/a3f8b2c9e1d4...

Укажите этот URL в своем удаленном MCP-клиенте. Чтобы получить доступ через интернет, разместите его за HTTPS с помощью туннеля (ngrok, Cloudflare Tunnel и т. д.).

Флаг

По умолчанию

Описание

--port <number>

3100

Номер порта

--secret <string>

случайный

Пользовательский секретный ключ URL

Чтобы он продолжал работать после перезагрузки, см. пример LaunchAgent в вики.

Как это работает

Действие

Метод

Скорость

Список / Поиск

SQLite (только чтение)

< 100 мс

Чтение

AppleScript → Markdown

~1 с

Создание

Собственный импорт Markdown

~0.5 с

Обновление

Удаление + Создание

~1.5 с

Удаление

AppleScript

~1 с

  • Чтение напрямую запрашивает базу данных заметок через SQLite — это быстро и безопасно. Содержимое преобразуется из HTML Apple в Markdown с помощью turndown.

  • Создание использует собственный импорт Markdown в macOS (open -a Notes), поэтому форматирование сохраняется в исходном виде. Приложение Notes.app ненадолго появляется (~0.5 с) во время создания.

  • Обновление удаляет старую заметку и создает новую, автоматически сохраняя исходную папку.

  • Удаление перемещает заметки в «Недавно удаленные», так же, как если бы вы делали это вручную.

Известные ограничения

  • Частичное редактирование заметок (например, «исправь только этот абзац») не поддерживается. update_note всегда заменяет всё содержимое целиком. Это фундаментальное ограничение того, как Notes предоставляет содержимое — его интерфейс AppleScript возвращает HTML, а не исходный Markdown, поэтому чистый цикл «чтение→редактирование→запись» на данный момент невозможен.

  • Заметки ненадолго появляются во время создания. Процесс импорта Markdown требует автоматического подтверждения диалогового окна в Notes.app, что может на мгновение вывести его на передний план.

Эти ограничения будут сняты, если Apple добавит импорт/экспорт Markdown в AppleScript или откроет официальный API Notes — оба варианта отслеживаются для будущих выпусков macOS.

Видение

Apple Notes — это самое естественное место для хранения личных знаний на устройствах Apple: они синхронизируются везде, работают быстро и конфиденциальны. Но это «закрытый сад» без API.

Этот проект делает Apple Notes первоклассным источником данных для ИИ. Долгосрочная цель: где бы вы ни общались с ИИ — на Mac, на телефоне, в интернете — ваши заметки Apple Notes всегда доступны, читаемы и доступны для записи.

Лицензия

MIT

Available Tools

6 tools
create_noteA

Create a new note in Apple Notes from Markdown content. The first line becomes the title. Optionally specify a target folder (defaults to 'Notes').

ParametersJSON Schema
NameRequiredDescriptionDefault
folderNoTarget folder name (e.g. 'Projects'). Defaults to 'Notes'.
markdownYesMarkdown content for the note. First line (with or without #) becomes the title.

TDQS

A3.8/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations provided, so the description carries full burden. It discloses title extraction and folder defaults but omits behavioral details like side effects, irreversibility, authentication needs, or what happens on failure. For a mutation tool, this is insufficient.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences with no wasted words. The first sentence states the core action, the second explains important details (title extraction, folder). Efficient and well-structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple creation tool with two parameters and no output schema, the description covers the essential behavior and key defaults. It lacks mention of return value or confirmation, but given the simplicity, it is largely sufficient.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, but the description adds value: it explains that the first line of markdown becomes the title, which is not in the schema. The folder parameter default is also reiterated, but schema already includes that. Overall, description enhances parameter understanding.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb 'create', the resource 'note', and the source 'Markdown content'. It explains that the first line becomes the title and mentions optional folder with default. This distinguishes it from sibling tools like delete_note, get_note, etc.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description does not explicitly guide when to use this tool versus alternatives (e.g., update_note). It implies usage for creating new notes but lacks explicit exclusions or conditions, leaving it to the agent to infer from sibling names.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

delete_noteA

Delete a note from Apple Notes by title. Optionally specify folder to disambiguate. The note is moved to Recently Deleted.

ParametersJSON Schema
NameRequiredDescriptionDefault
titleYesTitle of the note to delete
folderNoFolder name to scope the search

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description provides key behavioral context: the note is moved to Recently Deleted (not permanently erased), which is important for decision-making. However, it does not detail side effects, permission requirements, or recovery timeframe.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Extremely concise at two sentences, with the most critical information first. No unnecessary words or repetition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a delete operation without output schema, the description adequately covers the action and its immediate consequence. It could mention that the note enters a recoverable state, but the core behavior is clear.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema already describes both parameters (title required, folder optional). The description adds meaning by clarifying that title is the primary identifier and folder is for disambiguation, which is not redundant with schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb (delete), resource (note), and method (by title). It also distinguishes from siblings like update_note by specifying the action and the consequence ('moved to Recently Deleted').

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It implies when to use the folder parameter for disambiguation but lacks explicit guidance on when to choose delete_note over other tools like search_notes or update_note. No prerequisites or exclusions are mentioned.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_noteA

Get the full content of a note by its title, returned as Markdown. Optionally specify folder to disambiguate.

ParametersJSON Schema
NameRequiredDescriptionDefault
titleYesNote title (exact match)
folderNoFolder name to scope the search

TDQS

A3.6/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden. It states the output format (Markdown) but does not disclose error behavior (e.g., note not found), authentication requirements, or rate limits. Basic behavioral info is present, but significant gaps remain for a read operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence with no wasted words. It front-loads the core purpose and output format, then adds the optional parameter. Perfectly concise for a simple tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's simplicity (two params, no output schema, no nested objects), the description covers the essentials: what it does, required input, output format, and optional disambiguation. Missing error handling details, but overall adequate for a straightforward retrieval tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents both parameters. The description adds minimal value: 'by its title' and 'Optionally specify folder to disambiguate' reinforce but don't extend the schema. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states 'Get the full content of a note by its title, returned as Markdown.' It uses a specific verb and resource, and implicitly distinguishes from siblings (create, delete, list, search, update) by focusing on retrieval. Could be improved by noting it returns a single note, not a list.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description mentions 'Optionally specify folder to disambiguate,' providing a clear use case for the folder parameter. However, it offers no guidance on when not to use this tool versus alternatives, nor does it suggest using search_notes when the title is unknown. The sibling context helps but is not integrated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

list_notesB

List notes from Apple Notes. Returns title, folder, dates, pinned status, snippet. Optionally filter by folder name and limit results.

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNoMax number of notes to return
folderNoFilter by folder name

TDQS

B3.4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are present, so the description carries the full burden. It discloses the return fields and optional filters, but does not mention default behavior (e.g., sort order, default limit), potential side effects, or authentication requirements. This is adequate for a simple read tool but leaves gaps.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences are used, containing only relevant information. No redundant or extraneous text. The key purpose and options are front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the lack of output schema, the description adequately describes the return format. The tool is simple with only two optional parameters. However, it does not mention pagination or default limit behavior, which are common for listing tools. Still, it is mostly complete for its complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema provides descriptions for both parameters (limit and folder), and the description reiterates these options. Since schema coverage is 100%, the description adds minimal value beyond summarizing the schema. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action (list notes), the source (Apple Notes), and the returned fields (title, folder, dates, pinned status, snippet). It distinguishes from siblings like create_note and delete_note by focusing on listing, but does not explicitly differentiate from search_notes, which might offer more advanced filtering.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives like search_notes. There is no mention of prerequisites, limitations, or when not to use it. The description assumes the agent will infer usage from context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

search_notesA

Search Apple Notes by keyword. Searches in title and snippet. Returns matching notes with metadata.

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNoMax number of results
queryYesSearch keyword

TDQS

A3.7/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are present, so the description bears full responsibility for behavioral disclosure. It mentions returns metadata but does not explain behavior for no matches, pagination, rate limits, or authentication needs.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two concise sentences, front-loaded with the action, and no extraneous information. Every word adds value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema and simple parameters, the description covers the basic functionality. However, it lacks details about default limit, ordering of results, or what specific metadata is returned, leaving some gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, but the description adds value by specifying that 'query' searches in title and snippet, which is beyond the schema's 'Search keyword' description. This clarifies the scope of the parameter.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly states the tool searches Apple Notes by keyword in title and snippet, and returns matching notes with metadata. This distinguishes it from sibling tools like list_notes (listing all) and get_note (single note retrieval).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for keyword-based search but does not explicitly state when to use this tool versus alternatives like list_notes or get_note. No when-to-use or when-not-to-use guidance is provided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

update_noteA

Update an existing note in Apple Notes. Deletes the old note and creates a new one with the given Markdown content, preserving the original folder.

ParametersJSON Schema
NameRequiredDescriptionDefault
titleYesTitle of the existing note to update
folderNoFolder name to scope the search for the existing note
markdownYesNew Markdown content for the note. First line (with or without #) becomes the title.

TDQS

A4.4/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description explicitly discloses the critical behavioral trait: 'Deletes the old note and creates a new one', which is essential because a user might assume in-place modification. This transparency is high. No annotations are present to conflict.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is only two sentences, front-loading the main action and then adding the important behavioral detail. Every part is informative, with no redundancy or extraneous text.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the straightforward nature (3 parameters, no output schema), the description covers the core functionality and behavioral change. It lacks mention of error conditions or prerequisites (e.g., note must exist), but is otherwise sufficient for usage.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, but the description adds value by clarifying that the first line of markdown becomes the title (with or without #), which is not in the schema. This extends understanding beyond the parameter descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states 'Update an existing note in Apple Notes', specifying the verb (update), resource (note), and system (Apple Notes). It distinguishes from siblings like create_note and delete_note by describing that this tool deletes the old note and creates a new one, making it a unique replacement operation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies when to use the tool (to update content while preserving folder) but does not explicitly state when not to use it or mention alternative tools. Sibling tools are provided in context but not referenced in the description.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 6 tool updatesv1.2.5
    • Removedcreate_note
    • Removeddelete_note
    • Removedget_note
    • Removedlist_notes
    • Removedsearch_notes
    • Removedupdate_note
  2. 6 tool updatesv1.3.1
    • Addedcreate_note
    • Addeddelete_note
    • Addedget_note
    • Addedlist_notes
    • Addedsearch_notes
    • Addedupdate_note
  3. 6 tool updatesv1.2.3
    • Removedcreate_note
    • Removeddelete_note
    • Removedget_note
    • Removedlist_notes
    • Removedsearch_notes
    • Removedupdate_note
  4. 6 tool updatesv0.1.0
    • First observedcreate_note
    • First observeddelete_note
    • First observedget_note
    • First observedlist_notes
    • First observedsearch_notes
    • First observedupdate_note

TDQS

A4/5.0
Disambiguation5/5

Each tool targets a distinct operation on notes (create, delete, get, list, search, update) with clear differences between getting full content, listing metadata, and searching by keyword. No two tools have overlapping purposes.

Naming Consistency5/5

All tool names follow the verb_noun pattern with appropriate singular/plural forms (e.g., create_note, list_notes). Verbs accurately describe the action, and naming is consistent throughout.

Tool Count5/5

Six tools cover the essential CRUD operations plus listing and searching for an Apple Notes server. Each tool has a clear purpose, and the count is well-scoped for the domain.

Completeness4/5

The set covers CRUD, listing, and search comprehensively. However, the update tool re-creates the note, potentially losing metadata like creation date and pin status, and there is no direct move/folder change operation. These are minor gaps that agents can work around.

Maintenance

ActivityInactive
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    A
    maintenance
    A high-performance MCP server for Apple Mail that uses optimized JavaScript for Automation (JXA) to search and manage emails. It enables users to list accounts, fetch mailboxes, and retrieve today's, unread, or flagged messages with significantly improved speed through batch property fetching.
    7
    63
    GPL 3.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI assistants to save well-organized technical articles to Apple Notes and local Markdown files simultaneously.
    433
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables LLMs to read, write, and manage Apple Notes directly via markdown, including listing, fetching, creating, and appending notes.
    41
    -

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ailenshen/apple-notes-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server