mcpField
T
Transcription MCP Sever

Transcription MCP Sever

Local
github.com/Charisma2595Media & Design0Updated 61w ago

About Transcription MCP Sever

Transcription MCP Sever is an MCP server that converts MP3 audio into JSON transcripts using the AssemblyAI API. It is aimed at podcasters, educators, and business teams, with segment timestamps, speaker labels, and command-line or Docker usage.

Key features

  1. 01Transcribe MP3 files with AssemblyAI
  2. 02Create JSON transcripts with timestamps
  3. 03Label individual speakers
  4. 04Submit file paths via CLI or AI assistants
  5. 05Save transcripts to a local directory
  6. 06Run in Docker

Use cases

  1. 01Create transcripts for podcast audio
  2. 02Add segment timestamps to educational audio
  3. 03Organize speakers in meeting or business recordings
  4. 04Run the transcription service in Docker

MCP support

The server provides MP3 transcription to AI assistants, accepting file paths and producing JSON transcripts with timestamps and speaker labels.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

Transcription MCP Sever

An MCP (Model-Context-Protocol) server for transcribing MP3 audio files using the AssemblyAI API. This server provides command-line and Docker-based tools to transcribe audio. this application can be use by Podcasters, Content Creator, Educators and Business Teams making thier task more easier.

Features

  • Accepts .mp3 files via command-line interface
  • Accepts .mp3 file path provided via an AI assistant such as Claude or Cursor.
  • Transcribe MP3 audio files into JSON transcripts using AssemblyAI API
  • Timestamps for each transcribed segment with start and end times
  • Speaker diarization (speaker labels) enabled
  • Save transcripts in a local "transcripts/" directory
  • ready to run in a Docker container for portability and deployment

System Architecture Overview

This application is a microservice designed to transcribe audio files using AssemblyAI.

Architecture Breakdown
  • Uvicorn as MCP Server Runtime: Uvicorn runs the server process, acting as the entry point for executing transcription jobs.
  • AssemblyAI Client: This component handles all communication with the AssemblyAI API.
  • CLI via Google Fire: The application includes a robust command-line interface built with Google Fire. Users can transcribe audio files directly from the terminal
  • Dockerized Environment: While the server can be run directly on a local machine, it also includes a lightweight Docker configuration for users who prefer containerized deployment.

Getting started

Prerequisites
  • Python 3.10+ (its Stable, popular, well-supported)
  • Uvicorn (Lightweight ASGI server )
  • Google Fire ( CLI Framework, Makes CLI creation simple and powerful)
  • AssemblyAI API key (API Interface, sign up at https://www.assemblyai.com/)
  • Docker (optional, for containerized usage. Ensures consistent, portable deployment)
Installation
  1. Clone the repository:
git clone <your-repo-url>
cd <repo-folder> 
  1. Install dependencies:
pip install -r requirements.txt
  1. Set your AssemblyAI API key as an environment variable:
export API_KEY="your_assemblyai_api_key"   # Linux / macOS
set API_KEY="your_assemblyai_api_key"      # Windows CMD

Usage

Inspec With MCP Dev

Run This Command To Inspect And Test The Fuctionality Of Your Tool on a Web Ui.

uv run mcp dev mcp/server_transcription.py
connect and test server_transcription

Run the command to connect with claude

uv run mcp install mcp\server_transcription.py

Json Format

when connecting with an AI assitant like claude or cursor, the config should be in this jason format.

{
  "mcpServers": {
    "Audio Transcription Service": {
      "command": "C:\\Users\\HomePC\\Desktop\\mcp_task2\\.venv\\Scripts\\python.exe",
      "args": [
        "-u",
        "C:\\Users\\HomePC\\Desktop\\mcp_task2\\mcp\\server_transcription.py"
      ],
      "env": {
        "API_KEY": "<input-your-api-key-here>"
      }
    }
  }
}

test client_transcription

Run the command

python  mcp\client_transcription.py "path/to/audio/file"

Docker Usage

Build Docker Image

docker build -t transcription-service -f run_with_docker/Dockerfile .

Run Docker Container

set API_KEY="your-api-key-here"

docker run -d -p 8050:8050 -e API_KEY=%API_KEY% -v C:\Users:/mnt/users -v %CD%\transcripts:/app/transcripts -v %CD%\logs:/app/logs --dns 8.8.8.8 --name transcription-server transcription-service

run client

python run_with_docker\client.py "path/to/audio/file"

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.