About mac-voice-mcp
mac-voice-mcp lets Claude converse by voice on a Mac, for people who want spoken interaction during coding or other tasks. It combines local whisper.cpp transcription with conversational turn-taking, and recordings are deleted after each turn.
Key features
- 01On-device whisper.cpp transcription
- 02Conversational turn-taking without push-to-talk
- 03Speech through Mac speakers
- 04Optional Kokoro neural voice
- 05Setup checks and consent-based installation
- 06Voice Buddy for Claude Code
Use cases
- 01Speak decisions during long-running tasks
- 02Hear a short pull request summary
- 03Talk through a problem instead of typing
- 04Use voice interaction while resting hands or eyes
MCP support
The MCP server provides `speak_and_listen` for spoken output and one-turn speech transcription, plus `voice_setup` to check dependencies and install missing items after consent. It also includes `setup` and `voice_mode` prompts.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
npx -y mac-voice-mcpVOICE_MCP_WHISPER_MODELwhisper.cpp model name (default base.en)VOICE_MCP_LANGUAGESpoken language code, e.g. en, th, or autoVOICE_MCP_END_SILENCE_MSPause length that ends your turn, in ms (default 1200)Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.
Tools
2Saved tool list · updated 3d ago
| Parameter | Type | Required | Description |
|---|---|---|---|
| listen | boolean | No | Default true. false: only speak, without opening the microphone — for a one-way announcement, or to say goodbye when the user ends voice mode. |
| text_to_speak | string | Yes | The summary or message to read aloud to the user. Plain, conversational text. |
| listen_seconds | number | No | Upper limit on how long to listen, in seconds (default 30, max 120). Listening already stops when the user finishes talking, so you rarely need this. |
Details
From the project README🎙️ mac-voice-mcp
Talk with Claude out loud on your Mac.
Natural turn-taking · on-device speech recognition · no audio leaves your computer
Claude speaks through your Mac's speakers, listens to your answer the way a person would, and gets back what you said as text. Speech recognition runs on your Mac, so no audio leaves your computer.
Claude ──speak_and_listen("Tests pass. Open the PR?")──▶ 🔊 "Tests pass. Open the PR?"
🎙 you: "yes, and tag Priya"
Claude ◀──────────────── "Yes, and tag Priya." ───────── whisper.cpp on your Mac
Perfect for:
- Long tasks: Claude works quietly and checks in out loud when it needs a decision, so you can step away from the screen.
- Quick reviews: a 20-second summary of a pull request, then "approve it?"
- Resting your eyes, or your wrists, after a long day at the keyboard.
- Thinking out loud: talking a problem through instead of typing it.
Features
- 🔒 On-device. whisper.cpp transcribes on your Mac. Recordings are deleted after each turn.
- 💬 Natural turn-taking. A soft chime, then it waits for you to start, and hands back about 1.5 seconds after you stop. No push-to-talk.
- ⚡ Fast replies. A warm whisper.cpp server keeps the model loaded, so transcribing takes a fraction of a second on Apple Silicon.
- 🗣️ A natural voice, if you want one. Uses your best macOS voice, or the optional Kokoro neural voice.
- ✋ Asks before installing anything. Setup checks what you already have and reuses it.
- 🙋 Talk while Claude works. Say "Claude, use the other branch" mid-task and it takes it into account at its next step (Claude Code plugin).
- 🫧 Voice Buddy (optional, Claude Code). An animated buddy above the prompt shows when Claude is speaking or listening, and your first keystroke interrupts it.
- 🪟 One mic, many windows. Claude Code, Claude Desktop and Cursor take turns instead of talking over each other.
- 📏 Measured, not guessed.
doctorchecks the whole pipeline on your Mac and scores it PASS, WARN or FAIL.
Quick start
You need a Mac (Apple Silicon recommended) and Node.js 22 or newer.
1. Install.
-
Claude Code (recommended). Install the plugin, and Voice Buddy with it:
/plugin marketplace add jeet0007/mac-voice-mcp /plugin install mac-voice-mcp@mac-voice-mcp /plugin install voice-buddy@mac-voice-mcpVoice Buddy is optional: it adds the animated buddy above the prompt and lets you interrupt by typing (more).
-
Claude Desktop and other apps: add
npx -y mac-voice-mcp@latestas a stdio MCP server. See Install for each app.
2. Set up. Ask Claude to "set up voice" (or run /mac-voice-mcp:setup). It checks for SoX, whisper.cpp and a speech model, shows you what's missing, and installs it only after you say yes.
3. Allow the microphone. The first time Claude listens, macOS asks. Click Allow.
4. Talk. Run /mac-voice-mcp:talk fix the flaky login test, or ask Claude to "check in with me by voice when you need a decision". Reply after the chime.
Allow voice turns without prompts
Claude Code asks for approval every time Claude wants to speak, which breaks the flow of a conversation. To allow voice turns, add the tool to permissions.allow in ~/.claude/settings.json:
{
"permissions": {
"allow": [
"mcp__plugin_mac-voice-mcp_voice-mcp__speak_and_listen",
"mcp__voice-mcp__speak_and_listen"
]
}
}
The first name is for the plugin, the second for claude mcp add voice-mcp …. Leave voice_setup out, so installs still ask you first.
How it works
The server has two tools and two prompts:
| What it does | |
|---|---|
speak_and_listen | Speaks a short message, listens for one conversational turn and returns the transcript. |
voice_setup | Checks what's installed. After you agree, it installs only what's missing. |
setup prompt | A guided setup: it checks, asks you, installs, then runs a spoken test. |
voice_mode prompt | A hands-free session where Claude checks in by voice at natural points. |
Claude is told to write for the ear: short sentences, no markdown, file names instead of paths. Anything that slips through is rewritten before it's spoken. In Claude Code, the plugin keeps a voice conversation in voice until you type. More in Using it.
Troubleshooting
Run npx -y mac-voice-mcp@latest doctor first. It tests setup, the voice and transcription, and your speakers and mic, and tells you which part fails.
| Symptom | Fix |
|---|---|
| "microphone returned pure digital silence" | Allow the mic for the app (Claude, Cursor or your terminal) in System Settings → Privacy & Security → Microphone, then restart it. |
| It cuts me off while I'm thinking | Set VOICE_MCP_END_SILENCE_MS=2000. |
| The voice sounds robotic | Download a Premium macOS voice or install Kokoro. See Voices. |
| It asks for approval every turn | See Allow voice turns without prompts. |
More in Troubleshooting.
Documentation
- Install: every app, the MCP Registry, installing from a clone, upgrading.
- Voices: macOS Premium voices and the optional Kokoro voice.
- Using it: voice mode, talking while Claude works, Voice Buddy, several sessions.
- Configuration: every setting, and the speech models.
- Troubleshooting: common problems and known limitations.
- Privacy and security: what stays on your Mac, and how the project is secured.
- Development: building, testing and releasing.
- Changelog
🤖 Vibe-coded
This project was designed and written with Claude, in conversation. A human (me) steered it, tested it on a real Mac and checked the test suite, but most of the code was written by AI. Read the Disclaimer before you rely on it.
Disclaimer
mac-voice-mcp is a free, open-source personal project. It's provided as is, with no warranty of any kind, and the authors aren't liable for any damage or loss from using it. See the LICENSE for the exact terms. In plain words:
- It turns on your microphone whenever an AI assistant calls
speak_and_listen, and plays sound through your speakers. - Speech recognition makes mistakes. An assistant may act on a misheard word. Check what it heard before you let it do anything you can't undo, like deleting files, pushing code or sending messages.
- It installs software on your Mac, but only after you agree: Homebrew packages, and kokoro-js with npm if you choose the Kokoro voice. Those are separate projects, under their own licenses (below).
- There's no guaranteed support. Issues and pull requests are welcome, and fixed on a best-effort basis.
Trademarks. Apple, Mac, macOS and Siri are trademarks of Apple Inc. Claude is a trademark of Anthropic. mac-voice-mcp is an independent project, not affiliated with, sponsored or endorsed by Apple or Anthropic.
Third-party software
mac-voice-mcp doesn't bundle any of these. It uses them when they're on your Mac, and installs them only with your consent. Each one comes under its own license.
| Software | Used for | License |
|---|---|---|
| SoX | Recording from the mic, Kokoro playback | GPL-2.0 |
| whisper.cpp | Speech-to-text | MIT |
| Whisper models (OpenAI) | Speech-to-text | MIT |
macOS voices (say) | The built-in voice | Apple's macOS license |
| kokoro-js (optional) | The Kokoro voice | Apache-2.0 |
| Kokoro-82M model (optional) | The Kokoro voice | Apache-2.0 |
| espeak-ng (optional, inside kokoro-js) | Turning text into sounds for Kokoro | GPL-3.0 |
| ffmpeg (fallback, never installed by setup) | Recording, if SoX is missing | LGPL-2.1 / GPL |
License
MIT © Jeet
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.