Klaket Mcp

io.github.huseyinstif由 GitHub 帳號 huseyinstif 發布v0.7.1更新於 Oct 24, 2026

Let AI agents watch videos: local transcripts, speakers, scenes, chapters and moment search

概覽

AI 產生的概覽

讓助理匯入影片或音訊網址,並取得帶時間戳的逐字稿、講者、場景、章節,以及影片內片段搜尋的結果。

可以做什麼
Klaket 把影片和音訊轉成結構化、可供大型語言模型使用的資料。這個 MCP 伺服器提供名為 klaket_ingest、klaket_job_status 和 klaket_get_result 的工具,助理可以提交影片網址或檔案、輪詢任務狀態,並取回一條統一時間軸,內含帶時間戳的逐字稿、講者標註、附關鍵影格的場景、畫面文字 OCR、章節與摘要。它也支援在已完成的任務中搜尋,找出某句話出現的確切時刻。
適用情境
當助理需要處理影片或播客內容時使用:摘要演講、擷取講者執行的指令、找出某個主題出現的位置,或產生字幕與章節資料。它鎖定本機或自架部署,而非託管服務。
執行需求
透過 npx klaket-mcp 以本機 stdio 程序執行,因此需要 Node.js。它會連線到一個 Klaket API,基礎網址來自 KLAKET_API_URL(預設 API 通常自行架設,例如用 Docker Compose 啟動,README 表示核心流程不需要 API 金鑰,也不需要 GPU。KLAKET_API_KEY 僅用於雲端或需要驗證的部署。僅支援桌面端。
安裝前請注意
此伺服器會把影片或音訊網址或檔案送到所設定的 Klaket API,因此請把 KLAKET_API_URL 指向你信任的部署;使用遠端端點意味著你的媒體及其衍生的逐字稿會離開本機。KLAKET_API_KEY 是機密,應透過環境變數提供,不要提交到程式庫。任務會在 API 主機上寫入結果檔案與衍生的媒體。專案處於 1.0 之前的階段,迭代很快,付費託管雲端 API 目前只是計畫。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Klaket Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

🎬 Klaket

Turn any video into LLM-ready data.

[License: AGPL-3.0] [PRs welcome] [Self-host]

[Klaket demo]

A klaket is a clapperboard — the tool that syncs sound and image on a film set. Klaket syncs video with LLMs.

LLMs read text. The web became readable with scrapers — but video, the largest store of human knowledge, is still locked away. Klaket unlocks it: give it a video URL or file, get back structured, timestamped, LLM-ready data.

bash
pip install klaketklaket ingest "https://youtube.com/watch?v=..." --wait
jsonc
{  "transcript": [    { "start": 14.32, "end": 19.80, "speaker": "S1", "text": "So let's deploy this with docker compose..." }  ],  "scenes": [    { "start": 190.0, "end": 342.5, "keyframes": ["scene_004_01.jpg"] }  ],  "chapters": [...],  "summary": "..."}

Features

  • 📝 Transcript — timestamped speech-to-text in ~100 languages (auto-detected) with word-level timestamps; pick the model per job ("model": "medium")
  • 🎙️ Podcasts too — pass an audio file/URL (mp3, m4a…) and Klaket skips the visual stages, deriving chapters from speech pauses
  • 🗣️ Speaker diarization — who said what (S1/S2/…), local & keyless (sherpa-onnx)
  • 💬 Subtitles — ready-to-use .srt / .vtt files with speaker labels
  • 🎞️ Scene detection — content-aware scene boundaries + keyframes per scene
  • 🔎 On-screen text (OCR) — reads slides, terminals and captions per scene, local & keyless
  • 🧩 One JSON timeline — transcript, scenes, frames and on-screen text aligned on a single timeline
  • 🔌 Works offline, no API key required — the core pipeline uses zero LLM calls
  • 🧠 Pluggable model layer — optional scene descriptions via local VLMs (Ollama) or any OpenAI-compatible endpoint (KLAKET_VLM=off by default)
  • 🤖 MCP server — let coding agents "watch" any video and find moments inside it
  • 🔍 In-video search — GET /v1/jobs/{id}/search?q=… finds the exact moment
  • ▶️ Playground — the dashboard plays the video with a click-to-seek, live-highlighted transcript

SDKs

python
# pip install klaketfrom klaket import Klaketresult = Klaket().process("https://youtube.com/watch?v=...", num_speakers=2)
ts
// npm i klaket-sdkimport { Klaket } from "klaket-sdk";const result = await new Klaket().process("https://youtube.com/watch?v=...");

Give your agent eyes

bash
# Claude Codeclaude mcp add klaket -- npx klaket-mcp   # KLAKET_API_URL defaults to localhost:8484

Then: "Watch https://youtube.com/watch?v=… and summarize the commands the presenter runs." The agent gets klaket_ingest, klaket_job_status and klaket_get_result tools.

Quick start

bash
git clone https://github.com/huseyinstif/klaket.git && cd klaketdocker compose up --build# API on :8484, dashboard on :5180curl -X POST localhost:8484/v1/ingest \  -H "Content-Type: application/json" \  -d '{"url": "https://youtube.com/watch?v=..."}'

That's it — no API keys, no GPUs required. make help lists developer shortcuts (make up, make test, make e2e).

Architecture

client ──► Go API ──► Redis queue ──► Python worker (ffmpeg · faster-whisper · scenedetect)                │                          │            dashboard ◄────────────────────┘   /data/jobs/<id>/result.json
  • apps/api — Go, job orchestration
  • apps/worker — Python, media pipeline
  • apps/dashboard — React dashboard

Self-host vs Cloud

Klaket is open source (AGPL-3.0) and fully self-hostable. A hosted, pay-per-minute cloud API with managed GPUs is planned — join the waitlist (coming soon).

Status

🚧 v0.7 — pre-1.0, moving fast. Star the repo to follow along.

License

AGPL-3.0. SDKs and clients will be MIT.

Contact

Built by Hüseyin Tıntaş — X (@1337stif) · LinkedIn

來源:README.md,提交 d1dda7b

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.7.1最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分