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 分