MCP server for transcribing Google Chat voice messages using Groq Whisper API
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.
GROQ_API_KEY in your MCP config (see below)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:
token.json with scopes:
https://www.googleapis.com/auth/chat.messages.readonlyhttps://www.googleapis.com/auth/chat.spaces.readonly| OS | Command |
|---|---|
| Linux / macOS / WSL | curl -LsSf https://astral.sh/uv/install.sh | sh |
| Windows | powershell -c "irm https://astral.sh/uv/install.ps1 | iex" |
Verify: uv --version
git clone https://github.com/fgasparetto/voice-transcriber-mcp.git
cd voice-transcriber-mcp
uv sync
Add to your Claude Code MCP config (.mcp.json or ~/.claude.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 directorygsk_your_groq_api_key_here with your Groq API key| Variable | Required | Default | Description |
|---|---|---|---|
GROQ_API_KEY | Yes | — | Groq API key (get one free) |
GCHAT_TOKEN_PATH | No | ~/tools/multi-chat-mcp-server/src/providers/google_chat/token.json | Path to Google Chat OAuth2 token |
transcribe_voice_messageTranscribe 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_fileTranscribe a local audio file.
transcribe_audio_file(
file_path="/tmp/recording.m4a",
language="it"
)
No additional steps. Ensure uv is in your PATH.
uv not found after install: export PATH="$HOME/.local/bin:$PATH"Claude Code runs inside WSL. All paths must be Linux-style:
/home/USER/tools/... (NOT /mnt/c/...)uv not found: source ~/.bashrc or add ~/.local/bin to PATH| Problem | Solution |
|---|---|
GROQ_API_KEY not set | Add it to the env section in your MCP config |
Google Chat token not found | Set GCHAT_TOKEN_PATH or authenticate your Google Chat MCP |
Groq API error 413 | Audio file too large (Groq limit: 25MB) |
uv: command not found | Install uv (see Prerequisites) |
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
MIT
Source-derived launch command. Check the maintainer’s required arguments and credentials before running:
uvx voice-transcriber-mcpMerge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.
{
"mcpServers": {
"io-github-fgasparetto-voice-transcriber-mcp": {
"command": "uvx",
"args": [
"voice-transcriber-mcp"
]
}
}
}Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.
Claude Desktop setup referencevoice-transcriber-mcppypiVoice Transcriber MCP Server works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.
~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.~/.cursor/mcp.jsonRestart Cursor for changes to take effect..vscode/mcp.jsonReload VS Code window for changes to take effect.~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect..mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.