A community-driven registry for Claude, Cursor, Windsurf, Cline & more. Not affiliated with Anthropic.
Are you the author? Sign in to claim
MCP server plugin for voice input and output in Claude Code
Voice Mode for Claude Code allows you to have a continuous two-way conversation with Claude Code, hands-free.
It uses the new Claude Code hooks to deliver voice input to Claude while it works.
This lets you speak continuously to Claude - interrupt, redirect, or provide feedback without stopping what Claude is doing.
Optionally enable text-to-speech to have Claude speak back to you.
Voice recognition and text-to-speech are handled by the browser, so there is nothing to download, and no API keys are needed.
claude --version to check)Installation is easy.
npm install -g @anthropic-ai/claude-code
Add the following to any Claude Code settings file (~/.claude/settings.json, .claude/settings.json, or .claude/settings.local.json):
{
"extraKnownMarketplaces": {
"mcp-voice-hooks-marketplace": {
"source": {
"source": "git",
"url": "https://github.com/johnmatthewtennant/mcp-voice-hooks.git"
}
}
},
"enabledPlugins": {
"mcp-voice-hooks-plugin@mcp-voice-hooks-marketplace": true
}
}
Restart Claude Code. Set "mcp-voice-hooks-plugin@mcp-voice-hooks-marketplace" to false to temporarily disable.
claude
The browser interface will automatically open after 3 seconds (http://localhost:5111).
Click "Start Listening"
Say something to Claude. You will need to send one message in the Claude Code CLI to start the conversation.
By default, utterances are sent automatically when you pause. You can switch to "Wait for Trigger Word" mode in the browser interface:
The trigger word is case-insensitive and will be automatically removed from your message before sending.
There are two options for voice responses:
Mac has built-in text to speech, but high quality voices are not available by default.
You can download high quality voices from the system voice menu: System Settings > Accessibility > Spoken Content > System Voice
Click the info icon next to the system voice dropdown. Search for "Siri" to find the highest quality voices. You'll have to trigger a download of the voice.
Once it's downloaded, you can select it in the Browser Voice (Local) menu in Chrome.
Test it with the bash command:
say "Hi, this is your Mac system voice"
To use Siri voices with voice-hooks, you need to set your system voice and select "Mac System Voice" in the voice-hooks browser interface.
Other downloaded voices will show up in the voice dropdown in the voice-hooks browser interface so you can select them there directly, instead of using the "Mac System Voice" option.
There is a bug in Safari that prevents browser text-to-speech from loading high-quality voices after browser restart. This is a Safari Web Speech API limitation. To use high-quality voices in Safari you need to set your system voice to Siri and select "Mac System Voice" in the voice-hooks browser interface.
Remove the extraKnownMarketplaces and enabledPlugins entries from your settings file and restart Claude Code.
If you prefer not to use the plugin system, you can install manually:
npx mcp-voice-hooks@latest install-hooks
claude mcp add voice-hooks npx mcp-voice-hooks@latest
To uninstall:
claude mcp remove voice-hooks
npx mcp-voice-hooks uninstall
The default port is 5111. To use a different port, set the MCP_VOICE_HOOKS_PORT environment variable in your project's .claude/settings.local.json:
{
"env": {
"MCP_VOICE_HOOKS_PORT": "8080"
}
}
This environment variable is used by both:
Note: Setting this in .claude/settings.local.json is the recommended approach. The environment variable will be available to both the MCP server process and the hook commands.
Browsers block microphone access on insecure origins. HTTPS is enabled automatically — the server generates a self-signed certificate on first startup and serves HTTPS on port 5112 (HTTP port + 1).
To access from another device, open https://<your-hostname>.local:5112 and accept the self-signed certificate warning in the browser.
To customize the HTTPS port:
{
"env": {
"MCP_VOICE_HOOKS_HTTPS_PORT": "8443"
}
}
To regenerate the certificate (e.g., after a hostname change), delete the certs/ directory and restart, or run ./scripts/generate-certs.sh.
When running in MCP-managed mode, the browser will automatically open if no frontend connects within 3 seconds. To disable this behavior:
{
"env": {
"MCP_VOICE_HOOKS_AUTO_OPEN_BROWSER": "false"
}
}
Intelligent prompt improver hook for Claude Code. Type vibes, ship precision.
A toolkit of custom commands, hooks, and utilities for Claude Code
Give Claude Code memory that evolves with your codebase via hooks and LLM-compiled knowledge
Blocks dangerous git and shell commands from being executed by AI coding agents