Skip to main content

MCP server for audio transcription via faster-whisper (local) or OpenAI Whisper API

Project description

whisper-transcribe-mcp

MCP server for audio transcription using faster-whisper (local, free, offline) or OpenAI Whisper API (cloud, requires API key).

Installation

Option A — uvx (no install needed, recommended)

# Local backend (downloads model on first use):
uvx "whisper-transcribe-mcp[local]"

# OpenAI backend:
uvx "whisper-transcribe-mcp[openai]"

# Both backends:
uvx "whisper-transcribe-mcp[all]"

Option B — pip

# Local backend:
pip install "whisper-transcribe-mcp[local]"

# OpenAI backend:
pip install "whisper-transcribe-mcp[openai]"

# Both:
pip install "whisper-transcribe-mcp[all]"

Configuration

Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json)

Local backend (default):

{
  "mcpServers": {
    "whisper-transcribe": {
      "command": "uvx",
      "args": ["whisper-transcribe-mcp[local]"],
      "env": {
        "WHISPER_MODEL": "base"
      }
    }
  }
}

OpenAI backend:

{
  "mcpServers": {
    "whisper-transcribe": {
      "command": "uvx",
      "args": ["whisper-transcribe-mcp[openai]"],
      "env": {
        "OPENAI_API_KEY": "sk-..."
      }
    }
  }
}

Claude Code

claude mcp add whisper-transcribe uvx -- "whisper-transcribe-mcp[local]"

Environment Variables

Variable Default Description
WHISPER_MODEL base Local model size: tiny, base, small, medium, large-v3
OPENAI_API_KEY If set, uses OpenAI Whisper API instead of local model

Tools

transcribe_file

Transcribe an audio file by path (mp3, wav, m4a, ogg, flac, etc.).

transcribe_base64

Transcribe audio provided as a base64-encoded string.

list_models

Show available models and current backend configuration.

Local Model Sizes

Model Size Speed Notes
tiny 39M ~32x Fastest
base 74M ~16x Good balance (default)
small 244M ~6x Better accuracy
medium 769M ~2x High accuracy
large-v3 1.5G ~1x Best accuracy

Models are downloaded automatically from HuggingFace on first use and cached locally.

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

whisper_transcribe_mcp-0.1.0.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

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

whisper_transcribe_mcp-0.1.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for whisper_transcribe_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 559d6b8ffa91b4f89840dceecbb14299f7d8104b8af851e846f2b4f65e19bb8f
MD5 6d7b5c27085aa21f50deecd88f48e58f
BLAKE2b-256 e6b8b12e9886fb6b6cbb7856941e60ea73a530438c760be7cb71110f756f9fe5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for whisper_transcribe_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6100d7ec026de882dd77e52ca518d22bab8a2c9a56cac3549ec96da30850eeed
MD5 877a97a79bcd7aaaa4c6a23d9df0afba
BLAKE2b-256 617032bff5e29c91912c6b6e6d8c8e22185a4c6395acb5a583dd576ab4edcf84

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