Skip to main content
Glama

assemblyai-mcp

An MCP server for the AssemblyAI API. Transcription, subtitles, speaker turns, word search and the LLM Gateway, exposed as tools an agent can call.

Written because I needed one and there wasn't one.

Install

Not on npm yet, so it installs from here. npm clones it and runs the build itself.

npm install -g github:karpovantonme/assemblyai-mcp

Claude Code:

claude mcp add assemblyai -e ASSEMBLYAI_API_KEY=your-key -- npx -y github:karpovantonme/assemblyai-mcp

Anything else that speaks MCP over stdio:

{
  "mcpServers": {
    "assemblyai": {
      "command": "npx",
      "args": ["-y", "github:karpovantonme/assemblyai-mcp"],
      "env": { "ASSEMBLYAI_API_KEY": "your-key" }
    }
  }
}

Keys come from the dashboard.

Related MCP server: audio-transcription-mcp

Tools

Tool

What it does

upload_file

Upload a local audio or video file and get a URL transcribe accepts

transcribe

Transcribe audio or video from a URL. Waits for the result by default

get_transcript

Fetch a transcript by id, with its status if it is still running

list_transcripts

Recent transcripts on the account

get_subtitles

SRT or VTT for a completed transcript

search_transcript

Where words are spoken, with counts and timestamps

get_speaker_turns

Who said what, when the transcript was made with speaker_labels

ask_transcript

Answer a question from one or more transcripts, through the LLM Gateway

summarize_transcript

Summarise transcripts through the LLM Gateway

LeMUR is gone, and this uses what replaced it

/lemur/v3/generate/* answers 404 Not found. The work moved to the LLM Gateway, an OpenAI-shaped endpoint on its own host, and the two tools that reason over transcripts go there. One difference matters to a caller: LeMUR took transcript ids and fetched the text itself, the gateway takes text, so this server fetches each transcript and caps it before building the prompt.

qwen3.5-4b-32k-fast is the default because it answers on a free account. Pass model for anything else. A model your account cannot use comes back as a 200 with the refusal inside the body, so it is read out and raised rather than returned as an empty answer.

Three decisions worth knowing about

transcribe waits. An agent handed a job id and a queued status has to invent a polling loop, and it usually invents a bad one: fixed interval, no ceiling, no message when it gives up. Waiting is what the caller meant. Pass wait: false if you actually want the id. On timeout the error says the transcript is not lost and names the tool that will fetch it.

Long output is capped and says so. Transcripts run to hundreds of kilobytes. A tool that returns all of it spends the context window on text the agent is about to summarise anyway. Anything that can run long takes a limit and reports how much it trimmed, rather than silently truncating.

Milliseconds become seconds. The API speaks milliseconds, which is right for an API and wrong for a model writing an answer a person will read. Timestamps come out as seconds with one decimal.

Development

npm install
npm run build
npm test

The API client (src/api.ts) knows nothing about MCP and takes an injected fetch, so the tests run against a scripted transport with no network and no key.

All 9 tools have also been run end to end against the live API, installed from this repository rather than from the working copy: upload of a 4.3 MB file, transcription with speaker labels, SRT and VTT, word search, speaker turns, both gateway calls, and the listing. That run is what found the two defects the scripted tests could not: the word-search endpoint returns a JSON object under content-type: text/html, and LeMUR no longer exists. The tests cover what tends to break in a thin API wrapper: the key never reaching a URL, ids being escaped so a hostile id cannot reshape the path, non-JSON responses (subtitles arrive as text), error bodies surfacing the sentence the API wrote instead of a bare status, and the polling loop stopping on both completed and error.

Note for AssemblyAI

If any of this is useful to you, take it. It is MIT, and it is yours to fork, rename, absorb or throw away. If you would rather have it as a first-party server, I am happy to help get it there.

MIT.

Available Tools

9 tools
ask_transcriptC

Ask a question answered from one or more transcripts.

Inputs: question (required), transcript_ids (required), model.

get_speaker_turnsB

Get who said what, for a transcript made with speaker_labels.

Inputs: transcript_id (required), max_turns.

get_subtitlesA

Get SRT or VTT subtitles for a completed transcript.

Inputs: format (required), transcript_id (required), chars_per_caption.

get_transcriptA

Fetch a transcript by id, including its status if it is still running.

Inputs: transcript_id (required), max_characters.

list_transcriptsB

List recent transcripts on the account.

Inputs: limit, status.

search_transcriptA

Find where words are spoken in a transcript. Returns counts and timestamps.

Inputs: words (required), transcript_id (required).

summarize_transcriptC

Summarise one or more transcripts.

Inputs: transcript_ids (required), model, context, answer_format.

transcribeB

Transcribe an audio or video file from a URL. Waits for the result by default.

Inputs: audio_url (required), wait, auto_chapters, language_code, +2 more.

upload_fileA

Upload a local audio or video file and get a URL that transcribe accepts.

Inputs: file_path (required), max_size_mb.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 9 tools

    Disambiguation5/5

    Each tool targets a distinct part of the transcription workflow: upload, transcribe, retrieve, list, subtitles, search, speaker turns, Q&A, and summarization. Even the two transcript-based text tools, ask_transcript and summarize_transcript, are clearly separated by their descriptions.

    Naming Consistency4/5

    Almost all tools follow a clear verb_noun pattern (upload_file, get_transcript, list_transcripts, ask_transcript). The only minor deviation is 'transcribe', which is a bare verb without an explicit object, but it remains predictable given the server's purpose.

    Tool Count5/5

    Nine tools is a well-scoped set for a transcription-focused MCP server. Each tool earns its place, covering the main AssemblyAI features without unnecessary duplication or bloat.

    Completeness4/5

    The set covers the core lifecycle well: upload, transcribe, retrieve, list, subtitles, and several post-processing features. The main gap is the absence of a delete_transcript tool, which prevents full CRUD coverage, but agents can still complete typical transcription workflows.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers