
Live Translate Mcp
dev.waxberry由 waxberry.dev 發布v0.1.6更新於 Oct 24, 2026
MCP server for local speech translation (EN ↔ 中文) via Whisper + Claude + Piper
概覽
本機 MCP 伺服器,讓 Claude 透過 Whisper、Claude API 與 Piper TTS 轉錄、翻譯並朗讀英文與中文語音。
- 可以做什麼
- 翻譯音訊檔案:轉錄 WAV 檔,經 Claude 翻譯後合成語音,將譯文 WAV 存到原檔旁並自動播放,回傳原文、譯文與輸出路徑。翻譯原始音訊:接收 base64 編碼的 WAV,回傳轉錄文字、譯文與 base64 合成音訊。檢查就緒狀態:在翻譯前確認 Whisper 模型快取、Piper 語音檔與 espeak-ng 都已就緒。語言會在英文與中文之間自動辨識。
- 適用情境
- 適合想讓 Claude 在自己的電腦上處理英中語音翻譯的情況:音訊留在本機,只有譯文送往 Claude API。適用於會議片段、訪談或錄音的轉錄、翻譯與朗讀。
- 執行需求
- 透過 npx 或全域 npm 安裝在本機執行;需要 Node.js 18+、在 ANTHROPIC_API_KEY 提供 Anthropic API 金鑰,並安裝 espeak-ng。Whisper 模型(約 150 MB)與 Piper 語音(約 200 MB)首次使用時下載並快取於使用者家目錄;可用 PIPER_VOICE_DIR 變更語音路徑。僅支援桌面端。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Live Translate Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
live-translate-mcp
[live-translate-mcp MCP server]
Real-time English ↔ Mandarin speech translation for Claude — powered by Whisper, Claude AI, and Piper TTS.
Give Claude the ability to listen, translate, and speak. live-translate-mcp is a Model Context Protocol (MCP) server that adds speech translation as a native tool inside Claude Desktop and Claude Code. Hand it an audio file, and it transcribes, translates, synthesises, and plays the result — entirely on your machine, with Claude handling the translation.
What it does
Audio never leaves your machine except for the translated text sent to the Claude API. ASR and TTS run fully on-device.
Tools
translate_file
Translate a WAV audio file. Pass an absolute path — the server transcribes it, translates the text via Claude, synthesises speech, saves <name>_translated.wav next to the original, and plays it automatically.
Returns: original text, translation, and the path to the saved output file.
translate_speech
Translate raw audio passed as a base64-encoded WAV string. Returns the transcription, translation, and synthesised audio as base64 WAV — useful for programmatic workflows.
health_check
Verify that all dependencies (Whisper model cache, Piper voice files, espeak-ng) are present and ready before making a translation request.
Installation
No installation required. Run it directly with npx:
Or install globally:
Prerequisites:
- Node.js 18+
- An Anthropic API key
espeak-ng— for TTS phonemisation (brew install espeak-ngon macOS,apt install espeak-ngon Linux)
The Whisper model (~150 MB) and Piper voice models (~200 MB) download automatically on first use and are cached in ~/.live-translate/.
Claude Desktop setup
Add the following to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Restart Claude Desktop. You'll see live-translate appear in the tools panel.
Claude Code setup
Then set your API key in the environment before starting Claude Code, or pass it via the MCP env config.
Usage examples
Once configured, just ask Claude naturally:
"Translate this audio file for me: /Users/alice/recording.wav"
"Use translate_file on /tmp/interview.wav"
"Check if live-translate is ready"
Claude will call the appropriate tool automatically.
Supported languages
Language is detected automatically from the audio — no need to specify it.
How it compares
Environment variables
Related
- live-translate — the standalone CLI for push-to-talk translation with no API key required, using local models end-to-end.
- Model Context Protocol — the open standard this server implements.
- Piper TTS — the local TTS engine powering speech synthesis.
Licence
MIT
來源:README.md,提交 8d4a4af
工具
0版本歷史
1- v0.1.6最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分