mediasense
v0.5.2Let Claude listen to audio and watch video: transcribe, summarize and edit recordings and links.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
check_job Check a running job
Get the result of a long-running mediasense job (understand_media, transcribe, render_edit, watch_video). Waits up to ~30s; returns the finished result, or the progress so far plus the same job_id to check again. Without job_id, lists jobs that are still running.
| Parameter | Type | Description |
|---|---|---|
job_id | string |
media_info Media file info
Duration, resolution, fps and which streams (audio/video) a file has.
| Parameter | Type | Description |
|---|---|---|
path * | string |
transcribe Transcribe speech
Transcribe audio/video (file path or link) with word-level timestamps; auto-detects language. vocabulary: names/jargon likely in the audio (["Cloudflare", "Claude", "Next.js"]) so they are spelled right. Pass them whenever you know them (from the user, the title or the screen). model: tiny | base | small | medium | large-v3 | turbo (bigger = slower, more accurate). backend: faster-whisper (default, local) | whisperx (local, tighter word times, speakers) | openai (API). verbatim: keep hesitations (um, éé, hum) so they can be removed later. diarize: label speakers (wh…
| Parameter | Type | Description |
|---|---|---|
path * | string | |
backend | string | |
diarize | boolean | |
force | boolean | |
language | ||
model | string | |
verbatim | boolean | |
vocabulary |
read_transcript Read a transcript
Read a transcript (pass the media path or the .transcript.json). start/end limit the time range. words=true shows each word as word@seconds.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
end | ||
start | ||
words | boolean |
search_transcript Search a transcript
Find every time a word/phrase is said (case, accent and punctuation insensitive).
| Parameter | Type | Description |
|---|---|---|
path * | string | |
phrase * | string |
plan_edit Preview an edit
Preview an edit without writing anything. Same arguments as render_edit. cut_phrases: remove these phrases (all occurrences, or only `occurrence`, 1-based). cut_between: [["from phrase", "to phrase"], ...] removes everything from one to the other, inclusive. cut_ranges: ["1:02-1:05.5", "90-95"]. keep_only: "0:30-2:00". fillers: remove um/uh/éé/hum/euh/äh…; filler_words adds more ("tipo", "you know"). silences: shorten pauses longer than N seconds, leaving silence_keep seconds. silence_source: "audio" (level based) or "transcript" (gaps between words; better with…
| Parameter | Type | Description |
|---|---|---|
path * | string | |
cut_between | ||
cut_phrases | ||
cut_ranges | ||
exact_cuts | boolean | |
filler_words | ||
fillers | boolean | |
keep_only | ||
occurrence | ||
silence_keep | number | |
silence_source | string | |
silences |
render_edit Render an edit to a new file
Apply an edit (see plan_edit for the cut arguments). Never touches the original. Writes <file>.edited.<ext> unless media=false or output is given. edl → Premiere/Resolve/Avid, fcpxml → Final Cut/Resolve, srt → subtitles re-timed to the edited version.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
cut_between | ||
cut_phrases | ||
cut_ranges | ||
edl | boolean | |
exact_cuts | boolean | |
fcpxml | boolean | |
filler_words | ||
fillers | boolean | |
keep_only | ||
media | boolean | |
occurrence | ||
output | ||
silence_keep | number | |
silence_source | string | |
silences | ||
srt | boolean |
export_transcript Export subtitles or text
Write the transcript as files next to the media. formats: srt, vtt, txt, csv, json. words_per_cue (e.g. 2) makes short captions for vertical video.
| Parameter | Type | Description |
|---|---|---|
formats * | array | |
path * | string | |
words_per_cue |
place_audio Place audio into a video
Put an audio clip (or a slice of it) into a video/audio starting at `at`. mode: mix (both play) | duck (original lowered by duck_db) | replace (original muted meanwhile). Video is copied without re-encoding. Writes <base>.placed.<ext> unless output is given.
| Parameter | Type | Description |
|---|---|---|
at * | string | |
base * | string | |
insert * | string | |
duck_db | number | |
insert_from | ||
insert_to | ||
mode | string | |
output | ||
volume | number |
watch_video Key frames of a video
Understand a video: key frames at scene changes + what is said during each shot. Returns a shot list (time, speech) and contact-sheet images labelled with shot number and time. Transcribe first to get the speech column. Lower threshold = more sensitive scene detection.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
include_images | boolean | |
max_frames | integer | |
threshold |
get_frame Get one video frame
Return the video frame at `time` (e.g. "1:23.4") to look at a moment in detail.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
time * | string | |
width | integer |
understand_media Watch and listen to a video or audio
Watch and listen to a video or audio – a TikTok, YouTube, Instagram, X or Vimeo link, or a file – to summarize it, explain it or answer questions about it. Use this instead of opening the link in a browser or fetching the page (those sites block that). One call downloads the link, transcribes the speech with timestamps and returns key-frame contact sheets with what is said in each shot, plus the post's title/description. Long videos reply "STILL WORKING" – then call check_job. vocabulary: brand names / jargon to spell right. language: ISO code if known (pt, en…).…
| Parameter | Type | Description |
|---|---|---|
source * | string | |
force | boolean | |
include_images | boolean | |
language | ||
max_frames | integer | |
model | string | |
vocabulary |