Related MCP Server Resources

Explore more AI models, providers, and integration options:

  • Explore AI Models
  • Explore AI Providers
  • Explore MCP Servers
  • LangDB Pricing
  • Documentation
  • AI Industry Blog
  • doc-lib-mcp
  • Powertools MCP Search Server
  • MCP Model Context Protocol Server
  • Image Generation MCP Server
  • IR Toolshed MCP Server
Back to MCP Servers
MCP Audio Transcriber

MCP Audio Transcriber

Public
ShreyasTembhare/MCP---Audio-Transcriber

A portable, Dockerized Python tool that implements Model Context Protocol for audio transcription using Whisper models, featuring both CLI and web UI interfaces for converting audio files to JSON transcriptions.

Verified
python
0 tools
May 29, 2025
Updated May 30, 2025

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

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

  1. Clone the repo

    git clone https://github.com/ShreyasTembhare/MCP---Audio-Transcriber.git cd MCP---Audio-Transcriber
  2. Create a .env

    ASSEMBLYAI_API_KEY=your_assemblyai_api_key_here
    
  3. Ensure .gitignore contains:

    .env
  4. Install Python dependencies

    pip install --upgrade pip pip install -r requirements.txt
  5. Install ffmpeg

    • Ubuntu/Debian: sudo apt update && sudo apt install ffmpeg -y
    • Windows: download from https://ffmpeg.org and add its bin/ to your PATH

Usage

1. CLI Transcription

python app.py
  • ``: any file or URL supported by AssemblyAI
  • ``: path for the generated JSON

Example:

python app.py data/input.ogg data/output.json cat data/output.json

2. Streamlit Web UI

streamlit run streamlit_app.py
  • Open http://localhost:8501
  • Upload 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.json

Then inspect:

ls data/output.json cat data/output.json

Windows PowerShell:

docker run --rm ` -e ASSEMBLYAI_API_KEY=$env:ASSEMBLYAI_API_KEY ` -v "${PWD}\data:/data" ` mcp-transcriber:latest ` /data/input.ogg /data/output.json

Project 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.json
Publicly Shared Threads0

Discover shared experiences

Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!

Share your threads to help others
Related MCPs5
  • doc-lib-mcp
    doc-lib-mcp

    A Model Context Protocol server for ingesting, chunking and semantically searching documentation fil...

    Added May 30, 2025
  • Powertools MCP Search Server
    Powertools MCP Search Server

    Enables LLMs to search through AWS Lambda Powertools documentation across multiple runtimes (Python,...

    2 tools
    Added May 30, 2025
  • MCP Model Context Protocol Server
    MCP Model Context Protocol Server

    A server implementation demonstrating how AI models can interact with external tools and services th...

    Added May 30, 2025
  • Image Generation MCP Server
    Image Generation MCP Server

    A Model Context Protocol server that enables generation of high-quality images using the Flux.1 Schn...

    1 tools
    Added May 30, 2025
  • IR Toolshed MCP Server
    IR Toolshed MCP Server

    A Model Context Protocol server that provides network analysis tools for security professionals, ena...

    Added May 30, 2025