
Macwhisper Mcp Server
io.github.docdyhr由 GitHub 帳號 docdyhr 發布v1.2.1更新於 Oct 24, 2026
MacWhisper transcription for Claude Desktop. Fully local, no cloud, audio stays on your Mac.
概覽
本機 MCP 伺服器,讓 Claude Desktop 透過 MacWhisper 命令列在 Mac 上轉錄音訊檔,全程不呼叫雲端。
- 可以做什麼
- 轉錄允許目錄中的音訊檔,可指定模型、語言、引擎以及是否寫入 MacWhisper 歷史紀錄
- 列出已安裝的轉錄模型,以及伺服器可讀取的目錄
- 取消正在進行的轉錄
- 監看某個資料夾並自動把新增音訊轉錄到 done 目錄,再取回結果
- 適用情境
- 適用於 macOS 上想讓 Claude 把本機錄音、語音備忘或會議音訊轉成逐字稿、摘要或待辦事項,而不把音訊上傳到任何地方的情境。適合已在使用 MacWhisper,或已設定 whisper.cpp 走完全開源路線的使用者。
- 執行需求
- 僅限 macOS,需安裝並授權 MacWhisper 且啟用其命令列工具(或改用 whisper.cpp 執行檔與 GGML 模型)。需要 Python 3.13(pyenv)或 Homebrew/pip 安裝套件、Claude Desktop,以及必填環境變數 MACWHISPER_ALLOWED_PATHS 指定可讀取目錄;MACWHISPER_CLI 與 MACWHISPER_LOG_PATH 為選用。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Macwhisper Mcp Server,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
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.
[CI] [CodeQL] [PyPI version] [License: MIT]
[Claude Desktop transcribing an audio file]
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:
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
Option A — Homebrew (recommended)
This installs the macwhisper-mcp binary into your Homebrew prefix. Upgrade later with brew upgrade docdyhr/tap/macwhisper-mcp-server.
Option B — pip / source
Or from source:
Verify the MacWhisper CLI is reachable:
Configure Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json and add:
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
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.
Local development: copy .env.example to .env and adjust. With direnv, .envrc exports .env automatically. Without direnv: source .env.
Per-directory language defaults
If you regularly transcribe recordings in a specific language, map a subfolder to
it instead of passing language on every call:
Drop a file in ~/Desktop/DK/ and transcribe_audio passes --language da
automatically. An explicit language argument on the tool call always wins over
the directory default.
Alternative engine: whisper.cpp
transcribe_audio(..., engine="whisper-cpp") transcribes using a standalone
whisper.cpp binary instead of
MacWhisper — useful if you don't have a MacWhisper license, or want a fully
open-source local path. It does not touch MacWhisper in any way.
Setup:
Homebrew installs the whisper-cli binary only — no models. Download a GGML
model yourself (this server never downloads anything over the network) from
huggingface.co/ggerganov/whisper.cpp,
e.g. ggml-base.en.bin, into a directory of your choice, then point the server at it:
Then call the tool with the model's filename (not a MacWhisper engine:model-id
string):
Transcribe ~/Desktop/memo.wav using the whisper-cpp engine with model ggml-base.en.bin
Limitations (v1):
- Input formats:
.wav,.mp3,.flaconly — not.m4a/.mp4/.mov/.aiff. This is whisper.cpp's own native format support; convert other formats first (e.g. withffmpeg) or use the default MacWhisper engine, which handles all supported formats. persist=trueis not supported — whisper.cpp has no history mechanism.- Default language is English (
en) if neitherlanguagenor a directory default is set — unlike MacWhisper, which defers to the app's own language selection.
Development
Logs
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.
來源:README.md,提交 1232879
工具
0版本歷史
2- v1.2.1最新Oct 15, 2026
- v1.0.1Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分