by jarrodwatts
Speech-to-text input for Claude Code with live streaming dictation
# Add to your Claude Code skills
git clone https://github.com/jarrodwatts/claude-sttNative voice/STT support has been officially added to Claude Code via the /voice command — use that instead. This repo is no longer maintained.
Speech-to-text input for Claude Code. Hold a hotkey, speak, and your words appear in the input field — all processed locally.

Inside a Claude Code instance, run the following commands:
Step 1: Add the marketplace
/plugin marketplace add jarrodwatts/claude-stt
Step 2: Install the plugin
/plugin install claude-stt
Step 3: Run setup
/claude-stt:setup
Done! Press Ctrl+Shift+Space to start recording, press again to stop and transcribe.
Note: Setup installs dependencies (uv if available, otherwise a local
.venv), downloads the Moonshine model (~200MB), and checks microphone permissions.
Claude STT gives you voice input directly into Claude Code. No typing required — just speak naturally.
| What You Get | Why It Matters | |--------------|----------------| | Local processing | All audio processed on-device using Moonshine STT | | Low latency | ~400ms transcription time | | | Hold hotkey to record, release to transcribe | | | macOS, Linux, Windows | | | No audio or text sent to external services |
No comments yet. Be the first to share your thoughts!
Press Ctrl+Shift+Space → start recording
↓
Audio captured from microphone
↓
Press Ctrl+Shift+Space → stop recording
↓
Moonshine STT processes locally (~400ms)
↓
Text inserted into Claude Code input
Key details:
Customize your settings anytime:
/claude-stt:config
| Option | Values | Default | Description |
|--------|--------|---------|-------------|
| hotkey | Key combo | ctrl+shift+space | Trigger recording |
| mode | toggle, push-to-talk | toggle | Press to toggle vs hold to record |
| engine | moonshine, whisper | moonshine | STT engine |
| moonshine_model | moonshine/tiny, moonshine/base, other Moonshine model IDs | moonshine/base | Model size |
| output_mode | auto, injection, clipboard | auto | How text is inserted |
| sound_effects | true, false | true | Play audio feedback |
| max_recording_seconds | 1-600 | 300 | Maximum recording duration |
Settings stored in ~/.claude/plugins/claude-stt/config.toml.
| Platform | Additional Requirements | |----------|------------------------| | macOS | Accessibility permissions (System Settings > Privacy & Security) | | Linux | xdotool for window management; X11 recommended (Wayland has limitations); WSL not supported | | Windows | pywin32 for window tracking |
| Command | Description |
|---------|-------------|
| /claude-stt:setup | First-time setup: check environment, install deps, download model |
| /claude-stt:start | Start the STT daemon |
| /claude-stt:stop | Stop the STT daemon |
| /claude-stt:status | Show daemon status and readiness checks |
| /claude-stt:config | Change settings |
You can also use the CLI directly:
claude-stt setup
claude-stt start --background
| Issue | Solution |
|-------|----------|
| No audio input | Check microphone permissions in system settings |
| Keyboard injection not working | macOS: Grant Accessibility permissions. Linux: Ensure xdotool installed |
| Model not loading | Run /claude-stt:setup to download. Check disk space (~200MB) |
| Hotkey test fails during setup | Fix permissions or rerun /claude-stt:setup --skip-hotkey-test to continue setup |
| Whisper dependencies missing | Run /claude-stt:setup --with-whisper, or uv sync --directory $CLAUDE_PLUGIN_ROOT --extra whisper, or python $CLAUDE_PLUGIN_ROOT/scripts/exec.py -m pip install .[whisper] |
| Hotkey not triggering | Check for conflicts with other apps. Try /claude-stt:config to change hotkey |
| Text going to wrong window | Plugin tracks original window — ensure Claude Code was focused when recording started |
| Running under WSL | Not supported; use native Windows or Linux |
Set CLAUDE_STT_LOG_LEVEL=DEBUG to get verbose logs when starting the daemon.
All processing is local:
No telemetry or analytics.
git clone https://github.com/jarrodwatts/claude-stt
cd claude-stt
# Install dependencies (uv preferred, falls back to local venv)
python scripts/setup.py --dev --skip-audio-test --skip-model-download --no-start
# Test locally without installing
claude --plugin-dir /path/to/claude-stt
See CONTRIBUTING.md for guidelines.
pyproject.toml, .claude-plugin/plugin.json, .claude-plugin/marketplace.jsonCHANGELOG.mduv run python -m unittest discover -s tests/plugin install, /claude-stt:setup)MIT — see LICENSE