Claude Voice Commands

Claude Voice Commands

Enables natural voice interaction with Claude Code through speech-to-text, supporting wake word activation and multiple backends like Whisper and Google. It allows users to execute commands and control their coding environment hands-free via their microphone.

Category
Visit Server

README

Claude Voice Commands

Enable natural voice interaction with Claude Code through MCP (Model Context Protocol).

Features

  • 🎤 Voice-to-text commands - Speak naturally to Claude Code
  • 🔊 Wake word activation - "Hey Claude" to start listening
  • 🚀 Low latency - Sub-second response with Google Speech Recognition
  • 🔄 Multiple backends - Google, Whisper, and OpenAI Realtime support
  • 📝 Command queue - Handle multiple rapid commands
  • 🛡️ Privacy-focused - Only listens when activated

Quick Start

Prerequisites

  • Python 3.8+
  • macOS, Windows, or Linux
  • Working microphone
  • Claude Desktop app

Installation

  1. Clone the repository:
git clone https://github.com/JWitcoff/Claude_Chat.git
cd Claude_Chat
  1. Create virtual environment:
python3 -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
  1. Install dependencies:
pip install -r requirements.txt
  1. Test your microphone:
python tests/test_microphone.py
  1. Configure Claude Desktop (Sprint 2+): Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
  "mcpServers": {
    "voice-commands": {
      "command": "python",
      "args": ["-m", "mcp_server.voice_server"],
      "cwd": "/path/to/Claude_Chat",
      "env": {
        "PYTHONPATH": "/path/to/Claude_Chat"
      }
    }
  }
}
  1. Restart Claude Desktop

Usage

Basic Commands

Say to Claude Code:

  • "Activate voice mode" - Start continuous listening
  • "Stop voice mode" - Stop listening
  • "Hey Claude, [command]" - Wake word activation

Example Interactions

You: "Activate voice mode"
Claude: ✅ Voice mode activated

You: "Create a Python function to sort a list"
Claude: [Creates the function]

You: "Now add error handling to it"
Claude: [Modifies the code]

You: "Stop voice mode"
Claude: ✅ Voice mode deactivated

Configuration

Create a .env file:

# Recognition Settings
VOICE_BACKEND=google        # Primary: google, whisper, openai
VOICE_ENERGY_THRESHOLD=4000 # Microphone sensitivity
WAKE_WORDS=hey claude,claude

# Optional API Keys (for premium features)
OPENAI_API_KEY=sk-...       # For ultra-low latency

Development

See ROADMAP.md for the development plan and CLAUDE.md for Claude Code guidance.

Current Status

  • Sprint 0: Project Setup ✅
  • Sprint 1: Basic Voice Capture (In Progress)

Troubleshooting

Microphone Issues

# List available microphones
python -c "import speech_recognition as sr; print(sr.Microphone.list_microphone_names())"

# Calibrate for ambient noise
python tests/calibrate_mic.py

Recognition Issues

  • Speak clearly and at normal pace
  • Reduce background noise
  • Adjust VOICE_ENERGY_THRESHOLD in .env

License

MIT

Contributing

See CONTRIBUTING.md for guidelines.

Acknowledgments

  • Google Speech Recognition API
  • OpenAI Whisper
  • FastMCP for MCP integration

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured