RM

rafalwilinski/mcp-apple-notes

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

417 stars 56 forks Качество 46 Тренд 20

rafalwilinski/mcp-apple-notes — это кандидат на MCP-сервер, импортированный из https://github.com/rafalwilinski/mcp-apple-notes.

Обзор

rafalwilinski/mcp-apple-notes — это кандидат на MCP-сервер, импортированный из https://github.com/rafalwilinski/mcp-apple-notes.

Обзор (машинный перевод)

Сервер Model Context Protocol (MCP), который поддерживает семантический поиск и RAG (Retrieval Augmented Generation) через ваши Apple Notes. Это позволяет AI-ассистентам, таким как Claude, искать и ссылаться на ваши Apple Notes во время разговоров.

Особенности

  • 🔍 Семантический поиск по Apple Notes с использованием модели встроенных устройств all-MiniLM-L6-v2
  • 📝 Возможности полнотекстового поиска
  • 📊 Векторное хранение с использованием LanceDB
  • 🤖 Сервер, совместимый с MCP, для интеграции с AI-ассистентом
  • 🍎 Нативная интеграция Apple Notes через JXA
  • 🏃 ♂️ Полностью локальное выполнение — ключи API не требуются

Предварительные требования

  • Булочка
  • Claude Desktop

Установка

  1. Клонировать репозиторий:

  2. Установка зависимостей:

Использование

  1. Откройте десктопное приложение Claude и перейдите в Настройки -> Разработчик -> Редактировать конфигурацию

  2. Откройте claude_desktop_config.json и добавьте следующую запись:

Важно: замените своим настоящим именем пользователя.

  1. Перезагрузите десктопное приложение Claude. Вы должны увидеть это:

  2. Начните с индексирования своих заметок. Попросите Клода проиндексировать ваши заметки, сказав что-то вроде: «Индексируйте мои заметки» или «Индексируйте мои Apple Notes».

Устранение неполадок

Чтобы посмотреть журналы:

Всё

  • [ ] Заметки Apple возвращаются в формате HTML.

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

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-v2 on-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

Installation

  1. Clone the repository:
git clone https://github.com/RafalWilinski/mcp-apple-notes
cd mcp-apple-notes
  1. Install dependencies:
bun install

Usage

  1. Open Claude desktop app and go to Settings -> Developer -> Edit Config

  1. Open the claude_desktop_config.json and add the following entry:
{
  "mcpServers": {
    "local-machine": {
      "command": "/Users//.bun/bin/bun",
      "args": ["/Users//apple-notes-mcp/index.ts"]
    }
  }
}

Important: Replace `` with your actual username.

  1. Restart Claude desktop app. You should see this:

  1. 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.
  • [x] Storing notes in Notes via Claude
Открыть полный README на GitHub

Установка

This server does not publish a one-line install command.

Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "local-machine": { "command": "/Users/<YOUR_USER_NAME>/.bun/bin/bun", "args": ["/Users/<YOUR_USER_NAME>/apple-notes-mcp/index.ts"] } } }