SpeechWeave

v1.10.0
io.github.speechweave/mcp Checked 4 days ago Published 1 month ago

Transcribe local files and URLs with SpeechWeave's OpenAI-compatible Speech-to-Text API.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

transcribe_file Transcribe local file (sync)

Upload a local audio/video file and wait until transcription finishes. Prefer for short/medium clips when you need the transcript in this turn. Pass an absolute filesystem path (never raw binary). Set task='translate' to get an English translation instead of a same-language transcript. Pass output_file (absolute path) to save the transcript to disk instead of returning it, which keeps long transcripts out of context. On wait timeout, returns job_id, then call get_job_status. For long audio you plan to poll yourself, use start_job_file instead.

ParameterTypeDescription
path *stringAbsolute local filesystem path to an audio or video file. Relative paths are rejected. Do not pass raw binary over MCP.
languagestringOptional two-letter ISO language code (e.g. en, es).
modelstringTranscription model tier. core = default balance of speed/accuracy, max = hardest audio.
output_filestringOptional absolute path ending in .txt, .md, .json, .srt, or .vtt, outside hidden folders. When the transcript is ready it is written to this file instead of being returned in the tool result, which ke…
overwritebooleanSet true to let output_file replace an existing file. Default false.
promptstringCustom vocabulary hint: proper nouns, acronyms, or product names to spell correctly (e.g. 'SpeechWeave, Acme Corp'). Only reliably influences the first ~30s of audio, not a full glossary.
response_formatstringOptional transcript format. Omit for the default plain transcript. 'srt'/'vtt' return subtitle-file text; 'verbose_json' includes timestamped segments.
service_modestringService mode. standard = default speed and price. deferred = lower cost, lower priority.
taskstringtranscribe (default) keeps the audio's original language. translate produces an English translation instead, the language param is ignored when translating.
timeout_msintegerMax milliseconds to wait for completion (default 1 hour). On timeout, returns job_id so you can call get_job_status.

transcribe_url Transcribe URL (sync)

Start transcription from a public HTTPS URL and wait until it finishes. Prefer for short/medium media when you need the transcript in this turn. Set task='translate' to get an English translation instead of a same-language transcript. Pass output_file (absolute path) to save the transcript to disk instead of returning it. On wait timeout, returns job_id, then call get_job_status. For long audio you plan to poll yourself, use start_job_url instead.

ParameterTypeDescription
url *stringPublicly reachable HTTPS URL of the audio or video to transcribe.
languagestringOptional two-letter ISO language code (e.g. en, es).
modelstringTranscription model tier. core = default balance of speed/accuracy, max = hardest audio.
output_filestringOptional absolute path ending in .txt, .md, .json, .srt, or .vtt, outside hidden folders. When the transcript is ready it is written to this file instead of being returned in the tool result, which ke…
overwritebooleanSet true to let output_file replace an existing file. Default false.
promptstringCustom vocabulary hint: proper nouns, acronyms, or product names to spell correctly (e.g. 'SpeechWeave, Acme Corp'). Only reliably influences the first ~30s of audio, not a full glossary.
response_formatstringOptional transcript format. Omit for the default plain transcript. 'srt'/'vtt' return subtitle-file text; 'verbose_json' includes timestamped segments.
service_modestringService mode. standard = default speed and price. deferred = lower cost, lower priority.
taskstringtranscribe (default) keeps the audio's original language. translate produces an English translation instead, the language param is ignored when translating.
timeout_msintegerMax milliseconds to wait for completion (default 1 hour). On timeout, returns job_id so you can call get_job_status.

start_job_file Start job from local file (async)

Upload a local audio/video file and return a job id immediately without waiting. Use for long recordings or when you will poll later with get_job_status. Pass an absolute filesystem path. Set task='translate' for an English translation instead of a same-language transcript.

ParameterTypeDescription
path *stringAbsolute local filesystem path to an audio or video file. Relative paths are rejected. Do not pass raw binary over MCP.
languagestringOptional two-letter ISO language code (e.g. en, es).
modelstringTranscription model tier. core = default balance of speed/accuracy, max = hardest audio.
promptstringCustom vocabulary hint: proper nouns, acronyms, or product names to spell correctly (e.g. 'SpeechWeave, Acme Corp'). Only reliably influences the first ~30s of audio, not a full glossary.
service_modestringService mode. standard = default speed and price. deferred = lower cost, lower priority.
taskstringtranscribe (default) keeps the audio's original language. translate produces an English translation instead, the language param is ignored when translating.

start_job_url Start job from URL (async)

Create a transcription job from a public HTTPS URL and return a job id immediately. Use for long media. Poll with get_job_status until completed, failed, or cancelled. Set task='translate' for an English translation instead of a same-language transcript.

ParameterTypeDescription
url *stringPublicly reachable HTTPS URL of the audio or video to transcribe.
languagestringOptional two-letter ISO language code (e.g. en, es).
modelstringTranscription model tier. core = default balance of speed/accuracy, max = hardest audio.
promptstringCustom vocabulary hint: proper nouns, acronyms, or product names to spell correctly (e.g. 'SpeechWeave, Acme Corp'). Only reliably influences the first ~30s of audio, not a full glossary.
service_modestringService mode. standard = default speed and price. deferred = lower cost, lower priority.
taskstringtranscribe (default) keeps the audio's original language. translate produces an English translation instead, the language param is ignored when translating.

get_job_status Get job status

Fetch the current status of a transcription job (and transcript when completed). Poll until status is completed, failed, or cancelled. Pass response_format ('srt', 'vtt', or 'verbose_json') on a completed job to fetch it re-formatted. Pass output_file (absolute path) to save the transcript to disk instead of returning it.

ParameterTypeDescription
job_id *stringJob id returned by a sync or async transcription tool.
output_filestringOptional absolute path ending in .txt, .md, .json, .srt, or .vtt, outside hidden folders. When the transcript is ready it is written to this file instead of being returned in the tool result, which ke…
overwritebooleanSet true to let output_file replace an existing file. Default false.
response_formatstringOptional transcript format. Omit for the default plain transcript. 'srt'/'vtt' return subtitle-file text; 'verbose_json' includes timestamped segments.

cancel_job Cancel job

Cancel a queued or processing transcription job. Fails if the job is already terminal.

ParameterTypeDescription
job_id *stringJob id returned by a sync or async transcription tool.

get_limits Get account upload limits

Fetch upload size ceilings for the calling API key (GET /v1/limits). Returns max_input_bytes, standard_max_bytes, and proxy_max_bytes plus MB equivalents. Call before transcribe_file or start_job_file when file size is large.

fetch_doc Fetch SpeechWeave documentation

Return public SpeechWeave documentation for a slug. Use slug 'list' for the catalog. Bundled pages include quickstart, mcp, models, billing, and data_retention. Use slug 'api' for a live OpenAPI overview, or 'api/<operation_slug>' for one endpoint (e.g. api/get_v1_limits).

ParameterTypeDescription
slug *stringDoc page slug. Use 'list' for the catalog. Bundled pages: quickstart, mcp, models, billing, data_retention, migration_openai, migration_deepgram, migration_assemblyai. Live API: 'api' (overview + inde…