
Whisper Transcribe
io.github.ZahiriNatZuke由 GitHub 帳號 ZahiriNatZuke 發布v1.1.3更新於 Oct 24, 2026
Transcribe audio locally with faster-whisper or through the OpenAI Whisper API.
發布方自己的服務:Transcribe
概覽
讓助理使用本機 faster-whisper 或 OpenAI Whisper API 轉錄音訊檔案。
- 可以做什麼
- 提供依檔案路徑或 base64 編碼資料轉錄音訊的工具,回傳文字、偵測到的語言與帶時間戳的分段。選用的後處理步驟會把轉錄文字交給 OpenAI 聊天模型,修正拼字、文法與標點。list_models 工具會回報目前後端與可用的本機模型。
- 適用情境
- 適合讓助理把錄音、語音備忘或會議音訊轉成文字:可完全離線執行以保護隱私且不產生費用,也可透過 OpenAI 取得更高準確度。
- 執行需求
- 以 PyPI 套件形式透過 stdio 在本機執行,用 uvx 或 pip 啟動;需要 uv 或 Python 3.10+,僅支援桌面端。本機後端首次使用時會從 Hugging Face 下載 Whisper 模型。OpenAI 後端需要 OPENAI_API_KEY 與網路連線。選用變數:WHISPER_MODEL 與 WHISPER_POST_PROCESS_MODEL。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Whisper Transcribe,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
whisper-transcribe-mcp
[PyPI version] [CI] [License: MIT] [Python 3.10+]
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.
Prerequisites
macOS
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.
Windows
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.
Linux
Option A — uv (recommended):
Option B — Python:
No additional system dependencies required.
Installation
Option A — uvx (recommended, no permanent install)
uvx automatically downloads and installs the package in an isolated environment. Only requires uv to be installed.
Option B — pip
Use Cases
Case 1 — Local backend only (free, works offline)
Uses faster-whisper to transcribe locally. The model is downloaded from HuggingFace on first use (~74MB for base) and cached.
Install:
Environment variables:
Case 2 — OpenAI backend only (best accuracy, requires API key)
Uses OpenAI's whisper-1 model. Requires an API key and internet connection. No local model downloads.
Install:
Environment variables:
Case 3 — Both backends (OpenAI if key present, local as fallback)
If OPENAI_API_KEY is set, OpenAI is used automatically. Otherwise falls back to local faster-whisper.
Install:
Configuration
Claude Desktop
Config file location by operating system:
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.
Claude Code
Works the same on macOS, Windows, and Linux. Requires uv installed.
Claude Code config file location:
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":
Environment Variables
Backend selection and fallback ([all] only)
When installed with [all], the backend is chosen at startup:
OPENAI_API_KEYset → OpenAI is used. If the API call fails at runtime (network error, invalid key, quota exceeded), the server automatically falls back to localfaster-whisperand includes a"fallback_reason"field in the response.OPENAI_API_KEYnot set → localfaster-whisperis used directly, no fallback attempted.
Security and Permissions
The server runs locally over stdio and only needs the access its tools imply:
Tool inputs are validated before use: model_size must be a known Whisper model name,
language must be an ISO 639 code, and extension must be a known audio format. OpenAI errors
are returned as a short summary (error type and HTTP status); the full message goes to stderr.
Releases are published from GitHub Actions with PyPI Trusted Publishing and PEP 740 provenance
attestations.
Available Tools
transcribe_file
Transcribes 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, defaultfalse): Iftrue, passes the transcription through GPT-4.1 to fix spelling, grammar, and punctuation. Requires theopenaipackage ([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_base64
Transcribes audio provided as a base64-encoded string. Useful for programmatic integrations.
Parameters:
audio_base64(required): Base64-encoded audio dataextension(optional, defaultmp3): File extension (mp3,wav,ogg, etc.)language(optional): Language codemodel_size(optional): Local model sizepost_process(optional, defaultfalse): Same as intranscribe_file.post_process_prompt(optional): Same as intranscribe_file.
list_models
Shows the active backend configuration, available local models, and the GPT model used for post-processing.
Local Model Sizes
Models are downloaded automatically from HuggingFace on first use and cached locally.
Troubleshooting
MCP not loading in Claude Desktop on Windows
Symptom: The server fails to start with a dependency resolution error like:
Cause: Two issues combined:
- Claude Desktop does not include the user's local
binin its PATH, souvxmust be referenced by full path. - Claude Desktop's
uvxmay pick a Python version (e.g. 3.14) for whichctranslate2— a native dependency offaster-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:
Transcribing audio files in Claude Desktop
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).
Development
This project uses uv for reproducible development environments:
See CONTRIBUTING.md for the contribution workflow.
Distribution and releases
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.
License
MIT — see LICENSE
來源:README.md,提交 a0a029d
工具
0版本歷史
2- v1.1.3最新Sep 22, 2026
- v1.1.2Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
其他 Transcribe 整合
Transcribe
so.transcribe官方發布者
Transcribe 讓助理透過託管遠端端點,把音訊與影片轉成含講者標註的逐字稿、字幕、片段和附引用的問答。

Verbatim Transcribe
由 GitHub 帳號 xyzxinlu-max 發布
讓助理驅動本機 Verbatim 服務,提交影音轉錄、查詢任務進度並搜尋轉錄庫。

OpenTranscribe MCP
由 GitHub 帳號 fbossiere 發布
OpenTranscribe 透過 MCP 把音訊檔案或 HTTPS 連結交給所選語音轉寫服務,並回傳統一的轉寫結構。

vocce transcribe
由 GitHub 帳號 cmoonagent 發布
一個本機 MCP 伺服器,讓助理轉寫影音、產生摘要、筆記與閃卡、依據文件問答,並壓縮 PDF。

Transcribe Mcp
由 GitHub 帳號 Soboljem 發布
本機 MCP 伺服器:轉錄音訊與影片、找出靜音片段、把網頁轉成 markdown,依每次呼叫以自有錢包中的 USDC 付費。