Skip to main content

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

Metadata

Release files for simple-asr-mcp 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for simple-asr-mcp 0.1.2
File Size Uploaded Provenance
simple_asr_mcp-0.1.2.tar.gz 7.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for simple-asr-mcp 0.1.2
File Interpreter ABI Platform
simple_asr_mcp-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 13.0 kB

Release files / simple_asr_mcp-0.1.2.tar.gz

Download URL simple_asr_mcp-0.1.2.tar.gz
Size 7.2 kB
Tags Source
SHA-256 checksum
How to use checksums
f55acd6c1cc2bebe5af9bb46dedfd8e97b7e315e9083f4b4d5eca3f565bf7713
BLAKE2b-256 checksum
How to use checksums
7204cbffe90df297532e4bba2aad07b35a9f1c266d37ac497e718db73b473b29
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

Release files / simple_asr_mcp-0.1.2-py3-none-any.whl

Download URL simple_asr_mcp-0.1.2-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9ab067e068be39b28c9130bb04a33a3769d6d748cfade9949db484241b08cede
BLAKE2b-256 checksum
How to use checksums
926be060a7c3760498ffc9d04b602a78adb4d64af698e18425436de4f5fb253f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

Security for simple-asr-mcp 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page