
rafalwilinski/mcp-apple-notes 是从 https://github.com/rafalwilinski/mcp-apple-notes. 导入的 MCP 服务器候选
概览
rafalwilinski/mcp-apple-notes 是从 https://github.com/rafalwilinski/mcp-apple-notes. 导入的 MCP 服务器候选
概述(AI 翻译)
一个模型上下文协议(MCP)服务器,支持对您的 Apple Note 进行语义搜索和 RAG(检索增强生成)。这使得像 Claude 这样的 AI 助手能够在对话中搜索并引用您的 Apple Notes。
特色
- 🔍 使用
all-MiniLM-L6-v2设备内嵌入模型对 Apple Notes 进行语义搜索 - 📝 全文搜索功能
- 📊 使用 LanceDB 的向量存储
- 🤖 支持MCP的AI助手集成服务器
- 🍎 通过 JXA 实现原生 Apple Notes 集成
- 🏃 ♂️ 完全本地执行——无需API密钥
先修条件
- 面包
- Claude桌面
安装
-
克隆仓库:
-
安装依赖:
用途
-
打开 Claude 桌面应用,进入设置 -> 开发者 -> 编辑配置
-
打开
claude_desktop_config.json,添加以下条目:
重要提示:请将 替换为你的实际用户名。
-
重启Claude桌面应用。你应该看看这个:
-
先对你的笔记进行索引。请Claude帮你整理笔记,比如说:“索引我的笔记”或“索引我的Apple Notes”。
故障排除
查看日志:
大家都知道
- [ ] Apple Notes以HTML格式返回。
本页由 AI 翻译,技术细节请以原文为准。
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-v2on-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
- Clone the repository:
git clone https://github.com/RafalWilinski/mcp-apple-notes
cd mcp-apple-notes
- Install dependencies:
bun install
Usage
- Open Claude desktop app and go to Settings -> Developer -> Edit Config
- Open the
claude_desktop_config.jsonand 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.
- Restart Claude desktop app. You should see this:
- 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
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
{
"mcpServers": {
"local-machine": {
"command": "/Users/<YOUR_USER_NAME>/.bun/bin/bun",
"args": ["/Users/<YOUR_USER_NAME>/apple-notes-mcp/index.ts"]
}
}
}