🎙️ mac-voice-mcp
Talk with Claude out loud on your Mac.
Natural turn-taking · on-device speech recognition · no audio leaves your computer
[npm version]
[npm downloads]
[Tests]
[Security]
[CodeQL]
[Platform: macOS, Apple Silicon]
[MCP server]
[Node.js 22+]
[License: MIT]
[Dependabot enabled]
[Vibe-coded with Claude]
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.
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.
- 📞 Calls. Run
/mac-voice-mcp:call and the mic stays open until you hang up: talk whenever you like, while Claude works or waits. With headphones you can talk over Claude, and an optional floating bubble shows the call with mute and hang up (more).
- 💬 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). A one-line status above the prompt shows when Claude is speaking or listening, your first keystroke interrupts it, and on a call it hands your words to Claude while it waits.
- 🪟 One mic, many windows. Claude Code, Claude Desktop and Cursor take turns instead of talking over each other.
- 📏 Measured, not guessed.
doctor checks 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:
Voice Buddy is optional: it adds a one-line voice status above the prompt and lets you interrupt by typing (more).
-
Cursor or VS Code: [Add to Cursor] [Install in VS Code]
-
Claude Desktop and other apps: add npx -y mac-voice-mcp@latest as 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.
Or start a call with /mac-voice-mcp:call and talk like on the phone; say "hang up" to end it.
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:
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:
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.
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 for the whole of a call, until you hang up. It 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.
License
MIT © Jeet