Skip to main content
Glama
whisper-mcp-server

whisper-mcp-server

by Tapiocapioca
README.md
# whisper-mcp-server

FastMCP server for audio transcription using Whisper.

## Installation

### Via Smithery (Recommended)

```bash
npx -y @smithery/cli install @tapiocapioca/whisper-mcp-server --client claude
```

### Via pip (Manual)

```bash
pip install whisper-mcp-server
```

Then configure MCP:

```json
{
  "mcpServers": {
    "whisper": {
      "command": "python",
      "args": ["-m", "whisper_mcp"]
    }
  }
}
```

## Prerequisites

- Python 3.10+
- Whisper server running on localhost:9102

Start the container:

```bash
cd brainery-containers
docker-compose up -d whisper-server
```

## Tool

### transcribe_audio

Transcribe audio file using Whisper.

**Parameters:**
- `file_path` (required): Absolute path to audio file
- `language` (optional): Language code or 'auto' for detection (default: auto)
- `model` (optional): Whisper model size - tiny/base/small/medium/large (default: base)

**Supported formats:** MP3, M4A, WAV, OGG, FLAC, WEBM

**Returns:**
```json
{
  "text": "Transcribed text content...",
  "language": "en",
  "duration": 120.5,
  "segments": 15,
  "processing_time_ms": 3500
}
```

## Usage Example

```python
# Transcribe with auto language detection
result = transcribe_audio(
    file_path="/path/to/audio.mp3",
    language="auto",
    model="base"
)

# Transcribe Italian audio with larger model
result = transcribe_audio(
    file_path="/path/to/podcast.m4a",
    language="it",
    model="medium"
)
```

## License

MIT

TDQS

B3/5.0

Scored across 1 tool

Disambiguation5/5

With only a single tool exposed, there is no possibility of confusion or misselection between tools. The one tool has a clear, distinct purpose.

Naming Consistency5/5

The sole tool follows a clean snake_case verb_noun pattern (transcribe_audio). There is no mixed convention to flag.

Tool Count3/5

A single tool is a thin surface even for a narrow wrapper like Whisper, which naturally supports related operations. It is borderline but the tool itself is clearly scoped and earns its place.

Completeness3/5

Core transcription is covered, but obvious Whisper capabilities are absent: translation to English, language detection, and model or format selection. Agents needing those workflows will hit a dead end.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues