macwhisper-mcp-server
Enables transcription, summarization, and action item extraction from audio files on your Mac using MacWhisper and Claude Desktop, all locally without any cloud APIs.
README
<div align="right">
<a href="https://railway.com?referralCode=QhjuBc">
<img width="160" src="https://raw.githubusercontent.com/docdyhr/.github/main/assets/railway-corner-v2@2x.png" alt="Deploy on Railway — $20 free credits">
</a>
</div>
macwhisper-mcp-server
<!-- mcp-name: io.github.docdyhr/macwhisper-mcp-server -->
Local MCP server that connects MacWhisper to Claude Desktop.
What it does: Drop an audio file on your Desktop, then ask Claude to transcribe it, summarise it, or pull out action items — in one step. MacWhisper does the transcription on your Mac; Claude does the thinking. Nothing leaves your machine. No cloud APIs. No data ever leaves your Mac.
Audio file → MacWhisper CLI → MCP server → Claude Desktop

Requirements
- macOS (MacWhisper is macOS-only)
- MacWhisper — installed and licensed
- MacWhisper CLI enabled: open MacWhisper → Settings → Advanced → Command-Line Tool → Install. This places
mwat/usr/local/bin/mw. - Python 3.13.x via pyenv
- Claude Desktop
Installing MacWhisper via Homebrew:
brew install --cask macwhisper
After installation, enable the CLI in MacWhisper Settings as above. When you later run brew upgrade --cask macwhisper, the CLI symlink updates automatically — no re-install needed.
Install
git clone https://github.com/docdyhr/macwhisper-mcp-server.git
cd macwhisper-mcp-server
pyenv install 3.13.13 # skip if already installed
pyenv local 3.13.13
python -m venv .venv
source .venv/bin/activate
pip install -e .
Verify the MacWhisper CLI is reachable:
mw version
Configure Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json and add:
{
"mcpServers": {
"macwhisper": {
"command": "/Users/<you>/macwhisper-mcp-server/.venv/bin/macwhisper-mcp",
"args": [],
"env": {
"MACWHISPER_ALLOWED_PATHS": "/Users/<you>/Desktop:/Users/<you>/Downloads",
"FASTMCP_CHECK_FOR_UPDATES": "off"
}
}
}
}
Replace <you> with your macOS username. Restart Claude Desktop.
Note: Audio files must be saved to your Mac's filesystem (Desktop, Downloads, or another allow-listed folder) before asking Claude to transcribe them. Files uploaded directly to the Claude chat window live in Claude's container and are not accessible to the local MacWhisper CLI.
Verify it works
In Claude Desktop, ask:
Transcribe ~/Desktop/memo.m4a
You should see a transcribe_audio tool call appear, followed by the transcript.
Available tools
| Tool | Description |
|---|---|
transcribe_audio(path, model?, persist?) |
Transcribe an audio file and return the transcript as plain text. Pass persist=true to save to MacWhisper history. |
list_models() |
List transcription models installed in MacWhisper; active model is marked |
cancel_transcription() |
Cancel the currently running transcription |
list_allowed_paths() |
Return the directories the server is allowed to read from |
start_watch(folder) |
Watch a folder and auto-transcribe new audio files into ../done/ |
stop_watch() |
Stop the active folder watcher |
get_watch_results() |
Return completed watch-folder transcriptions and clear the queue |
Supported audio formats: .m4a .mp3 .mp4 .mov .wav .aiff .flac
Configuration
All configuration is via environment variables. Pass them through the env dict in claude_desktop_config.json (for Claude Desktop) or set them in .env for local development.
| Env var | Default | Description |
|---|---|---|
MACWHISPER_ALLOWED_PATHS |
~/Desktop |
Colon-separated list of directories the server may read from |
MACWHISPER_CLI |
auto-detected | Path to the mw binary. Defaults to /Applications/MacWhisper.app/Contents/MacOS/mw if that file exists, otherwise mw on PATH |
MACWHISPER_LOG_PATH |
~/Library/Logs/macwhisper-mcp.log |
Log file path (never stdout — that's reserved for MCP) |
Local development: copy .env.example to .env and adjust. With direnv, .envrc exports .env automatically. Without direnv: source .env.
Development
source .venv/bin/activate
pip install -e ".[dev]"
# Tests
pytest -q
# Lint + format
ruff check .
ruff format .
# Pre-commit hooks (one-time setup)
pip install pre-commit
pre-commit install
# Smoke-test against a real audio file (server must not be running in Claude Desktop)
python scripts/smoke_test.py ~/Downloads/Test.m4a
Logs
tail -f ~/Library/Logs/macwhisper-mcp.log
Security
- All file paths are resolved (symlinks followed) and checked against the
MACWHISPER_ALLOWED_PATHSallow-list before anything reaches the CLI. subprocess.runis always called with an argv list — nevershell=True.- No network calls. Ever.
See PRD §7 for the full threat model.
Known limitations
- Uploaded files: Files dragged into the Claude chat window live in Claude's container and are not accessible to the local MacWhisper CLI. Save the file to your Desktop or Downloads folder (or another allow-listed directory), then ask Claude to transcribe it from there.
- Danish letter names: Whisper may phonetically approximate letter names (e.g. "Æ, Ø, Å" → "E, Y, U") when they are spoken in isolation. Letters inside words transcribe correctly. This is a Whisper engine limitation, not a bug in this wrapper. See PRD §12.
- Cold-start latency: First transcription after MacWhisper launches takes ~13s (model load). Subsequent calls are ~2s.
License
MIT — see LICENSE.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。