Transcribe audio locally with faster-whisper or through the OpenAI Whisper API.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
MCP server for audio transcription using faster-whisper (local, free, offline) or OpenAI Whisper API (cloud, requires API key). Works with Claude Desktop and Claude Code on macOS, Windows, and Linux.
Option A β uv (recommended):
Option B β Python:
Python 3.10+ is included in macOS 12.3+. You can also install it with brew install python.
Option A β uv (recommended):
Or download the installer from astral.sh/uv.
Option B β Python: Download Python 3.10+ from python.org. During installation, check "Add Python to PATH".
No need to install ffmpeg or any compiler β everything is bundled in the package.
Option A β uv (recommended):
Option B β Python:
No additional system dependencies required.
uvx automatically downloads and installs the package in an isolated environment. Only requires uv to be installed.
Uses faster-whisper to transcribe locally. The model is downloaded from HuggingFace on first use (~74MB for base) and cached.
Install:
Environment variables:
Uses OpenAI's whisper-1 model. Requires an API key and internet connection. No local model downloads.
Install:
Environment variables:
If OPENAI_API_KEY is set, OpenAI is used automatically. Otherwise falls back to local faster-whisper.
Install:
Config file location by operating system:
| OS | Path |
|---|---|
| macOS | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Windows | %APPDATA%\Claude\claude_desktop_config.json |
| Linux | ~/.config/Claude/claude_desktop_config.json |
Add the entry inside "mcpServers":
Windows note: Claude Desktop runs in a restricted environment and may not have
uvxin its PATH, and it may use a Python version (e.g. 3.14) for whichctranslate2(a dependency offaster-whisper) does not yet have prebuilt wheels. Two fixes are required:
- Use the full path to
uvx.exeinstead of justuvx. Runwhere.exe uvxin PowerShell to find it (usuallyC:\Users\<YourUser>\.local\bin\uvx.exe).- Force Python 3.12 via the
--python 3.12flag so that a compatible wheel is used.
Case 1 β Local:
macOS / Linux:
Windows:
Case 2 β OpenAI:
macOS / Linux:
Windows:
Case 3 β Both (OpenAI takes priority if key is set):
macOS / Linux:
Windows:
Restart Claude Desktop after editing the file.
Works the same on macOS, Windows, and Linux. Requires uv installed.
Claude Code config file location:
| OS | Global | Per project |
|---|---|---|
| macOS / Linux | ~/.claude.json | .claude/settings.json (project root) |
| Windows | C:\Users\<user>\.claude.json | .claude\settings.json (project root) |
The easiest way to add the server is via the Claude Code CLI, which updates the config file automatically:
Windows +
[all]: Add--python 3.12before the package name to avoidctranslate2wheel issues. Edit~/.claude.jsondirectly and use"args": ["--python", "3.12", "whisper-transcribe-mcp[all]"].
To add it globally (available in all projects), use --scope user:
Or edit ~/.claude.json directly and add inside "mcpServers":
| Variable | Default | Description |
|---|---|---|
WHISPER_MODEL | base | Local model size: tiny, base, small, medium, large-v3 |
OPENAI_API_KEY | β | If set, activates the OpenAI backend instead of local |
[all] only)When installed with [all], the backend is chosen at startup:
OPENAI_API_KEY set β OpenAI is used. If the API call fails at runtime (network error, invalid key, quota exceeded), the server automatically falls back to local faster-whisper and includes a "fallback_reason" field in the response.OPENAI_API_KEY not set β local faster-whisper is used directly, no fallback attempted.transcribe_fileTranscribes an audio file by path (mp3, wav, m4a, ogg, flac, webm, etc.).
Parameters:
file_path (required): Absolute path to the audio filelanguage (optional): Language code (es, en, fr, etc.). Auto-detected if not provided.model_size (optional): Local model size. Ignored with the OpenAI backend.post_process (optional, default false): If true, passes the transcription through GPT-4.1 to fix spelling, grammar, and punctuation. Requires the openai package ([openai] or [all]).post_process_prompt (optional): Custom system prompt for GPT post-processing. Use it to provide domain-specific context, proper nouns, or product names that Whisper may have misspelled. Falls back to a generic correction prompt if not provided.Response (without post-processing):
Response (with post_process: true):
If post-processing fails, text retains the original transcription and a post_process_error field is added.
transcribe_base64Transcribes audio provided as a base64-encoded string. Useful for programmatic integrations.
Parameters:
audio_base64 (required): Base64-encoded audio dataextension (optional, default mp3): File extension (mp3, wav, ogg, etc.)language (optional): Language codemodel_size (optional): Local model sizepost_process (optional, default false): Same as in transcribe_file.post_process_prompt (optional): Same as in transcribe_file.list_modelsShows the active backend configuration, available local models, and the GPT model used for post-processing.
| Model | Size | Relative Speed | Notes |
|---|---|---|---|
tiny | 39 MB | ~32x | Fastest, least accurate |
base | 74 MB | ~16x | Good balance (default) |
small | 244 MB | ~6x | Better accuracy |
medium | 769 MB | ~2x | High accuracy |
large-v3 | 1.5 GB | ~1x | Best accuracy, slowest |
Models are downloaded automatically from HuggingFace on first use and cached locally.
Symptom: The server fails to start with a dependency resolution error like:
Cause: Two issues combined:
bin in its PATH, so uvx must be referenced by full path.uvx may pick a Python version (e.g. 3.14) for which ctranslate2 β a native dependency of faster-whisper β does not yet have prebuilt wheels for Windows.Fix: Use the full path to uvx.exe and force Python 3.12 explicitly:
To find your exact uvx.exe path, run in PowerShell:
Symptom: Claude Desktop fails to transcribe an uploaded audio file. It may attempt to read the file as base64 and pass it to transcribe_base64, which then fails or hangs for files larger than ~50 KB.
Cause: Claude Desktop runs in a sandboxed Linux container. When you upload a file using the attachment button, it is stored at a path like /mnt/user-data/uploads/audio.mp3 β inside the container. The MCP server runs on your Windows machine and has no access to that container path. Claude's fallback of base64-encoding the file and passing it to transcribe_base64 fails in practice because even a small audio file produces hundreds of kilobytes of base64 text, which overflows the context window before the tool call can be made.
Fix: Do not use the attachment button to upload audio files. Instead, place the file anywhere on your Windows filesystem and reference its path directly in the message:
"Transcribe the file at
C:\Users\YourUser\Downloads\audio.mp3"
The MCP server will read the file directly from Windows and send it to the transcription backend. This works for files of any size within the Whisper API limit (25 MB).
This project uses uv for reproducible development environments:
See CONTRIBUTING.md for the contribution workflow.
The package is distributed through PyPI and
described by server.json for the
official MCP Registry. Version tags publish both
destinations through GitHub OIDC, without long-lived publishing tokens. See
docs/publishing.md for the release checklist and one-time repository setup.
The Registry entry describes the base PyPI package. Choose the [local], [openai], or [all]
extra from the installation examples above so the transcription backend you need is installed.
MIT β see LICENSE
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/whisper-transcribe)<a href="https://allmcps.com/mcp/whisper-transcribe"><img src="https://allmcps.com/api/badge/whisper-transcribe?style=directory" alt="Whisper Transcribe on AllMCPs" /></a>