Open CLAW Knowledge Distiller
Enables the extraction of content from Bilibili videos to be processed into structured knowledge articles and summaries.
Uses Google Gemini as a default AI provider to generate multi-layer summaries and structured knowledge articles from video transcripts.
Uses OpenAI's AI models to generate multi-layer summaries and structured knowledge articles from video transcripts.
Enables the extraction of content from YouTube videos to be processed into structured knowledge articles and summaries.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Open CLAW Knowledge Distiller ๐ฆ๐
้พ่พ็ฅ่ฏ่ธ้ฆๅจ ยท ้พ่ฆ็ฅ่ญ่ธ้คพๅจ
English ยท ็น้ซไธญๆ ยท ็ฎไฝไธญๆ
Turn YouTube, Bilibili, and Facebook videos into structured knowledge articles in seconds โ locally, for free. ็ง้ๅฐ YouTubeใBilibiliใFacebook ่ง้ข่ฝฌๅไธบ็ปๆๅ็ฅ่ฏๆ็ซ โ ๆฌๅฐ่ฟ่ก๏ผๅฎๅ จๅ ่ดนใ
English
What is Open CLAW Knowledge Distiller?
Open CLAW Knowledge Distiller๏ผ้พ่ฆ็ฅ่ญ่ธ้คพๅจ๏ผkd๏ผis an open-source CLI tool and MCP server built for the Open CLAW AI agent ecosystem. It converts YouTube, Bilibili, and Facebook videos into structured knowledge articles โ automatically, locally, and for free.
How it works:
If the video has subtitles โ extracts them directly (no transcription needed, faster)
If no subtitles โ downloads audio and transcribes locally with Qwen3-ASR MLX on Apple Silicon (no API key, no cloud cost)
Optionally generates a multi-layer AI summary: one-sentence essence + key points + cleaned transcript
Who is it for?
Researchers and students who need to digest hours of video content quickly
AI agent users (Claude Code / Open CLAW ้พ่ฆ) who want to process videos programmatically
Anyone who wants structured notes from videos without watching them in full
Features
Feature | Details |
๐๏ธ Local ASR | Qwen3-ASR MLX runs entirely on-device (Apple Silicon). No API key, no cloud, free forever. |
๐ Smart subtitle detection | Auto-detects existing subtitles โ skips ASR for faster processing |
๐ค AI summarization | Supports Google Gemini, OpenAI, and Anthropic as summary providers |
๐จ 8 summary styles | Standard, Academic, Action List, News Brief, Investment Analysis, Podcast Digest, ELI5, Bullet Notes |
๐ MCP Server | Connect from Claude Code, Open CLAW, or any MCP-compatible AI agent |
๐ Multilingual | Cantonese (็ฒต่ช), Mandarin, English, Japanese, Korean, and 50+ languages |
โก Zero API key mode |
|
Installation
Prerequisites:
brew install ffmpeg # audio extractionInstall:
pip install openclaw-knowledge-distiller
# or with uv:
uv add openclaw-knowledge-distillerQwen3-ASR model (~1-2 GB) downloads automatically from Hugging Face on first use.
Install from source (for development):
git clone https://github.com/destinyfrancis/openclaw-knowledge-distiller.git
cd openclaw-knowledge-distiller
uv syncQuick Start
# โโ No API key needed (100% local) โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
kd process "https://youtube.com/watch?v=dQw4w9WgXcQ" --no-summary
# Cantonese video with dialect hint
kd process "https://youtube.com/watch?v=..." \
--language yue \
--asr-prompt "้ๆฏ็ฒต่ชๅฃ่ชๅฐ่ฉฑ๏ผ่ซไฟ็ๆถ้ณ" \
--no-summary
# โโ With AI summary โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
kd config set api-key "AIzaSy..." # Google Gemini (default provider)
kd process "https://youtube.com/watch?v=..."
# Save as Markdown file
kd process "https://youtube.com/watch?v=..." --output notes.md
# โโ Choose a summary style โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
kd process "https://youtube.com/watch?v=..." --style investment
kd process "https://youtube.com/watch?v=..." --style academic
kd process "https://youtube.com/watch?v=..." --style podcast
kd process "https://youtube.com/watch?v=..." --style eli5
# List all available styles
kd styles
# โโ Other AI providers โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
kd process "..." --provider openai --model gpt-4o-mini
kd process "..." --provider anthropic --model claude-haiku-4-5-20251001Summary Styles
Run kd styles to list all styles. Choose with --style <key>:
Key | Name | Best For | |
| ๐ | Standard Summary | General videos (default) |
| ๐ | Academic Notes | Lectures, research talks, conference papers |
| โ | Action List | Tutorials, how-to guides, step-by-step videos |
| ๐ฐ | News Brief | Interviews, current events, news commentary |
| ๐ | Investment Analysis | Finance, stocks, crypto, macro economics |
| ๐๏ธ | Podcast Digest | Conversations, talk shows, Q&A sessions |
| ๐ง | Explain Like I'm 5 | Tech, science, academic topics for a general audience |
| โก | Bullet Notes | Ultra-concise, fast scanning, quick reference |
CLI Reference
kd process <url>
Full pipeline: detect subtitles โ transcribe (if needed) โ summarize.
Flag | Default | Description |
| auto-detect | Language code: |
|
| Summary style preset (run |
|
| AI provider: |
| provider default | AI model name (e.g. |
| โ | Custom summarization prompt (overrides |
| stdout | Output file path |
|
| Output format: |
| false | Always use ASR, skip subtitle detection |
| false | Transcript only โ no AI, no API key needed |
|
| ASR backend: |
|
| Qwen3-ASR size: |
| โ | Context hint for ASR (e.g. dialect, domain, speaker style) |
kd styles
List all built-in summary style presets.
kd subtitles <url>
Extract subtitles only โ no ASR, no AI.
kd config set <key> <value>
Key | Example |
|
|
|
|
|
|
|
|
|
|
kd mcp-server
Start the MCP server on stdio transport for Claude Code / Open CLAW.
MCP Server (Claude Code / Open CLAW)
Add to ~/.claude.json:
{
"mcpServers": {
"knowledge-distiller": {
"command": "kd",
"args": ["mcp-server"],
"env": {
"KD_API_KEY": "your-api-key-here",
"KD_PROVIDER": "google"
}
}
}
}Available MCP Tools
Tool | Description |
| Submit a video URL โ returns |
| Poll job progress: |
| Get result: |
| List all submitted jobs |
| Update provider, model, default prompt |
Typical Agent Workflow
Agent โ process_url(url="https://youtube.com/watch?v=...", style="investment", language="zh")
โ { "job_id": "a1b2c3d4" }
Agent โ get_status(job_id="a1b2c3d4")
โ { "status": "transcribing", "progress": 0.6, "phase": "Transcribing audio..." }
Agent โ get_result(job_id="a1b2c3d4", format="summary")
โ {
"one_sentence": "ๆ ธๅฟๆ่ณ่ซ้ป...",
"key_points": ["ใๆ่ณ่ซ้ปใ...", "ใ้ขจ้ชๅ ็ด ใ..."]
}Configuration
Config file: ~/.config/knowledge-distiller/config.toml
provider = "google"
model = "gemini-2.5-flash"
language = "zh"
transcriber = "qwen3-asr"
default_prompt = ""Environment variables (override config file):
export KD_PROVIDER=google
export KD_API_KEY=AIzaSy...
export KD_MODEL=gemini-2.5-flash
export KD_LANGUAGE=zhSystem Requirements
Python 3.11+
macOS with Apple Silicon (M1/M2/M3/M4) โ required for Qwen3-ASR and mlx-whisper local inference
ffmpeg:brew install ffmpegqwen-asr:pip install qwen-asrmlx-whisper:pip install mlx-whisper(alternative ASR backend)
Related MCP server: video-toolkit-mcp
็น้ซไธญๆ
ไป้บผๆฏ้พ่ฆ็ฅ่ญ่ธ้คพๅจ๏ผ
Open CLAW Knowledge Distiller๏ผ้พ่ฆ็ฅ่ญ่ธ้คพๅจ๏ผkd๏ผไฟไธๅๅฐ็บ Open CLAW๏ผ้พ่ฆ๏ผAI agent ็ๆ
็ณป็ตฑ่่จญ่จ็้ๆบๅฝไปค่กๅทฅๅ
ทๅ MCP ไผบๆๅจ๏ผๅฏไปฅ่ชๅๅฐ YouTubeใBilibili ๅ Facebook ๅฝฑ็่ฝๅ็บ็ตๆงๅ็ฅ่ญๆ็ซ ใ
่็ๆต็จ๏ผ
่ฅๅฝฑ็ๆๅญๅน โ ็ดๆฅๆๅ๏ผ็ก้ ASR ่ฝ้๏ผ้ๅบฆๆดๅฟซ๏ผ
่ฅ็กๅญๅน โ ไธ่ผ้ณ้ ป๏ผ็จ Qwen3-ASR MLX ๆฌๅฐ่ฝ้๏ผApple Silicon๏ผ็ก้ API Key๏ผ้ถ่ฒป็จ๏ผ
ๅฏ้ธ๏ผ็จ AI ็ๆๅคๅฑคๆ่ฆ๏ผไธๅฅ็ฒพ่ฏ + ่ฆ้ปๅ่กจ + ไฟฎๆญฃ่ฝ้๏ผ
้ฉๅ่ชฐไฝฟ็จ๏ผ
้่ฆๅฟซ้ๆถๅๅคง้ๅฝฑ็ๅ งๅฎน็็ ็ฉถ่ ๅๅญธ็
ไฝฟ็จ Claude Code / Open CLAW๏ผ้พ่ฆ๏ผ็ AI agent ็จๆถ
ๆณๅพๅฝฑ็็ฒๅ็ตๆงๅ็ญ่จ่็ก้ๅฎๆด่ง็็ไบบ
ไธป่ฆๅ่ฝ
ๅ่ฝ | ่ชชๆ |
๐๏ธ ๆฌๅฐ ASR | Qwen3-ASR MLX ๅฎๅ จๅจ่จญๅไธ้่ก๏ผApple Silicon๏ผ๏ผ็ก API ่ฒป็จ๏ผๆฐธไน ๅ ่ฒป |
๐ ๆบ่ฝๅญๅนๅตๆธฌ | ่ชๅๅตๆธฌไธฆๆๅ็พๆๅญๅน๏ผๆๅญๅนๅฐฑ่ทณ้ ASR๏ผ้ๅบฆๆดๅฟซ |
๐ค AI ๆ่ฆ | ๆฏๆด Google GeminiใOpenAIใAnthropic |
๐จ 8 ็จฎๆ่ฆ้ขจๆ ผ | ๆจๆบใๅญธ่กใ่กๅๆธ ๅฎใๆฐ่้ๅ ฑใๆ่ณๅๆใๆญๅฎข้่ฆฝใๆทฑๅ ฅๆทบๅบใๆฅต็ฐกๅญๅฝ |
๐ MCP ไผบๆๅจ | ๅฏๅพ Claude CodeใOpen CLAW ๆไปปไฝ MCP ็ธๅฎน AI agent ้ฃๆฅ |
๐ ๅค่ช่จ | ็ฒต่ชใๆฎ้่ฉฑใ่ฑ่ชใๆฅ่ชใ้่ชๅ 50+ ็จฎ่ช่จ |
โก ้ถ API Key ๆจกๅผ |
|
ๅฎ่ฃ
brew install ffmpeg # ้ณ้ ปๆๅๅทฅๅ
ท
pip install openclaw-knowledge-distiller
# ๆไฝฟ็จ uv๏ผ
uv add openclaw-knowledge-distillerQwen3-ASR ๆจกๅ๏ผ็ด 1-2 GB๏ผ้ฆๆฌกไฝฟ็จๆ่ชๅๅพ Hugging Face ไธ่ผ๏ผ็ก้ๆๅๆไฝใ
ๅพๅๅง็ขผๅฎ่ฃ๏ผ้็ผ็จ๏ผ๏ผ
git clone https://github.com/destinyfrancis/openclaw-knowledge-distiller.git
cd openclaw-knowledge-distiller
uv syncๅฟซ้้ๅง
# โโ ็ก้ API Key๏ผๅฎๅ
จๆฌๅฐ๏ผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
kd process "https://youtube.com/watch?v=..." --no-summary
# ็ฒต่ชๅฝฑ็
kd process "https://youtube.com/watch?v=..." \
--language yue \
--asr-prompt "้ๆฏ็ฒต่ชๅฃ่ชๅฐ่ฉฑ๏ผ่ซไฟ็ๆถ้ณ" \
--no-summary
# โโ ไฝฟ็จ AI ๆ่ฆ๏ผ้่ฆ API Key๏ผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
kd config set api-key "AIzaSy..." # ่จญๅฎ Google Gemini๏ผ้ ่จญ๏ผ
kd process "https://youtube.com/watch?v=..."
# ๅฒๅญ็บ Markdown
kd process "https://youtube.com/watch?v=..." --output notes.md
# โโ ้ธๆๆ่ฆ้ขจๆ ผ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
kd process "https://youtube.com/watch?v=..." --style investment # ๆ่ณๅๆ
kd process "https://youtube.com/watch?v=..." --style academic # ๅญธ่ก็ญ่จ
kd process "https://youtube.com/watch?v=..." --style podcast # ๆญๅฎข้่ฆฝ
kd process "https://youtube.com/watch?v=..." --style eli5 # ๆทฑๅ
ฅๆทบๅบ
kd process "https://youtube.com/watch?v=..." --style bullets # ๆฅต็ฐกๅญๅฝ
# ๅๅบๆๆๅฏ็จ้ขจๆ ผ
kd styles8 ็จฎๆ่ฆ้ขจๆ ผ
ๅท่ก kd styles ๆฅ็ๅฎๆดๅ่กจ๏ผไฝฟ็จ --style <key> ้ธๆ๏ผ
Key | ๅ็จฑ | ๆ้ฉๅ | |
| ๐ | ๆจๆบๆ่ฆ | ไธ่ฌๅฝฑ็๏ผ้ ่จญ๏ผ |
| ๐ | ๅญธ่ก็ญ่จ | ๅญธ่กๆผ่ฌใ็ ็ฉถ่จ่ซใๅญธ่กๅ ฑๅ |
| โ | ่กๅๆธ ๅฎ | ๆ็จใHow-toใๆญฅ้ฉๆๅผ |
| ๐ฐ | ๆฐ่้ๅ ฑ | ่จช่ซใๆไบใๆฐ่่ฉ่ซ |
| ๐ | ๆ่ณๅๆ | ่ฒก็ถใ่ก็ฅจใๅ ๅฏ่ฒจๅนฃใๅฎ่ง็ถๆฟ |
| ๐๏ธ | ๆญๅฎข้่ฆฝ | ๅฐ่ฉฑใ่จชๅใ่ซๅฃ็ง |
| ๐ง | ๆทฑๅ ฅๆทบๅบ | ็งๆใ็งๅญธใ่ค้ไธป้ก |
| โก | ๆฅต็ฐกๅญๅฝ | ๆฅต้็่ฆฝใๅฟซ้็ญ่จ |
CLI ๅ่
kd process <url>
ๆๆจ | ้ ่จญๅผ | ่ชชๆ |
| ่ชๅๅตๆธฌ | ่ช่จไปฃ็ขผ๏ผ |
|
| ๆ่ฆ้ขจๆ ผ๏ผๅท่ก |
|
| AI ไพๆๅ๏ผ |
| ไพๆๅ้ ่จญ | AI ๆจกๅๅ็จฑ๏ผไพๅฆ |
| โ | ่ช่จๆ่ฆ prompt๏ผ่ฆ่ |
| ๆจๆบ่ผธๅบ | ่ผธๅบๆชๆก่ทฏๅพ |
|
| ่ผธๅบๆ ผๅผ๏ผ |
| false | ่ทณ้ๅญๅนๅตๆธฌ๏ผๅผทๅถไฝฟ็จ ASR |
| false | ็ด่ฝ้ๆจกๅผ๏ผ็ก้ AI๏ผ็ก้ API Key |
|
| ASR ๅผๆ๏ผ |
|
| Qwen3-ASR ๆจกๅๅคงๅฐ๏ผ |
| โ | ASR ไธไธๆๆ็คบ๏ผไพๅฆๆน่จใ้ ๅใ่ชๆฐฃ๏ผ |
MCP ไผบๆๅจ้ ็ฝฎ๏ผClaude Code / Open CLAW ้พ่ฆ๏ผ
ๅจ ~/.claude.json ๅ ๅ
ฅ๏ผ
{
"mcpServers": {
"knowledge-distiller": {
"command": "kd",
"args": ["mcp-server"],
"env": {
"KD_API_KEY": "ไฝ ็ API Key",
"KD_PROVIDER": "google"
}
}
}
}ๅ ธๅ Agent ๅทฅไฝๆต็จ
Agent โ process_url(url="https://youtube.com/watch?v=...", style="investment", language="zh")
โ { "job_id": "a1b2c3d4" }
Agent โ get_status(job_id="a1b2c3d4")
โ { "status": "transcribing", "progress": 0.6 }
Agent โ get_result(job_id="a1b2c3d4", format="summary")
โ {
"one_sentence": "ๆ ธๅฟๆ่ณ่ซ้ป...",
"key_points": ["ใๆ่ณ่ซ้ปใ...", "ใ้ขจ้ชๅ ็ด ใ..."],
"full_transcript": "..."
}็ณป็ตฑ้ๆฑ
Python 3.11+
macOS Apple Silicon๏ผM1/M2/M3/M4๏ผโ Qwen3-ASR MLX ๆฌๅฐๆจ็ๅฟ ้
ffmpeg๏ผbrew install ffmpegqwen-asr๏ผpip install qwen-asr
็ฎไฝไธญๆ
ๅๅฐ่ฑๆ ยท ๅๅฐ็น้ซไธญๆ
ไปไนๆฏ้พ่พ็ฅ่ฏ่ธ้ฆๅจ๏ผ
Open CLAW Knowledge Distiller๏ผ้พ่พ็ฅ่ฏ่ธ้ฆๅจ๏ผkd๏ผๆฏไธๆฌพไธไธบ Open CLAW AI ๆบ่ฝไฝ็ๆ็ณป็ป่ฎพ่ฎก็ๅผๆบๅฝไปค่กๅทฅๅ
ทๅ MCP ๆๅกๅจใๅฎ่ฝ่ชๅจๅฐ YouTubeใBilibili ๅ Facebook ่ง้ข่ฝฌๅไธบ็ปๆๅ็ฅ่ฏๆ็ซ ๏ผๅฎๅ
จๆฌๅฐ่ฟ่ก๏ผๆ ้ไปปไฝไบ็ซฏ่ดน็จใ
ๅทฅไฝๆต็จ๏ผ
่ฅ่ง้ขๆๅญๅน โ ็ดๆฅๆๅ๏ผๆๅฟซ๏ผๆ ้่ฝฌๅฝ๏ผ
่ฅๆ ๅญๅน โ ไธ่ฝฝ้ณ้ข๏ผ็จ Qwen3-ASR MLX ๅจๆฌๅฐ่ฝฌๅฝ๏ผApple ่ฏ็๏ผๆ ้ API ๅฏ้ฅ๏ผ
ๅฐ่ฝฌๅฝๆๆฌๅ้ฃๆ ผๆ็คบ่ฏ่ฟๅ็ป Open CLAW๏ผ็ฑๆบ่ฝไฝ่ช่กๅฎๆๆ่ฆ็ๆ
ๆ ธๅฟ่ฎพ่ฎก็ๅฟต๏ผ kd ๅช่ด่ดฃไธ่ฝฝๅ่ฝฌๅฝ่ฟไธคไปถ้ๆดป๏ผๆ่ฆ็ๆไบค็ป้พ่พ่ชๅทฑ็ AI ๆฅๅฎๆโโๆ ้้ขๅค็ AI API ๅฏ้ฅใ
ไธป่ฆๅ่ฝ
ๅ่ฝ | ่ฏดๆ |
๐๏ธ ๆฌๅฐ ASR | Qwen3-ASR MLX ๅฎๅ จๅจ่ฎพๅคไธ่ฟ่ก๏ผApple ่ฏ็๏ผ๏ผๆ API ่ดน็จ๏ผๆฐธไน ๅ ่ดน |
๐ ๆบ่ฝๅญๅนๆฃๆต | ่ชๅจๆฃๆตๅนถๆๅ็ฐๆๅญๅน๏ผๆๅญๅน็ดๆฅ่ทณ่ฟ ASR๏ผ้ๅบฆๆดๅฟซ |
๐ค ๆบ่ฝไฝๆ่ฆ | ่ฟๅ่ฝฌๅฝๆๆฌๅๆ็คบ่ฏ๏ผ็ฑ Open CLAW ่ช่บซ AI ๅฎๆๆ่ฆ๏ผๆ ้้ขๅค API ๅฏ้ฅ |
๐จ 8 ็งๆ่ฆ้ฃๆ ผ | ๆ ๅใๅญฆๆฏใ่กๅจๆธ ๅใๆฐ้ป้ๆฅใๆ่ตๅๆใๆญๅฎข้่งใๆทฑๅ ฅๆต ๅบใๆ็ฎๅญๅผน |
๐ MCP ๆๅกๅจ | ๅฏไป Claude CodeใOpen CLAW ๆไปปไฝๅ ผๅฎน MCP ็ AI ๆบ่ฝไฝ่ฟๆฅ |
๐ ๅค่ฏญ่จๆฏๆ | ็ฒค่ฏญใๆฎ้่ฏใ่ฑ่ฏญใๆฅ่ฏญใ้ฉ่ฏญๅ 50+ ็ง่ฏญ่จ |
โก ้ถ API ๅฏ้ฅๆจกๅผ |
|
ๅฎ่ฃ
brew install ffmpeg # ้ณ้ขๆๅๅทฅๅ
ท
pip install openclaw-knowledge-distiller
# ๆไฝฟ็จ uv๏ผๆจ่๏ผ๏ผ
uv add openclaw-knowledge-distillerQwen3-ASR ๆจกๅ๏ผ็บฆ 1-2 GB๏ผ้ฆๆฌกไฝฟ็จๆถ่ชๅจไป Hugging Face ไธ่ฝฝ๏ผๆ ้ๆๅจๆไฝใ
ๅฟซ้ไธๆ
# โโ ้ถ API ๅฏ้ฅ๏ผ็บฏๆฌๅฐ่ฝฌๅฝ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
# ็ดๆฅ่ฝฌๅฝ๏ผ่พๅบๆๆฌ
kd process "https://www.bilibili.com/video/BV..." --no-summary
# ๆๅฎๆฎ้่ฏ
kd process "https://www.bilibili.com/video/BV..." \
--language zh \
--no-summary
# ๆๅฎ็ฒค่ฏญ๏ผๅนฟไธ่ฏ๏ผ
kd process "https://youtube.com/watch?v=..." \
--language yue \
--asr-prompt "่ฟๆฏ็ฒค่ฏญๅฃ่ฏญๅฏน่ฏ๏ผ่ฏทไฟ็ๅๆๅ้ณ็น่ฒ" \
--no-summary
# โโ ้
็ฝฎ AI ๆ่ฆ๏ผๅฏ้๏ผ้่ฆ API ๅฏ้ฅ๏ผโโโโโโโโโโโโโโโโโโโโโโโโโโโ
kd config set api-key "AIzaSy..." # ่ฎพ็ฝฎ Google Gemini๏ผ้ป่ฎค๏ผ
kd process "https://youtube.com/watch?v=..."
# ไฟๅญไธบ Markdown ๆไปถ
kd process "https://youtube.com/watch?v=..." --output ็ฌ่ฎฐ.md
# โโ ้ๆฉๆ่ฆ้ฃๆ ผ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
kd process "https://youtube.com/watch?v=..." --style investment # ๆ่ตๅๆ
kd process "https://youtube.com/watch?v=..." --style academic # ๅญฆๆฏ็ฌ่ฎฐ
kd process "https://youtube.com/watch?v=..." --style actions # ่กๅจๆธ
ๅ
kd process "https://youtube.com/watch?v=..." --style podcast # ๆญๅฎข้่ง
kd process "https://youtube.com/watch?v=..." --style eli5 # ๆทฑๅ
ฅๆต
ๅบ
kd process "https://youtube.com/watch?v=..." --style bullets # ๆ็ฎๅญๅผน
# ๆฅ็ๆๆๅฏ็จ้ฃๆ ผ
kd styles8 ็งๆ่ฆ้ฃๆ ผ
ไฝฟ็จ kd styles ๆฅ็ๅฎๆดๅ่กจ๏ผ้่ฟ --style <key> ้ๆฉ๏ผ
Key | ๅ็งฐ | ๆ้ๅ | |
| ๐ | ๆ ๅๆ่ฆ | ไธ่ฌ่ง้ข๏ผ้ป่ฎค๏ผ |
| ๐ | ๅญฆๆฏ็ฌ่ฎฐ | ๅญฆๆฏๆผ่ฎฒใ็ ็ฉถๆฅๅใๅญฆๆฏไผ่ฎฎ |
| โ | ่กๅจๆธ ๅ | ๆ็จใๆไฝๆๅใๆญฅ้ชค่ฏดๆ |
| ๐ฐ | ๆฐ้ป้ๆฅ | ้่ฎฟใๆถไบ่ฏ่ฎบใๆฐ้ปๆฅ้ |
| ๐ | ๆ่ตๅๆ | ่ดข็ปใ่กๅธใๅ ๅฏ่ดงๅธใๅฎ่ง็ปๆต |
| ๐๏ธ | ๆญๅฎข้่ง | ๅฏน่ฏ่็ฎใ่ฎฟ่ฐใ่ฑๅฃ็ง |
| ๐ง | ๆทฑๅ ฅๆต ๅบ | ็งๆใ็งๅญฆใๅคๆไธไธไธป้ข |
| โก | ๆ็ฎๅญๅผน | ๅฟซ้ๆต่งใไผ่ฎฎ่ฎฐๅฝใๅคๅฟ |
CLI ๅ่
kd process <url>
ๅฎๆดๆต็จ๏ผๆฃๆตๅญๅน โ ่ฝฌๅฝ๏ผๅฆ้๏ผโ ็ๆๆ่ฆใ
ๅๆฐ | ้ป่ฎคๅผ | ่ฏดๆ |
| ่ชๅจๆฃๆต | ่ฏญ่จไปฃ็ ๏ผ |
|
| ๆ่ฆ้ฃๆ ผ๏ผ่ฟ่ก |
|
| AI ๆไพๅ๏ผ |
| ๆไพๅ้ป่ฎค | AI ๆจกๅๅ็งฐ๏ผๅฆ |
| โ | ่ชๅฎไนๆ่ฆๆ็คบ่ฏ๏ผ่ฆ็ |
| ๆ ๅ่พๅบ | ่พๅบๆไปถ่ทฏๅพ |
|
| ่พๅบๆ ผๅผ๏ผ |
| false | ่ทณ่ฟๅญๅนๆฃๆต๏ผๅผบๅถไฝฟ็จ ASR |
| false | ็บฏ่ฝฌๅฝๆจกๅผ๏ผๆ ้ AI๏ผๆ ้ API ๅฏ้ฅ |
|
| ASR ๅผๆ๏ผ |
|
| Qwen3-ASR ๆจกๅๅคงๅฐ๏ผ |
| โ | ASR ไธไธๆๆ็คบ๏ผๅฆๆน่จ็นๅพใไธไธ้ขๅ็ญ๏ผ |
kd styles
ๅๅบๆๆๅ ็ฝฎๆ่ฆ้ฃๆ ผๅๅ ถๆ็คบ่ฏใ
kd subtitles <url>
ไป ๆๅๅญๅน๏ผไธ่ฟ่ก ASR ๆ AI ๆ่ฆใ
kd config set <key> <value>
Key | ็คบไพ |
|
|
|
|
|
|
|
|
|
|
MCP ๆๅกๅจ้ ็ฝฎ๏ผOpen CLAW / Claude Code๏ผ
ๆจ่ๅทฅไฝๆต็จ๏ผ้พ่พ่ช่กๆ่ฆ๏ผ
ๅจ ~/.claude.json ไธญๆทปๅ ๏ผ
{
"mcpServers": {
"openclaw-knowledge-distiller": {
"command": "kd",
"args": ["mcp-server"]
}
}
}ๆ ้้ ็ฝฎ API ๅฏ้ฅ๏ผ ้พ่พไฝฟ็จ่ช่บซ AI ่ฝๅๅฎๆๆ่ฆใ
MCP ๅทฅๅ ท่ฏดๆ
ๅทฅๅ ท | ่ฏดๆ |
| ๆจ่๏ผ่ฟๅ่ฝฌๅฝๆๆฌๅๆ่ฆๆ็คบ่ฏ๏ผ็ฑ Open CLAW ่ช่กๅฎๆๆ่ฆ |
| ่ทๅๆๆๆ่ฆ้ฃๆ ผ็ๅฎๆดๆ็คบ่ฏ |
| ๅฎๆดๆต็จ๏ผ้้ ็ฝฎๅค้จ AI API ๅฏ้ฅ๏ผ |
| ๆฅ่ฏข process_url ไปปๅก่ฟๅบฆ |
| ่ทๅๅทฒๅฎๆไปปๅก็็ปๆ |
| ๅๅบๆๆไปปๅก |
ๅ ธๅ Open CLAW ๅทฅไฝๆต็จ
# ็ฌฌไธๆญฅ๏ผ่ทๅ่ฝฌๅฝๅๆ็คบ่ฏ
้พ่พ โ transcribe_url(url="https://www.bilibili.com/video/BV...", style="investment", language="zh")
โ {
"transcript": "ไปๅคฉๆไปฌๆฅ่ไธไธ...",
"suggested_prompt": "ไฝ ๆฏไธไฝ่ตๆทฑๆ่ตๅๆๅธ...",
"transcript_source": "qwen3-asr" // ๆ "subtitles"
}
# ็ฌฌไบๆญฅ๏ผ้พ่พ็จ่ชๅทฑ็ AI + suggested_prompt ็ๆ็ปๆๅๆ่ฆ
# ๆ ้ไปปไฝ้ขๅค API ่ฐ็จ๏ผ้ถ้ขๅคๆๆฌ็ณป็ป่ฆๆฑ
Python 3.11+
macOS Apple ่ฏ็๏ผM1/M2/M3/M4๏ผโ Qwen3-ASR MLX ๆฌๅฐๆจ็ๅฟ ้
ffmpeg๏ผbrew install ffmpegQwen3-ASR ๆจกๅไผๅจ้ฆๆฌกไฝฟ็จๆถ่ชๅจไธ่ฝฝ๏ผ็บฆ 1-2 GB๏ผ
Acknowledgements ยท ่ด่ฌ
This project stands on the shoulders of remarkable open-source work. We are deeply grateful to the following teams and individuals:
Project | Authors | Contribution |
Alibaba Qwen Team ้ฟ้ๅทดๅทด Qwen ๅ้ | The core ASR model powering local transcription. World-class multilingual speech recognition including Cantonese, Mandarin, and 50+ languages. | |
Apple Machine Learning Research | The on-device ML framework enabling Qwen3-ASR to run efficiently on Apple Silicon. | |
MLX Community Contributors | Quantized MLX model weights hosted on Hugging Face, making local inference accessible. | |
yt-dlp contributors | Robust YouTube, Bilibili, and Facebook audio download and subtitle extraction without requiring any API key. | |
Apple MLX Examples Team | Alternative Apple Silicon ASR backend using OpenAI's Whisper architecture. | |
Samuel Colvin & contributors | Data validation and modelling powering all internal data structures. | |
Sebastiรกn Ramรญrez (tiangolo) | The elegant CLI framework behind the | |
Will McGugan & Textualize | Beautiful terminal output, progress bars, and formatted tables. | |
Anthropic & MCP contributors | The Model Context Protocol SDK enabling Claude Code / Open CLAW agent integration. | |
Tom Christie & encode | Async HTTP client powering AI provider API calls. |
็นๅฅๆ่ฌ ้ฟ้ๅทดๅทด Qwen ๅ้้็ผไธฆ้ๆบ Qwen3-ASR ๆจกๅ๏ผไปคๆฌๅฐใๅ ่ฒปใ้ซ็ฒพๅบฆ็็ฒต่ชๅๅค่ช่จ่ฝ้ๆ็บๅฏ่ฝใๅๆๆ่ฌ yt-dlp ๅ้ๆไพๅผทๅคง็้ณ้ ปไธ่ผๅๅญๅนๆๅๅ่ฝ๏ผๆฏๆด YouTubeใBilibili ๅ Facebook ๅฝฑ็ใ
Special thanks to the Alibaba Qwen Team for developing and open-sourcing the Qwen3-ASR model, making high-accuracy local speech recognition in Cantonese and 50+ languages possible without any cloud cost. Also grateful to the yt-dlp community for robust audio download and subtitle extraction supporting YouTube, Bilibili, and Facebook videos.
Contributing
Contributions are welcome! Please open an issue or submit a pull request.
Contributors
Avatar | Name | Role |
Creator & Maintainer |
License
MIT ยฉ 2026 destinyfrancis
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogโฆ
This server cannot be deployed
Maintenance
Related MCP Connectors
YouTube transcripts, search, channel browsing, and playlists for AI agents via MCP.
YouTube transcripts, search, channels, playlists and bulk transcript jobs for AI agents. 14 tools.
Your YouTube library, in the AI tools you already use: Claude, ChatGPT, Cursor, any MCP client.
Transcripts, summaries, chapters and timestamped answers for video links, for AI agents.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceTransforms YouTube videos into LLM-ready knowledge bases through transcription, semantic chunking, and vector embedding services. It provides 12 specialized MCP tools for video processing, semantic search, and SEO intelligence analysis.MIT
- AlicenseBqualityCmaintenanceA Model Context Protocol (MCP) server that provides comprehensive video tools: transcript retrieval, video downloading, and automatic subtitle generation using AI speech-to-text. Works with YouTube, Bilibili, Vimeo, and any platform supported by yt-dlp.11MIT
- AlicenseNot gradedqualityDmaintenanceEnables agents to convert videos from URLs, Bilibili, and netdisk shares into Word documents, with tools for transcription, job management, and account configuration.GPL 3.0
- AlicenseNot gradedqualityFmaintenanceGives MCP clients access to YouTube video transcripts and metadata. It lets AI agents read and summarize video content from a URL.4 npmMIT