Skip to main content
Glama

Apple Notes MCP Server

📝 Apple Notes MCP 服务器

Apple Notes MCP 服务器是一款模型上下文协议 (MCP) 服务器,支持通过自然语言与 Apple Notes 无缝交互。使用 Claude 或其他 AI 助手轻松创建、搜索和检索笔记!🎉

🎯 功能

  • **创建笔记:**快速创建带有标题、内容和标签的新笔记📝
  • **搜索笔记:**使用强大的搜索功能查找笔记🔍
  • **检索内容:**通过标题获取任何笔记的完整内容📖
  • **iCloud 集成:**直接与您的 iCloud Notes 帐户配合使用☁️

🚀 入门

先决条件

  1. 配置了 Apple Notes 应用的 macOS
  2. Node.js(版本 20.0.0 或更高版本)
  3. Yarn 包管理器

安装

  1. 克隆存储库:
    git clone https://github.com/Siddhant-K-code/mcp-apple-notes.git cd mcp-apple-notes
  2. 安装依赖项:
    yarn install
  3. 构建项目:
    yarn build
  4. 启动服务器:
    yarn start
  5. 配置 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.

服务器现已准备好处理你的笔记操作!🎉

🛠️ 使用方法

可用工具

  1. 创建笔记
    • 描述:在 Apple Notes 中创建新笔记
    • 参数:
      { title: string; // The title of the note content: string; // The content of the note tags?: string[]; // Optional tags for the note }
    • 响应示例:
      Note created: My New Note
  2. 搜索笔记
    • 描述:按标题搜索笔记
    • 参数:
      { query: string; // The search query }
    • 响应示例:
      Meeting Notes Shopping List Ideas for Project
  3. 获取笔记内容
    • 描述:检索特定笔记的完整内容
    • 参数:
      { title: string; // The exact title of the note }
    • 响应示例:
      [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 用户打造

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

local-only server

The server can only run on the client's local machine because it depends on local resources.

通过自然语言实现与 Apple Notes 的交互,支持笔记创建、搜索和检索,并与 iCloud 集成,实现无缝笔记管理。

  1. 🎯 功能
    1. 🚀 入门
      1. 先决条件
      2. 安装
      3. MCP 服务器初始化
    2. 🛠️ 使用方法
      1. 可用工具
    3. 📚 示例用例
      1. 快速记笔记
      2. 2.信息检索
      3. 3.内容审核
    4. ⚡ 获得最佳效果的秘诀
      1. 🔧 开发
        1. 开发容器
      2. 📄 许可证

        Related MCP Servers

        • -
          security
          A
          license
          -
          quality
          Allows the AI to read from your local Apple Notes database (macOS only)
          Last updated -
          56
          Python
          MIT License
          • Apple
        • -
          security
          F
          license
          -
          quality
          Enables semantic search and RAG (Retrieval Augmented Generation) over your Apple Notes.
          Last updated -
          158
          TypeScript
          • Apple
        • -
          security
          F
          license
          -
          quality
          Facilitates note storage and summarization through custom URIs, allowing users to manage, summarize, and update notes with varying detail levels in a collaborative environment.
          Last updated -
          Python
          • Apple
        • -
          security
          F
          license
          -
          quality
          A Model Context Protocol server that enables semantic search and retrieval of Apple Notes content, allowing AI assistants to access, search, and create notes using on-device embeddings.
          Last updated -
          TypeScript
          • Apple

        View all related MCP servers

        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/Siddhant-K-code/mcp-apple-notes'

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