Voice Transcriber MCP Server

io.github.fgasparetto由 GitHub 帳號 fgasparetto 發布v2.0.1更新於 Oct 24, 2026

MCP server for transcribing Google Chat voice messages using Groq Whisper API

已驗證STDIO僅桌面溝通與協作媒體與設計

概覽

AI 產生的概覽

本機 MCP 伺服器,透過 Groq Whisper API 將 Google Chat 語音訊息與本機音訊檔轉寫成文字。

可以做什麼
  • 依訊息連結轉寫 Google Chat 語音訊息,使用 Google Chat OAuth2 憑證取得訊息並下載音訊附件
  • 轉寫本機音訊檔,支援 mp3、m4a、wav、ogg、flac、webm、aac 等格式
  • 呼叫雲端 whisper-large-v3 模型回傳轉寫文字,可附上語言提示
適用情境
適合在 Claude Code 中處理 Google Chat 時,把語音訊息變成可讀文字而不必逐則收聽;也適合在沒有本機 GPU 的情況下快速轉寫本機音訊檔。
執行需求
以 stdio 本機程序執行,需用 uv(Python 套件管理工具)從複製的儲存庫啟動。需要 GROQ_API_KEY 中的 Groq API 金鑰,以及 Google Chat OAuth2 的 token.json,路徑可用 GCHAT_TOKEN_PATH 指定;該權杖需具備 chat.messages.readonly 與 chat.spaces.readonly 權限範圍。需能連線至 Google Chat 與 Groq 網路服務。
安裝前請注意
伺服器會持有 Groq API 金鑰與 Google Chat OAuth2 權杖,請妥善保管。音訊內容會上傳至 Groq 雲端介面進行轉寫,並透過你的帳號讀取 Google Chat 訊息與附件。README 說明遇到音訊附件時會自動轉寫、不要求確認。Groq 限制單一檔案不得超過 25MB。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Voice Transcriber MCP Server,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Voice Transcriber MCP Server

MCP server that automatically transcribes Google Chat voice messages using Groq Whisper API (whisper-large-v3). No local GPU needed.

When Claude Code encounters an audio attachment in a Google Chat message, this server transcribes it immediately without asking for confirmation.

Features

  • Transcribe Google Chat voice messages by URL (automatic)
  • Transcribe local audio files (mp3, m4a, wav, ogg, flac, webm, aac)
  • Uses Groq Whisper API (free tier, fast, cloud-based)
  • Reuses Google Chat OAuth2 credentials (no separate Google auth needed)

Prerequisites

1. Groq API Key (free)

  1. Go to console.groq.com/keys
  2. Create a free account
  3. Generate an API key
  4. You'll set this as GROQ_API_KEY in your MCP config (see below)

2. Google Chat OAuth2 Token

This server needs a valid Google Chat OAuth2 token (token.json) to fetch messages and download audio attachments.

If you already use a Google Chat MCP server (e.g. multi-chat-mcp-server), the token is already available. Default path:

~/tools/multi-chat-mcp-server/src/providers/google_chat/token.json

If your token is in a different location, set the GCHAT_TOKEN_PATH environment variable.

If you don't have a Google Chat token yet, you need to:

  1. Create a Google Cloud project with Chat API enabled
  2. Create OAuth2 credentials (Desktop app)
  3. Run the OAuth flow to generate token.json with scopes:
    • https://www.googleapis.com/auth/chat.messages.readonly
    • https://www.googleapis.com/auth/chat.spaces.readonly

3. uv (Python package manager)

OSCommand
Linux / macOS / WSLcurl -LsSf https://astral.sh/uv/install.sh | sh
Windowspowershell -c "irm https://astral.sh/uv/install.ps1 | iex"

Verify: uv --version

Installation

bash
git clone https://github.com/fgasparetto/voice-transcriber-mcp.gitcd voice-transcriber-mcpuv sync

Configuration

Add to your Claude Code MCP config (.mcp.json or ~/.claude.json):

json
{  "mcpServers": {    "voice-transcriber": {      "type": "stdio",      "command": "uv",      "args": [        "--directory", "/path/to/voice-transcriber-mcp",        "run", "python", "server.py"      ],      "env": {        "GROQ_API_KEY": "gsk_your_groq_api_key_here"      }    }  }}

Replace:

  • /path/to/voice-transcriber-mcp with the actual clone directory
  • gsk_your_groq_api_key_here with your Groq API key

Environment Variables

VariableRequiredDefaultDescription
GROQ_API_KEYYes—Groq API key (get one free)
GCHAT_TOKEN_PATHNo~/tools/multi-chat-mcp-server/src/providers/google_chat/token.jsonPath to Google Chat OAuth2 token

Tools

transcribe_voice_message

Transcribe a voice message from Google Chat. Called automatically by Claude when it encounters an audio attachment.

transcribe_voice_message(  message_url="https://chat.google.com/dm/SPACE/THREAD/MSG",  language="it")

transcribe_audio_file

Transcribe a local audio file.

transcribe_audio_file(  file_path="/tmp/recording.m4a",  language="it")

Platform Notes

Linux

No additional steps. Ensure uv is in your PATH.

macOS

  • If uv not found after install: export PATH="$HOME/.local/bin:$PATH"

Windows (WSL)

Claude Code runs inside WSL. All paths must be Linux-style:

  • Token path: /home/USER/tools/... (NOT /mnt/c/...)
  • If uv not found: source ~/.bashrc or add ~/.local/bin to PATH

Troubleshooting

ProblemSolution
GROQ_API_KEY not setAdd it to the env section in your MCP config
Google Chat token not foundSet GCHAT_TOKEN_PATH or authenticate your Google Chat MCP
Groq API error 413Audio file too large (Groq limit: 25MB)
uv: command not foundInstall uv (see Prerequisites)

How It Works

Claude Code → MCP tool call → server.py  1. Parse Google Chat URL  2. Fetch message via Google Chat API (OAuth2 token)  3. Download audio attachment via media API  4. Send to Groq Whisper API (whisper-large-v3)  5. Return transcribed text

License

MIT

來源:README.md,提交 da30b55

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v2.0.1最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分