io.github.jwulff/apple-voice-memo-mcp

内容与创意

by jwulff

Access Apple Voice Memos on macOS. List, get audio, extract and generate transcripts.

什么是 io.github.jwulff/apple-voice-memo-mcp

Access Apple Voice Memos on macOS. List, get audio, extract and generate transcripts.

README

Apple Voice Memo MCP Server

An MCP (Model Context Protocol) server that provides programmatic access to Apple Voice Memos on macOS. Use this to let Claude and other AI assistants interact with your voice recordings.

Pairs well with whisper-mcp for local transcription.

Features

  • List voice memos - Browse all your voice memos with metadata
  • Get memo details - Retrieve detailed information about specific recordings
  • Get audio - Access the audio file path or base64-encoded audio data
  • Get transcripts - Extract transcripts from memos (stored by Apple in the audio file)
  • Transcribe memos - Generate transcripts using Apple's SFSpeechRecognizer

Requirements

  • macOS Sonoma (14.0) or later (Sequoia recommended for transcription)
  • Node.js 18+
  • Full Disk Access permission (for accessing Voice Memos data)
  • Voice Memos app must have been opened at least once

Installation

bash
npm install -g apple-voice-memo-mcp

Or use directly with npx:

bash
npx apple-voice-memo-mcp

Configuration

Claude Desktop

Add to your Claude Desktop config file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

json
{
  "mcpServers": {
    "apple-voice-memo-mcp": {
      "command": "npx",
      "args": ["-y", "apple-voice-memo-mcp"]
    }
  }
}

After editing, restart Claude Desktop.

Claude Code (CLI)

For Claude Code, add to your project's .mcp.json file:

json
{
  "mcpServers": {
    "apple-voice-memo-mcp": {
      "command": "npx",
      "args": ["-y", "apple-voice-memo-mcp"]
    }
  }
}

Or for user-wide configuration, add to ~/.claude/settings.json:

json
{
  "mcpServers": {
    "apple-voice-memo-mcp": {
      "command": "npx",
      "args": ["-y", "apple-voice-memo-mcp"]
    }
  }
}

Tip: Use /mcp in Claude Code to verify the server is connected.

Local Development Setup

If running from source instead of npm:

json
{
  "mcpServers": {
    "apple-voice-memo-mcp": {
      "command": "node",
      "args": ["/path/to/apple-voice-memo-mcp/dist/index.js"]
    }
  }
}

Permissions

  1. Full Disk Access: Required to read the Voice Memos database

    • Go to System Settings > Privacy & Security > Full Disk Access
    • Add your terminal app or Claude Desktop
  2. Speech Recognition (for transcription):

    • Required only if using the transcribe_memo tool
    • System will prompt when first used

MCP Tools

list_voice_memos

List all voice memos with metadata.

Parameters:

  • limit (optional): Maximum number of results (1-100, default: 50)
  • offset (optional): Pagination offset
  • search (optional): Search term to filter by title

Example response:

json
{
  "memos": [
    {
      "id": 1,
      "title": "Meeting Notes",
      "date": "2025-01-07T10:30:00.000Z",
      "duration": 120.5,
      "hasTranscript": true
    }
  ],
  "total": 15
}

get_voice_memo

Get detailed metadata for a specific memo.

Parameters:

  • id (required): Memo ID

get_audio

Retrieve the audio file.

Parameters:

  • id (required): Memo ID
  • format (optional): "path" or "base64" (default: "path")

get_transcript

Extract transcript from a memo.

Parameters:

  • id (required): Memo ID
  • format (optional): "text", "json", or "timestamped"

transcribe_memo

Transcribe a memo using SFSpeechRecognizer.

Parameters:

  • id (required): Memo ID
  • language (optional): Language code (default: "en-US")

How It Works

Data Access

Voice Memos data is stored in:

  • Database: ~/Library/Group Containers/group.com.apple.VoiceMemos.shared/Recordings/CloudRecordings.db
  • Audio files: Same directory, .m4a format

Transcript Storage

Apple stores transcripts directly inside the .m4a audio files using a custom MPEG-4 atom called tsrp. This MCP server parses these atoms to extract transcripts - no separate transcript files exist.

Development

bash
# Clone the repository
git clone https://github.com/jwulff/apple-voice-memo-mcp.git
cd apple-voice-memo-mcp

# Install dependencies
npm install

# Build
npm run build

# Run in development
npm run dev

# Test with MCP inspector
npm run inspector

Troubleshooting

"Voice Memos database not found"

  1. Ensure you've opened the Voice Memos app at least once
  2. Grant Full Disk Access to your terminal/application
  3. Check if iCloud sync is enabled for Voice Memos

"No transcript available"

  • On macOS Sequoia+, open the memo in Voice Memos app to trigger automatic transcription
  • Older macOS versions don't have automatic transcription
  • Use the transcribe_memo tool to generate a transcript via SFSpeechRecognizer

Native module binding errors

If you see errors about missing better_sqlite3.node bindings:

bash
npm rebuild better-sqlite3

This recompiles the native module for your current Node.js version.

License

MIT

常见问题

io.github.jwulff/apple-voice-memo-mcp 是什么?

Access Apple Voice Memos on macOS. List, get audio, extract and generate transcripts.

相关 Skills

文档共著

by anthropics

Universal
热门

围绕文档、提案、技术规格、决策记录等写作任务,按上下文收集、结构迭代、读者测试三步协作共创,减少信息遗漏,写出更清晰、经得起他人阅读的内容。

写文档、方案或技术规格时容易思路散、信息漏,它用结构化共著流程帮你高效传递上下文、反复打磨内容,还能从读者视角做验证。

内容与创意
未扫描151.3k

内部沟通

by anthropics

Universal
热门

按公司常用模板和语气快速起草内部沟通内容,覆盖 3P 更新、状态报告、领导汇报、项目进展、事故复盘、FAQ 与 newsletter,适合需要统一格式的团队沟通场景。

按公司偏好的模板快速产出状态汇报、领导更新和 FAQ,既省去反复改稿,也让内部沟通更统一、更专业。

内容与创意
未扫描151.3k

平面设计

by anthropics

Universal
热门

先生成视觉哲学,再落地成原创海报、艺术画面或其他静态设计,输出 .png/.pdf,强调构图、色彩与空间表达,适合需要高完成度视觉成品的场景。

做海报、插画或静态视觉稿时,用它能快速产出兼顾美感与版式的PNG/PDF成品,原创设计更省心,也更适合规避版权风险。

内容与创意
未扫描151.3k

相关 MCP Server

免费的加密新闻聚合 MCP,汇集 Bitcoin、Ethereum、DeFi、Solana 与 altcoins 资讯源。

内容与创意
237

用于Adobe Photoshop自动化的MCP server,让AI assistants直接控制Photoshop。

内容与创意
105

by ProfessionalWiki

让 Large Language Model 客户端无缝连接任意 MediaWiki 站点,可创建、更新、搜索页面,并通过 OAuth 2.0 安全管理内容。

内容与创意16 个工具
96

评论