Minimal MCP server for local speech recognition using faster-whisper
Project description
simple-asr-mcp
Minimal MCP server for local speech recognition using faster-whisper. Runs on CPU, no cloud required.
Installation
pipx install simple-asr-mcp
Or with pip:
pip install simple-asr-mcp
Requirements
- Python 3.10+
- ffmpeg (required by faster-whisper for audio decoding)
On Windows, install ffmpeg via winget:
winget install Gyan.FFmpeg
Quick Setup (for Claude Code agents)
Run these two commands — no user interaction required:
pipx install simple-asr-mcp
claude mcp add asr --scope user -- simple-asr-mcp
Then ask the user to restart Claude Code or run /mcp to reconnect.
Usage
CLI
# Transcribe an audio file
simple-asr-mcp transcribe recording.wav
# Specify language and model
simple-asr-mcp transcribe recording.wav --language ru --model medium
# List available models
simple-asr-mcp models
MCP Server (Claude Code)
MCP tools available after setup:
- transcribe_file — transcribe any audio file by path
- list_models — see available Whisper models
Configuration
Environment variables:
| Variable | Default | Description |
|---|---|---|
WHISPER_MODEL |
small |
Default Whisper model |
WHISPER_DEVICE |
cpu |
Device: cpu, cuda, or auto |
WHISPER_COMPUTE_TYPE |
int8 |
Quantization type |
Example with custom config:
claude mcp add asr --scope user -e WHISPER_MODEL=medium -e WHISPER_DEVICE=cuda -- simple-asr-mcp
Available Models
| Model | Size | RAM (est.) |
|---|---|---|
| tiny | 75 MB | ~1 GB |
| base | 142 MB | ~1 GB |
| small | 466 MB | ~2 GB |
| medium | 1.5 GB | ~5 GB |
| large-v3 | 3.1 GB | ~10 GB |
The model is downloaded automatically on first use and cached locally. It stays in memory until the MCP server process exits.
Supported Audio Formats
Any format supported by ffmpeg: wav, mp3, flac, ogg, m4a, wma, etc.
Links
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file simple_asr_mcp-0.1.2.tar.gz.
File metadata
- Download URL: simple_asr_mcp-0.1.2.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f55acd6c1cc2bebe5af9bb46dedfd8e97b7e315e9083f4b4d5eca3f565bf7713
|
|
| MD5 |
c34366c804511b63462c80f244f1e49a
|
|
| BLAKE2b-256 |
7204cbffe90df297532e4bba2aad07b35a9f1c266d37ac497e718db73b473b29
|
File details
Details for the file simple_asr_mcp-0.1.2-py3-none-any.whl.
File metadata
- Download URL: simple_asr_mcp-0.1.2-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9ab067e068be39b28c9130bb04a33a3769d6d748cfade9949db484241b08cede
|
|
| MD5 |
23073b01abbc57adfc8d8979945ed1e3
|
|
| BLAKE2b-256 |
926be060a7c3760498ffc9d04b602a78adb4d64af698e18425436de4f5fb253f
|