ytbrain

Eli-xir/ytbrain
★ 0 stars Python Database Updated 2d ago
Turn a YouTube channel into a queryable local knowledge base - caption ingest, BM25 search, extractive QA with timestamped citations. CLI + MCP server. Zero API keys.
View on GitHub → 🔍 Audit Wallet Slippage →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "ytbrain": {
      "command": "uvx",
      "args": [
        "ytbrain"
      ]
    }
  }
}

Or install with pip: pip install ytbrain

README Excerpt

**Turn a YouTube channel into a queryable local knowledge base.** Index every video's captions into a local SQLite/FTS5 brain, then search it with BM25 and ask it questions — answers are sentences **quoted from the transcripts**, each with a timestamped link that jumps to the exact moment in the video. Works from the CLI and as an **MCP server** for Claude Desktop,

Tools (8)

YTBRAIN_DBYTBRAIN_INGEST_SLEEPYTBRAIN_LANGUAGESytbrain_askytbrain_get_transcriptytbrain_list_videosytbrain_searchytbrain_stats
📊
Working with market or time-series data?
The Polymarket Historical Dataset — 18.5M+ price snapshots across 18,600+ prediction markets (CSV + SQLite). Built for backtesting & ML.
View dataset →