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 |
| Push-to-talk | Hold hotkey to record, release to transcribe |
| Cross-platform | macOS, Linux, Windows |
| Privacy first | No audio or text sent to external services |
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:
- Audio is processed in memory and immediately discarded
- Uses Moonshine ONNX for fast local inference
- Keyboard injection or clipboard fallback
- Native system sounds for audio feedback
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 |
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.
- Python 3.10-3.13
- ~200MB disk space for STT model
- Microphone access
| Platform | Additional Requirements |
|---|---|
| macOS | Accessibility permissions (System Settings > Privacy & Security) |
| Linux | xdotool for window management; X11 recommended (Wayland has limitations) |
| 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 |
Set CLAUDE_STT_LOG_LEVEL=DEBUG to get verbose logs when starting the daemon.
All processing is local:
- Audio captured from your microphone is processed entirely on-device
- Moonshine runs locally — no cloud API calls
- Audio is never sent anywhere, never stored (processed in memory, discarded)
- Transcribed text only goes to Claude Code input or clipboard
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-sttSee CONTRIBUTING.md for guidelines.
- Bump versions in
pyproject.toml,.claude-plugin/plugin.json,.claude-plugin/marketplace.json - Update
CHANGELOG.md - Run tests:
uv run python -m unittest discover -s tests - Verify onboarding in Claude Code (
/plugin install,/claude-stt:setup)
MIT — see LICENSE
