使用说明
NotesY-克劳德的Apple Notes集成
Claude MCP集成,允许通过自然语言与Apple Notes无缝交互。
特性
- 创建包含内容和标题的笔记
- 用新内容更新现有笔记
- 按标题删除注释
- 搜索包含特定文本的笔记
- 自动检测行程计划请求并创建备注
安装
- 克隆并构建项目:
git clone https://github.com/yourusername/NotesY.git
cd NotesY
npm install
npm run build
- 添加到Claude的配置中(通常在
~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"NotesY": {
"command": "node",
"args": ["/absolute/path/to/NotesY/dist/index.js"]
}
}
}
用法
使用克劳德桌面
只需与Claude Desktop交谈,并要求其:
Create a note titled 'shopping list' with items: milk, eggs, bread
Add meeting notes to my 'work' note
Delete my 'old tasks' note
Search for notes with 'project'
您也可以给Claude一个长文本,它将创建一个具有适当标题的注释:
Create a comprehensive trip plan for Krabi, Thailand, including recommended duration, best time to visit, must-see attractions, accommodation options, transportation tips, food recommendations, and budget considerations.
使用CLI
对于没有Claude的测试,您可以使用内置的CLI:
npm run cli
这使您可以直接输入自然语言命令并查看结果。
地方发展
git clone https://github.com/yourusername/NotesY.git
cd NotesY
npm install
npm run build
npm run dev
要运行Express服务器以进行API测试,请执行以下操作:
START_EXPRESS_SERVER=true npm run dev
原理
NotesY使用AppleScript与macOS Notes应用程序交互,通过MCP与Claude Desktop的集成提供自然语言理解。
