Apple Notes MCP Server
通过自然语言与 Apple Notes 互动,支持笔记创建、搜索和检索,并与 iCloud 集成,实现无缝的笔记管理。
Tools
create-note
search-notes
get-note-content
README
📝 Apple Notes MCP 服务器
Apple Notes MCP 服务器 是一个模型上下文协议服务器,它可以通过自然语言实现与 Apple Notes 的无缝交互。 使用 Claude 或其他 AI 助手轻松创建、搜索和检索笔记! 🎉
<a href="https://glama.ai/mcp/servers/ayr26szokg"> <img width="380" height="200" src="https://glama.ai/mcp/servers/ayr26szokg/badge" alt="Apple Notes Server MCP server" /> </a>
🎯 功能
- 创建笔记: 使用标题、内容和标签快速创建新笔记 📝
- 搜索笔记: 使用强大的搜索功能查找笔记 🔍
- 检索内容: 通过标题获取任何笔记的完整内容 📖
- iCloud 集成: 直接与您的 iCloud Notes 帐户配合使用 ☁️
🚀 快速开始
前提条件
- 已配置 Apple Notes 应用程序的 macOS
- Node.js (版本 20.0.0 或更高版本)
- Yarn 包管理器
安装
-
克隆存储库:
git clone https://github.com/Siddhant-K-code/mcp-apple-notes.git cd mcp-apple-notes
-
安装依赖项:
yarn install
-
构建项目:
yarn build
-
启动服务器:
yarn start
-
配置 Claude Desktop。 使用以下内容更新您的
claude_desktop_config.json
:{ "mcpServers": { "apple-notes": { "command": "yarn", "args": ["start"], "cwd": "/path/to/mcp-apple-notes" } } }
注意: 将
/path/to/mcp-apple-notes
替换为您克隆的存储库的实际路径。 首次运行命令时,您可能需要授权脚本访问 Apple Notes。
MCP 服务器初始化
当服务器成功启动时,您将看到:
Starting Apple Notes MCP server.
服务器现在已准备好处理您的笔记操作! 🎉
🛠️ 用法
可用工具
-
创建笔记
- 描述:在 Apple Notes 中创建新笔记
- 参数:
{ title: string; // 笔记的标题 content: string; // 笔记的内容 tags?: string[]; // 笔记的可选标签 }
- 示例响应:
Note created: My New Note
-
搜索笔记
- 描述:按标题搜索笔记
- 参数:
{ query: string; // 搜索查询 }
- 示例响应:
Meeting Notes Shopping List Ideas for Project
-
获取笔记内容
- 描述:检索特定笔记的完整内容
- 参数:
{ title: string; // 笔记的精确标题 }
- 示例响应:
[Full content of the note]
📚 示例用例
1. 快速笔记
在会议或头脑风暴期间创建笔记:
{
"title": "Team Meeting Notes",
"content": "Discussion points:\n1. Project timeline\n2. Resource allocation",
"tags": ["meetings", "work"]
}
2. 信息检索
在需要时搜索特定笔记:
{
"query": "meeting"
}
3. 内容审查
获取特定笔记的完整内容:
{
"title": "Team Meeting Notes"
}
⚡ 获得最佳结果的提示
- 确保您的 Apple Notes 应用程序已正确配置 iCloud
- 使用描述性标题以获得更好的可搜索性
- 创建笔记时包含相关标签以获得更好的组织
🔧 开发
该项目使用 TypeScript 并遵循现代 ES 模块模式。 关键文件:
src/index.ts
:主服务器实现src/services/appleNotesManager.ts
:核心笔记管理功能src/utils/applescript.ts
:AppleScript 集成实用程序
开发容器
为 VS Code 用户提供了一个开发容器配置,提供:
- TypeScript Node.js 环境
- Prettier 用于代码格式化
- 自动依赖项安装
📄 许可证
该项目根据 MIT 许可证获得许可 - 有关详细信息,请参阅 LICENSE 文件。
用 ❤️ 为 Apple Notes 用户制作
推荐服务器
Apple MCP Server
通过 MCP 协议与 Apple 应用(如“信息”、“备忘录”和“通讯录”)进行交互,从而使用自然语言发送消息、搜索和打开应用内容。

Notion API MCP Server
使用 Notion API 实现高级待办事项列表管理和内容组织,支持创建数据库、动态筛选和协作任务跟踪等功能。
Todoist MCP Server
将 Claude 与 Todoist 集成,实现自然语言任务管理,支持使用日常语言进行项目和版块组织、任务创建、更新、完成和删除。
Curri MCP Server
通过管理文本笔记、提供笔记创建工具以及使用结构化提示生成摘要,从而实现与 Curri API 的交互。
Inkdrop MCP Server
通过模型上下文协议将 Inkdrop 笔记应用与 Claude AI 集成,允许 Claude 在您的 Inkdrop 数据库中搜索、阅读、创建和更新笔记。
Notion MCP Server
通过将 Notion API 作为 LLM 的工具公开,从而实现与 Notion 的交互。这使得可以通过自然语言无缝地进行读取、创建、更新和删除 Notion 页面等操作。

Obsidian MCP REST Server
为人工智能助手提供一个标准化的接口,通过本地 REST API 与 Obsidian vault 进行交互,从而实现笔记的读取、写入、搜索和管理。

MCP Tasks Organizer
一个 MCP 服务器,可以将 Cursor agent 计划转换为结构化的 Markdown 任务列表,并将其组织在您的存储库中,帮助您将 AI 生成的计划和建议作为可执行的规范进行跟踪。

Branch Thinking MCP Server
一个 MCP 服务器,用于通过分支导航思维过程,支持思维交叉引用和优先级跟踪,以增强洞察力生成和结构化想法探索。

MCP-AnkiConnect
一个 MCP 服务器,集成了 Claude 和 Anki 抽认卡,允许用户直接通过对话复习到期卡片并创建新的抽认卡。 (Alternatively, a slightly more formal translation:) 一个 MCP 服务器,整合了 Claude 与 Anki 闪卡功能,使用户能够通过对话直接复习待复习的卡片并创建新的闪卡。 **Explanation of Choices:** * **MCP Server:** I kept this as "MCP 服务器" as it's likely a specific technical term that's best left untranslated unless more context is provided. * **Claude:** Left as "Claude" as it's a proper noun (the name of the AI). * **Anki flashcards:** Translated as "Anki 抽认卡" (chōu rèn kǎ) or "Anki 闪卡" (shǎn kǎ). Both are common translations for "flashcards" in the context of Anki. "抽认卡" is slightly more formal. * **Review due cards:** Translated as "复习到期卡片" (fùxí dàoqí kǎpiàn) or "复习待复习的卡片" (fùxí dài fùxí de kǎpiàn). Both convey the meaning of reviewing cards that are due for review. The second option is slightly more explicit. * **Create new flashcards:** Translated as "创建新的抽认卡" (chuàngjiàn xīnde chōu rèn kǎ) or "创建新的闪卡" (chuàngjiàn xīnde shǎn kǎ). * **Directly through conversation:** Translated as "直接通过对话" (zhíjiē tōngguò duìhuà). The choice between the two options depends on the desired level of formality and explicitness.