Voice-to-text plugin marketplace for Claude Code
npx claudepluginhub ojassurana/claudemicVoice-to-text MCP plugin for Claude Code using OpenAI Whisper
Voice-to-text plugin for Claude Code. Speak into your microphone and get transcribed text back in Claude using OpenAI Whisper.
git clone https://github.com/ojassurana/ClaudeMic.git
cd ClaudeMic
pip install -r requirements.txt
You can use any package manager you prefer (uv, conda, etc.) — just make sure the dependencies in requirements.txt are installed in the Python environment that python3 resolves to.
Start Claude Code with the plugin:
claude --plugin-dir /path/to/ClaudeMic
Tell Claude your OpenAI API key:
"Set up my mic with API key sk-..."
Or set OPENAI_API_KEY as an environment variable to skip this step.
Say any of the following to Claude:
Claude will activate your microphone, record until you stop speaking, transcribe the audio, and use the text directly.
"check mic status"
Reports whether your API key is configured and an audio input device is available.
The plugin exposes three MCP tools:
| Tool | Description |
|---|---|
listen | Records a single utterance from the mic and returns transcribed text. Optional timeout parameter (default 60s). |
setup | Saves an OpenAI API key to ~/.claudemic/config.json. |
status | Checks API key configuration and audio input device availability. |
Your terminal app (Terminal, iTerm, Warp, etc.) needs Microphone access:
System Settings > Privacy & Security > Microphone — enable your terminal app.
ClaudeMic runs as an MCP server over stdio. Claude Code manages the server lifecycle automatically — no background daemons or hotkeys involved.
scripts/run-server.shlisten toolsounddevice"python3 not found" — Install Python 3.10+ and ensure python3 is on your PATH.
"No speech detected within timeout" — Check that your mic is working and your terminal has microphone permission. Try increasing the timeout: the listen tool accepts a timeout parameter.
"API key not configured" — Tell Claude "set up my mic with API key sk-..." or export OPENAI_API_KEY.
"ModuleNotFoundError" — Dependencies are missing. Run pip install -r requirements.txt from the ClaudeMic directory.