Skip to content

Mcptube

Transform YouTube videos into a compounding knowledge base with transcripts, vision analysis, and agentic search. Works as an MCP server for Claude, Copilot & more.

Install: claude mcp add mcptube --transport http http://127.0.0.1:9093/mcp

Works with Claude Code, Codex, GitHub Copilot ยท 162 GitHub stars

Install

$claude mcp add mcptube --transport http http://127.0.0.1:9093/mcp

Install command taken from the project's README or registry entry. Always review code before running it.

๐ŸŽฌ mcptube-vision

YouTube video knowledge engine โ€” transcripts, vision, and persistent wiki.

mcptube-vision transforms YouTube videos into a persistent, structured knowledge base using both transcripts and visual frame analysis. Built on the Karpathy LLM Wiki pattern: knowledge compounds with every video you add.

Evolved from mcptube v0.1 โ€” mcptube-vision replaces semantic chunk search with a persistent wiki that gets smarter with every video ingested.


๐Ÿง  How It Works

Traditional video tools re-discover knowledge from scratch on every query. mcptube-vision is different:

           mcptube v0.1                    mcptube-vision
    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”         โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
    โ”‚ Query โ†’ vector searchโ”‚         โ”‚ Video ingested โ†’ LLM     โ”‚
    โ”‚ โ†’ raw chunks โ†’ LLM  โ”‚         โ”‚ extracts knowledge โ†’     โ”‚
    โ”‚ โ†’ answer (from scratchโ”‚        โ”‚ wiki pages created โ†’     โ”‚
    โ”‚   every time)        โ”‚         โ”‚ cross-references built   โ”‚
    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜         โ”‚                         โ”‚
                                    โ”‚ Query โ†’ FTS5 + agent    โ”‚
                                    โ”‚ โ†’ reasons over compiled  โ”‚
                                    โ”‚   knowledge โ†’ answer     โ”‚
                                    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
v0.1 (Video Search Engine) vision (Video Knowledge Engine)
On ingest Chunk transcript, embed in vector DB LLM watches + reads, writes wiki pages
On query Find similar chunks Agent reasons over compiled knowledge
Frames Timestamp or keyword extraction Scene-change detection + vision model
Cross-video Re-search all chunks each time Connections already in the wiki
Over time Library of isolated videos Compounding knowledge base

๐Ÿ—๏ธ Technical Architecture

mcptube-vision is built around a core insight: video knowledge should compound, not be re-discovered. Every architectural decision flows from this principle.

System Overview

flowchart TD
    YT[YouTube URL] --> EXT[YouTubeExtractor\ntranscript + metadata]
    EXT --> FRAMES[SceneFrameExtractor\nffmpeg scene-change detection]
    FRAMES --> VISION[VisionDescriber\nLLM vision model]
    VISION --> WIKI_EXT[WikiExtractor\nLLM knowledge extraction]
    EXT --> WIKI_EXT
    WIKI_EXT --> WIKI_ENG[WikiEngine\nmerge + update]
    WIKI_ENG --> FILE[FileWikiRepository\nJSON pages on disk]
    WIKI_ENG --> FTS[SQLite FTS5\nsearch index]
    FILE --> AGENT[Ask Agent\nFTS5 โ†’ LLM reasoning]
    FTS --> AGENT
    FILE --> CLI[CLI / MCP Server]
    FTS --> CLI

    subgraph Ingestion Pipeline
        EXT
        FRAMES
        VISION
        WIKI_EXT
    end

    subgraph Knowledge Store
        WIKI_ENG
        FILE
        FTS
    end

    subgraph Retrieval
        AGENT
    end

The system overview shows three distinct subsystems connected by a unidirectional data flow. The Ingestion Pipeline (left) transforms a raw YouTube URL into structured knowledge through four stages: transcript extraction, scene-change frame detection, vision-model description, and LLM-powered knowledge extraction. Each stage enriches the signal โ€” raw video becomes text, text becomes typed knowledge objects.

Similar plugs

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototypeโ€ฆ

Java ้ข่ฏ• & ๅŽ็ซฏ้€š็”จ้ข่ฏ•ๆŒ‡ๅ—๏ผŒ่ฆ†็›–่ฎก็ฎ—ๆœบๅŸบ็ก€ใ€ๆ•ฐๆฎๅบ“ใ€ๅˆ†ๅธƒๅผใ€้ซ˜ๅนถๅ‘ใ€็ณป็ปŸ่ฎพ่ฎกไธŽ AI ๅบ”็”จๅผ€ๅ‘

MCP serverDatabases+105 this week

Give your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu, one CLI, zero API fees.

Explore related