Talkthrough

v0.4.4
io.github.korovin-aa97/talkthrough-mcp Checked 5 days ago Published 1 month ago

Local MCP server: recordings or public video URLs into transcript, frames, OCR, wall-clock evidence.

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

process_media

Ingest a LOCAL video or audio file and make it queryable: validates the file, transcribes speech locally (whisper), extracts scene-change keyframes, OCRs on-screen text, resolves the wall-clock start time, and (opt-in) labels who said what via local speaker diarization. Returns a compact summary (job_id, media info, wall_clock, transcript preview, speaker roster when diarized) — full data stays on disk and is served lazily by the other tools. Idempotent by content hash: re-calling on an already-processed file returns instantly. For MULTI-PERSON recordings (meetings, interviews, calls) diariz…

ParameterTypeDescription
path *string
diarize
forceboolean
language
model
num_speakers
recorded_at
vocabulary

process_url

Download ONE public video/audio URL once (this is the only tool that uses the network), then run the same LOCAL pipeline as process_media: transcript, keyframes, OCR, wall-clock, optional diarization. reused describes the pipeline cache, NOT network activity: a new URL is downloaded to compare bytes even when reused=true; a local rebuild can have reused=false with no download. Read origin.network and origin.reused_url_mapping for the download outcome. An indexed job with an unreadable manifest can rebuild from its verified local source; manifest_recovery_note explains recovery. list_jobs omits…

ParameterTypeDescription
url *string
diarize
forceboolean
language
model
num_speakers
recorded_at
refreshboolean
vocabulary

get_transcript

Retrieve the transcript of a processed job, lazily and paginated. Formats: "segments" (default — seq, t_ms, t_wall when known, speaker when diarized, text), "text" (plain prose; "S1:" prefixes at speaker changes), "srt" (subtitles, speaker-prefixed cues). Diarized jobs also return the roster, attribution_precision, saved speaker_name values, raw OCR name_candidates, and bounded pending-review names plus old-roster context after a relabel. Pre-0.3.1 video jobs may return name_candidates_note because their flat OCR is readable but less useful for hints. Pending names are evidence to re-check,…

ParameterTypeDescription
job_id *string
end_ms
formatstring
start_ms

get_frames

Fetch stored keyframe images (JPEG, <=1568px wide) as MCP image content: the frames nearest to at_ms, OR unique frames across [start_ms, end_ms] evenly thinned to max_frames. Serves unique frames by default (near-duplicates from static scenes are filtered); hard cap 6 images per call. When NOT to use: exact instants between keyframes or native-resolution detail (use extract_frame), or finding on-screen text (use search — OCR text is indexed). Examples: - get_frames(job_id="...", at_ms=83500) — what was on screen when the remark at 1:23.5 was spoken - get_frames(job_id="...", at_ms=83500, m…

ParameterTypeDescription
job_id *string
at_ms
end_ms
include_duplicatesboolean
max_framesinteger
start_ms

get_moment

The "one remark" evidence bundle: transcript slice + up to 3 unique frames + their OCR text + the wall-clock range for [start_ms, end_ms], in a single call. This is the workhorse for triage: one call per finding gives you the quote, the screenshot, and the on-screen text. When NOT to use: broad exploration (get_transcript / get_frames) or keyword lookup (search). Examples: - get_moment(job_id="...", start_ms=83000, end_ms=97000) — full evidence for the remark at 1:23-1:37 - segment seq 12 spans t0_ms=83210, t1_ms=96800 → get_moment(job_id, 83210, 96800) - pad ±2000 ms around the spoken ra…

ParameterTypeDescription
end_ms *integer
job_id *string
start_ms *integer

label_speakers

Persist VERIFIED human-readable names for anonymous S1/S2/… labels on one diarized job. `labels` is a patch: a 1-100 character name saves it; null or blank removes it. Optional `evidence` (max 500 characters per label) records why the mapping is trusted. Raw labels remain canonical in JSON; names appear separately and in text/SRT display. The write is atomic, locked, local, and idempotent. OCR name_candidates are raw hints only and are never saved automatically. A relabelled job can carry pending-review names with source-roster anchors. For a label still in the roster, an explicit patch conf…

ParameterTypeDescription
job_id *string
labels *object
evidence

extract_frame

Re-extract ONE frame at an exact timestamp from the ORIGINAL source video at native resolution, with an optional crop {x, y, w, h} in source pixels. Use when the stored keyframes miss the instant (they capture scene changes + a 1 fps floor) or when you need full-resolution detail. Slower than get_frames — it decodes the source file, which must still exist at its recorded path (URL jobs keep their downloaded source inside the job, no network). When NOT to use: normal browsing — get_frames serves stored keyframes instantly without touching the source. Examples: - keyframes sit at 12:31 and 1…

ParameterTypeDescription
at_ms *integer
job_id *string
crop

list_jobs

List processed recordings, newest first: job_id, source filename, duration, created, wall-clock start, segment/frame counts. The store is content-addressed — the same file maps to the same job even after renames or moves, and jobs persist across sessions and machines restarts. Jobs with unreadable manifests are omitted; an empty list does not prove there are no stored sources. process_media or process_url may rebuild such a job and report manifest_recovery_note. When NOT to use: as a health check or before every call — job_ids are stable, remember them. Examples: - user: "triage the record…