# mac-voice-mcp [Health: Active]

**Category:** 🎙️ Speech-to-Text  
**Repository:** https://github.com/jeet0007/mac-voice-mcp  
**GitHub Stars:** 1  
**npm Downloads (last month):** 1975  
**Views:** 3  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/mac-voice-mcp

## Description
Talk with your AI assistant out loud on a Mac, with on-device speech recognition (whisper.cpp).

## Tools
Capabilities this server exposes over MCP:

- **speak_and_listen** — Say something out loud to the user and hear their spoken reply.
Speaks text_to_speak through the computer's speakers, then listens like a conversation turn — it waits for
the user to start talking and stops when they finish — and returns an on-device transcript of what they said.

Write text_to_speak for the ear, not the screen:
- 1–3 short sentences, under ~40 words; lead with the outcome, then one question.
- Plain words only: no markdown, bullets, emoji, code, file paths, URLs, stack traces or tables.
- Describe code instead of reading it ("I added a retry to the upload function"), say file names
  not paths ("in index.ts"), round numbers ("about two hundred ms"), spell out symbols.
- Ask one question at a time, answerable in a few words ("Should I deploy it — yes or no?").
- Put the details (diffs, logs, links) in your normal on-screen reply, and say so out loud.
- Tool output (Bash stdout, file writes) is NOT the on-screen reply. Only your own assistant message text renders.
- A spoken turn with no assistant message text shows the user nothing — never skip the on-screen reply.

Good: "The build passed and all tests are green. Want me to open the pull request?"
Bad: "## Results\n- `npm test` ✅ 42/42\n- see /Users/x/repo/src/index.ts:120"

Once the user is talking with you by voice, keep the conversation in voice: answer each transcript with
another speak_and_listen call (not a text reply) until they say stop or start typing.
To end voice mode, or for a one-way announcement, pass listen: false: it returns at once and speaks while you work.
A reply of "(No speech detected …)" means the user did not answer — never treat it as consent. Ask once more;
if still nothing, stop and say on screen that voice mode is paused and they can type to carry on (not speak: the mic is off).
The "voice-mcp timing" line at the end is diagnostics: ignore it unless the user asks why things feel slow.
If it reports that voice-mcp is not set up, call voice_setup.
- **voice_setup** — Check whether this computer has everything speak_and_listen needs — text-to-speech, a microphone recorder (SoX),
whisper.cpp speech-to-text and the speech model — and optionally install what's missing.
Anything already installed is reused (an existing model elsewhere on disk is symlinked, not re-downloaded).
Call it with install=false (the default) first and tell the user what is missing.
Only call it with install=true after the user agrees: it runs `brew install` for the missing packages
and downloads the speech model once. It never uninstalls or changes anything else.
kokoro=true (also only after the user agrees) installs the optional Kokoro voice: more natural than the built-in one,
runs on this Mac, about 1 GB on disk. Once installed it's used automatically; the built-in voice stays as the fallback.
If it reports INSTALLING, the install continues in the background — wait a minute and call it again to check.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "mac-voice-mcp": {
    "command": "npx",
    "args": ["-y","mac-voice-mcp@latest"]
  }
}
```

## Documentation

## What mac-voice-mcp does

mac-voice-mcp adds spoken interaction to MCP-compatible applications running on macOS. It sends assistant text to the Mac’s speakers, listens for one conversational reply, and returns the user’s speech as text. Transcription runs locally with whisper.cpp, and recordings are deleted after each turn.

The server is intended for short, conversational messages rather than reading screen-oriented output aloud. Spoken prompts should use plain language, describe code changes instead of reciting code, and ask one question at a time. Detailed diffs, logs, links, and other context remain in the client’s normal on-screen response.

## How it works

The `speak_and_listen` tool handles a complete voice turn. It speaks the supplied message, waits for the user to begin talking, detects when the response ends, and returns the transcript. A chime marks the point at which the user can reply. Passing `listen: false` makes the interaction a one-way announcement that returns immediately.

For longer hands-free sessions, the project also provides Claude Code commands for starting a call or voice-oriented mode. During a voice conversation, each response should use another voice turn until the user stops or begins typing. A response indicating that no speech was detected should not be treated as consent.

The `voice_setup` tool checks for text-to-speech, SoX recording, whisper.cpp, and a speech model. It can install missing components after the user approves the installation. The optional Kokoro voice provides an alternative to the built-in macOS voice and uses about one gigabyte of disk space.

## Setup and configuration

The supported installation uses Node.js 22 or newer on macOS, with Apple Silicon recommended. MCP clients can launch the server through the stdio command `npx -y mac-voice-mcp@latest`. The repository provides installation paths for Claude Code, Claude Desktop, Cursor, and VS Code.

Run setup with installation disabled first so the missing dependencies are reported. Installation can then be approved for the missing Homebrew packages and speech model. Existing installations are reused, and an existing model elsewhere on disk can be linked instead of downloaded again. macOS requests microphone permission the first time the client listens.

Use `npx -y mac-voice-mcp@latest doctor` to test the setup, transcription, voice output, speakers, and microphone. If speech ends too quickly, `VOICE_MCP_END_SILENCE_MS=2000` increases the silence threshold. Claude Code users can allow repeated `speak_and_listen` calls in `permissions.allow` while leaving setup outside that allowlist so installs still require approval.

## Tools and capabilities

- `speak_and_listen`: Speak a short message, capture one spoken reply, and return its local transcript.
- `voice_setup`: Inspect the voice pipeline and optionally install missing dependencies.
- Natural turn-taking without push-to-talk.
- Local whisper.cpp transcription with the model kept loaded for subsequent turns.
- Optional Kokoro neural voice and macOS voice fallback.
- Claude Code call and voice-mode workflows, including interaction while Claude works.

## Limitations and notes

The server is designed for macOS and requires access to speakers and a microphone. Apple Silicon is recommended. Voice output and input depend on local text-to-speech, SoX, whisper.cpp, and a speech model being available. The optional Kokoro voice adds a substantial disk requirement. Voice mode can pause when no speech is detected, and microphone permission may need to be granted separately to the client application or terminal.

_Full upstream README: https://allmcps.com/mcp/mac-voice-mcp/readme_

