Skip to main content

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)

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

Tools

  • 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.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

simple_asr_mcp-0.1.0.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

simple_asr_mcp-0.1.0-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file simple_asr_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: simple_asr_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for simple_asr_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 862246e33b544539b32fa58011ddf76bbbdfcea9575e44deca11ea65295b33af
MD5 9fbbba7ca11e97aa61a5a337877ecc39
BLAKE2b-256 f91ddb26c94a2372244c31b7109aa692972ce732f02369019d721def02336ecb

See more details on using hashes here.

File details

Details for the file simple_asr_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: simple_asr_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for simple_asr_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1b0ea4a59e036c2e104f413bc7e7be5df823cf357e03747e0357de93e9982228
MD5 9d73bffbab5f5180d4a565deffdd90b0
BLAKE2b-256 839d088107069799a61fc29872d13b1e35fa8e85e95ec89088eea725ad05eb7d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page