macwhisper-mcp-server

v1.2.1
io.github.docdyhr/macwhisper-mcp-server Checked 4 days ago Published 1 month ago

MacWhisper transcription for Claude Desktop.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

transcribe_audio Transcribe Audio

Transcribe a local audio file and return the transcript. IMPORTANT: ``path`` must be a file on the user's Mac filesystem inside the configured allow-list (typically ~/Desktop or ~/Downloads). Files uploaded to the Claude chat window are NOT accessible — ask the user to save the file to their Desktop or Downloads folder first. If this tool returns an access-denied error, do NOT attempt to transcribe the file by any other means (e.g. downloading a model, calling an external API, or using in-process speech recognition). Simply tell the user to save the file locally and retry with this tool.

ParameterTypeDescription
path *stringAbsolute or ``~``-prefixed path to an audio file on the local Mac filesystem inside the configured allow-list. Supported formats: m4a, mp3, mp4, mov, wav, aiff, flac (whisper-cpp engine only: wav, mp3…
enginestring"macwhisper" (default) — routes through the MacWhisper CLI, or "whisper-cpp" — an independent local backend that does not use MacWhisper at all. Requires whisper-cpp installed (`brew install whisp…
languageOptional ISO 639-1 code (e.g. "da", "de") or "auto" to force the transcription language. If omitted, a per-directory default is used when the file's folder matches one configured in MACWHISPER_LANGUAG…
modelOptional model override. For the default ``engine="macwhisper"``, an engine:model-id string, e.g. "whisperkit:openai_whisper-large-v3-v20240930" — use ``list_models()`` to see what is installed. For…
persistbooleanIf True, save the transcription to MacWhisper's history. Defaults to False. Not supported by the whisper-cpp engine.

cancel_transcription Cancel Transcription

Cancel the currently running transcription, if any.

list_models List Models

Return the transcription models available across all engines. MacWhisper entries are formatted as ``engine:model-id — Display Name [active]`` where ``[active]`` marks the model currently selected in MacWhisper; pass the ``engine:model-id`` string as ``model`` with the default ``engine="macwhisper"``. whisper-cpp entries (if ``MACWHISPER_WHISPERCPP_MODEL_DIR`` is configured) are formatted as ``filename [whisper-cpp]``; pass the filename as ``model`` with ``engine="whisper-cpp"``. Requires the MacWhisper CLI to be reachable even if you only intend to use the whisper-cpp engine.

list_allowed_paths List Allowed Paths

Return the directories this server is allowed to read audio from.

start_watch Start Watch

Start watching a folder for new audio files to auto-transcribe. New audio files dropped into ``folder`` are transcribed automatically and moved to a "done" directory. By default this is ``<folder>/../done``; override it with the ``MACWHISPER_WATCH_DONE_DIR`` env var. Both the incoming folder and the done directory must be inside the configured allow-list, otherwise the call is rejected. Call ``get_watch_results()`` to retrieve completed transcriptions.

ParameterTypeDescription
folder *stringAbsolute or ``~``-prefixed path to the incoming directory.

stop_watch Stop Watch

Stop the active folder watcher.

get_watch_results Get Watch Results

Return completed watch-folder transcriptions and clear the queue. Each entry contains: ``file``, ``transcript``, ``destination``, ``error``.