M

Mac Voice MCP

by jeet0007 · io.github.jeet0007/mac-voice-mcp

Enables spoken conversations with Claude on a Mac: Claude speaks through speakers, listens to the user's natural replies, and transcribes them locally. No audio leaves the computer, and it includes tools for voice setup and a hands-free voice mode.

npm Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-jeet0007-mac-voice-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mac-voice-mcp"
      ],
      "env": {
        "VOICE_MCP_WHISPER_MODEL": "base.en",
        "VOICE_MCP_LANGUAGE": "en for *.en models, otherwise auto",
        "VOICE_MCP_END_SILENCE_MS": "1200",
        "VOICE_MCP_RATE": "system rate",
        "VOICE_MCP_CHIME": "1",
        "VOICE_MCP_DEBUG": "0",
        "VOICE_MCP_VOICE": "system voice",
        "VOICE_MCP_THREADS": "min(8, cores)",
        "VOICE_MCP_RECORDER": "auto",
        "VOICE_MCP_CACHE_DIR": "~/.cache/mac-voice-mcp",
        "VOICE_MCP_MIN_SPEECH_DB": "-48",
        "VOICE_MCP_WHISPER_PROMPT": "<VALUE>",
        "VOICE_MCP_WHISPER_SERVER": "1",
        "VOICE_MCP_MAX_SPEAK_WORDS": "120",
        "VOICE_MCP_SPEECH_MARGIN_DB": "12",
        "VOICE_MCP_MODEL_SEARCH_PATHS": "<VALUE>",
        "VOICE_MCP_WHISPER_MODEL_PATH": "<VALUE>",
        "VOICE_MCP_SERVER_IDLE_MINUTES": "15",
        "VOICE_MCP_START_TIMEOUT_SECONDS": "8"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-jeet0007-mac-voice-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mac-voice-mcp"
      ],
      "env": {
        "VOICE_MCP_WHISPER_MODEL": "base.en",
        "VOICE_MCP_LANGUAGE": "en for *.en models, otherwise auto",
        "VOICE_MCP_END_SILENCE_MS": "1200",
        "VOICE_MCP_RATE": "system rate",
        "VOICE_MCP_CHIME": "1",
        "VOICE_MCP_DEBUG": "0",
        "VOICE_MCP_VOICE": "system voice",
        "VOICE_MCP_THREADS": "min(8, cores)",
        "VOICE_MCP_RECORDER": "auto",
        "VOICE_MCP_CACHE_DIR": "~/.cache/mac-voice-mcp",
        "VOICE_MCP_MIN_SPEECH_DB": "-48",
        "VOICE_MCP_WHISPER_PROMPT": "<VALUE>",
        "VOICE_MCP_WHISPER_SERVER": "1",
        "VOICE_MCP_MAX_SPEAK_WORDS": "120",
        "VOICE_MCP_SPEECH_MARGIN_DB": "12",
        "VOICE_MCP_MODEL_SEARCH_PATHS": "<VALUE>",
        "VOICE_MCP_WHISPER_MODEL_PATH": "<VALUE>",
        "VOICE_MCP_SERVER_IDLE_MINUTES": "15",
        "VOICE_MCP_START_TIMEOUT_SECONDS": "8"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-jeet0007-mac-voice-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mac-voice-mcp"
      ],
      "env": {
        "VOICE_MCP_WHISPER_MODEL": "base.en",
        "VOICE_MCP_LANGUAGE": "en for *.en models, otherwise auto",
        "VOICE_MCP_END_SILENCE_MS": "1200",
        "VOICE_MCP_RATE": "system rate",
        "VOICE_MCP_CHIME": "1",
        "VOICE_MCP_DEBUG": "0",
        "VOICE_MCP_VOICE": "system voice",
        "VOICE_MCP_THREADS": "min(8, cores)",
        "VOICE_MCP_RECORDER": "auto",
        "VOICE_MCP_CACHE_DIR": "~/.cache/mac-voice-mcp",
        "VOICE_MCP_MIN_SPEECH_DB": "-48",
        "VOICE_MCP_WHISPER_PROMPT": "<VALUE>",
        "VOICE_MCP_WHISPER_SERVER": "1",
        "VOICE_MCP_MAX_SPEAK_WORDS": "120",
        "VOICE_MCP_SPEECH_MARGIN_DB": "12",
        "VOICE_MCP_MODEL_SEARCH_PATHS": "<VALUE>",
        "VOICE_MCP_WHISPER_MODEL_PATH": "<VALUE>",
        "VOICE_MCP_SERVER_IDLE_MINUTES": "15",
        "VOICE_MCP_START_TIMEOUT_SECONDS": "8"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-jeet0007-mac-voice-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mac-voice-mcp"
      ],
      "env": {
        "VOICE_MCP_WHISPER_MODEL": "base.en",
        "VOICE_MCP_LANGUAGE": "en for *.en models, otherwise auto",
        "VOICE_MCP_END_SILENCE_MS": "1200",
        "VOICE_MCP_RATE": "system rate",
        "VOICE_MCP_CHIME": "1",
        "VOICE_MCP_DEBUG": "0",
        "VOICE_MCP_VOICE": "system voice",
        "VOICE_MCP_THREADS": "min(8, cores)",
        "VOICE_MCP_RECORDER": "auto",
        "VOICE_MCP_CACHE_DIR": "~/.cache/mac-voice-mcp",
        "VOICE_MCP_MIN_SPEECH_DB": "-48",
        "VOICE_MCP_WHISPER_PROMPT": "<VALUE>",
        "VOICE_MCP_WHISPER_SERVER": "1",
        "VOICE_MCP_MAX_SPEAK_WORDS": "120",
        "VOICE_MCP_SPEECH_MARGIN_DB": "12",
        "VOICE_MCP_MODEL_SEARCH_PATHS": "<VALUE>",
        "VOICE_MCP_WHISPER_MODEL_PATH": "<VALUE>",
        "VOICE_MCP_SERVER_IDLE_MINUTES": "15",
        "VOICE_MCP_START_TIMEOUT_SECONDS": "8"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-jeet0007-mac-voice-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mac-voice-mcp"
      ],
      "env": {
        "VOICE_MCP_WHISPER_MODEL": "base.en",
        "VOICE_MCP_LANGUAGE": "en for *.en models, otherwise auto",
        "VOICE_MCP_END_SILENCE_MS": "1200",
        "VOICE_MCP_RATE": "system rate",
        "VOICE_MCP_CHIME": "1",
        "VOICE_MCP_DEBUG": "0",
        "VOICE_MCP_VOICE": "system voice",
        "VOICE_MCP_THREADS": "min(8, cores)",
        "VOICE_MCP_RECORDER": "auto",
        "VOICE_MCP_CACHE_DIR": "~/.cache/mac-voice-mcp",
        "VOICE_MCP_MIN_SPEECH_DB": "-48",
        "VOICE_MCP_WHISPER_PROMPT": "<VALUE>",
        "VOICE_MCP_WHISPER_SERVER": "1",
        "VOICE_MCP_MAX_SPEAK_WORDS": "120",
        "VOICE_MCP_SPEECH_MARGIN_DB": "12",
        "VOICE_MCP_MODEL_SEARCH_PATHS": "<VALUE>",
        "VOICE_MCP_WHISPER_MODEL_PATH": "<VALUE>",
        "VOICE_MCP_SERVER_IDLE_MINUTES": "15",
        "VOICE_MCP_START_TIMEOUT_SECONDS": "8"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-jeet0007-mac-voice-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mac-voice-mcp"
      ],
      "env": {
        "VOICE_MCP_WHISPER_MODEL": "base.en",
        "VOICE_MCP_LANGUAGE": "en for *.en models, otherwise auto",
        "VOICE_MCP_END_SILENCE_MS": "1200",
        "VOICE_MCP_RATE": "system rate",
        "VOICE_MCP_CHIME": "1",
        "VOICE_MCP_DEBUG": "0",
        "VOICE_MCP_VOICE": "system voice",
        "VOICE_MCP_THREADS": "min(8, cores)",
        "VOICE_MCP_RECORDER": "auto",
        "VOICE_MCP_CACHE_DIR": "~/.cache/mac-voice-mcp",
        "VOICE_MCP_MIN_SPEECH_DB": "-48",
        "VOICE_MCP_WHISPER_PROMPT": "<VALUE>",
        "VOICE_MCP_WHISPER_SERVER": "1",
        "VOICE_MCP_MAX_SPEAK_WORDS": "120",
        "VOICE_MCP_SPEECH_MARGIN_DB": "12",
        "VOICE_MCP_MODEL_SEARCH_PATHS": "<VALUE>",
        "VOICE_MCP_WHISPER_MODEL_PATH": "<VALUE>",
        "VOICE_MCP_SERVER_IDLE_MINUTES": "15",
        "VOICE_MCP_START_TIMEOUT_SECONDS": "8"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
VOICE_MCP_WHISPER_MODEL No Which model to use (see the table below). Default: base.en
VOICE_MCP_LANGUAGE No en, th, ja, de, … Default: en for *.en models, otherwise auto
VOICE_MCP_END_SILENCE_MS No How long a pause ends your turn. Use 1800 if it cuts you off while you think, 800 for snappier replies. Default: 1200
VOICE_MCP_RATE No Words per minute, e.g. 200. Default: system rate
VOICE_MCP_CHIME No Set to 0 to turn off the mic open/close sounds. Default: 1
VOICE_MCP_DEBUG No Verbose logs with per-turn timings, written to stderr. Default: 0
VOICE_MCP_VOICE No macOS voice, e.g. Samantha, Daniel, Kanya. List them with `say -v '?'`. Default: system voice
VOICE_MCP_THREADS No Number of whisper.cpp threads. Default: min(8, cores)
VOICE_MCP_RECORDER No sox or ffmpeg (ffmpeg is macOS only). Default: auto
VOICE_MCP_CACHE_DIR No Where models are downloaded or symlinked. Default: ~/.cache/mac-voice-mcp
VOICE_MCP_MIN_SPEECH_DB No The quietest level that ever counts as speech (dBFS). Default: -48
VOICE_MCP_WHISPER_PROMPT No Words to bias toward: names, product terms, jargon.
VOICE_MCP_WHISPER_SERVER No Set to 0 to always use whisper-cli, with no warm server. Default: 1
VOICE_MCP_MAX_SPEAK_WORDS No Longer text is cut at a sentence boundary ("the rest is on screen"). Default: 120
VOICE_MCP_SPEECH_MARGIN_DB No How much louder than room noise counts as speech. Raise it in noisy rooms. Default: 12
VOICE_MCP_MODEL_SEARCH_PATHS No Extra folders to check for an existing model (`:`-separated).
VOICE_MCP_WHISPER_MODEL_PATH No Use this exact ggml-*.bin file.
VOICE_MCP_SERVER_IDLE_MINUTES No How long the warm server stays up without use. Default: 15
VOICE_MCP_START_TIMEOUT_SECONDS No How long to wait for you to start talking. Default: 8

Similar servers