MCP Audio Transcriber
Enables containerized deployment of the transcription service, making it portable and providing a consistent runtime environment.
Provides audio file processing capabilities, allowing the transcription service to handle various audio formats like .wav, .mp3, .ogg, and .m4a.
Integrates with OpenAI's Whisper models to provide high-quality, multi-language audio transcription with options for different model sizes.
Offers a web-based user interface for uploading audio files, selecting model parameters, previewing transcriptions, and downloading results.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
MCP Audio Transcriber
A Dockerized Python tool that implements the Model Context Protocol (MCP) via AssemblyAI's API. Upload or point to an audio file, and receive a structured JSON transcription.
Features
AssemblyMCP: a concrete MCP implementation that uses AssemblyAI's REST API
Command-line interface (
app.py):python app.py <input_audio> <output_json>Streamlit web UI (
streamlit_app.py):Upload local files or paste URLs
Click Transcribe
Preview transcript and download JSON
Docker support for environment consistency and portability
Related MCP server: Fast-Whisper-MCP-Server
Prerequisites
Python 3.10+
An AssemblyAI API key
ffmpeg (for local decoding, if using local files)
(Optional) Docker Desktop / Engine
(Optional) Streamlit (
pip install streamlit)
š§ Installation
Clone the repo
git clone https://github.com/ShreyasTembhare/MCP---Audio-Transcriber.git cd MCP---Audio-TranscriberCreate a
.envASSEMBLYAI_API_KEY=your_assemblyai_api_key_hereEnsure
.gitignorecontains:.envInstall Python dependencies
pip install --upgrade pip pip install -r requirements.txtInstall ffmpeg
Ubuntu/Debian:
sudo apt update && sudo apt install ffmpeg -yWindows: download from https://ffmpeg.org and add its
bin/to your PATH
Usage
1. CLI Transcription
python app.py <input_audio> <output_json><input_audio>: any file or URL supported by AssemblyAI<output_json>: path for the generated JSON
Example:
python app.py data/input.ogg data/output.json
cat data/output.json2. Streamlit Web UI
streamlit run streamlit_app.pyUpload or enter an audio URL
Click Transcribe
Download the JSON result
3. Docker
Build the image:
docker build -t mcp-transcriber .Run it (mounting your data/ folder):
docker run --rm \
-e ASSEMBLYAI_API_KEY="$ASSEMBLYAI_API_KEY" \
-v "$(pwd)/data:/data" \
mcp-transcriber:latest \
/data/input.ogg /data/output.jsonThen inspect:
ls data/output.json
cat data/output.jsonWindows PowerShell:
docker run --rm `
-e ASSEMBLYAI_API_KEY=$env:ASSEMBLYAI_API_KEY `
-v "${PWD}\data:/data" `
mcp-transcriber:latest `
/data/input.ogg /data/output.jsonProject Structure
MCP-Audio-Transcriber/
āāā app.py # CLI entrypoint (AssemblyMCP only)
āāā mcp.py # ModelContextProtocol + AssemblyMCP
āāā streamlit_app.py # Streamlit interface
āāā requirements.txt # assemblyai, python-dotenv, streamlit, etc.
āāā Dockerfile # builds the container
āāā .gitignore # ignores .env, __pycache__, etc.
āāā LICENSE # MIT license
āāā data/ # sample input and output
āāā input.ogg
āāā output.jsonThis server cannot be deployed
Maintenance
Related MCP Connectors
Whisper speech to text for podcast, audio and video URLs, 90+ languages, timestamped output.
Transcribe audio and video and work with your transcript library from any AI app. 119 languages.
Transcribes audio and video files to text, SRT, VTT and timestamped chunks for RAG.
Audio, video and podcast feeds to text with Whisper. Timestamps, SRT/VTT, 99 languages. Per minute.
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceEnables high-performance audio transcription using Faster Whisper with CUDA acceleration, supporting single and batch audio file processing with multiple output formats (VTT, SRT, JSON).-
- FlicenseNot gradedqualityDmaintenanceA high-performance speech recognition MCP server based on Faster Whisper, providing efficient audio transcription capabilities with support for multiple model sizes, batch processing, and various output formats.17-
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol (MCP) server that gives AI agents the ability to process audio files ā transcribe speech to text, detect spoken languages, and extract audio metadata.1-
- AlicenseAqualityBmaintenanceProvides local audio transcription using whisper.cpp, supporting multiple models and audio formats. Enables transcription of audio files via MCP tools with optional timestamps.394 npm3MIT