youtube-free-deep-research-cli
Production-ready Python 3.13+ CLI/API system with Adaptive RAG, multi-engine TTS, OpenRouter key rotation, FastAPI backend, and Next.js dashboard
Install / Use
claude mcp add usemanusai -- npx -y github:usemanusai/youtube-free-deep-research-cliIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
AI & Machine LearningSupported Platforms
Our assessment of youtube-free-deep-research-cli
youtube-free-deep-research-cli scores 75/100 on our quality scale, 850th of 963 AI & Machine Learning skills we index.
Its MCP Server is 12 KB long, well organised into 63 sections with 12 code examples: a thorough specification that gives an agent plenty to work with.
It has 10 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated about 12 months ago. Expect some instructions to reference tool versions or APIs that have since changed.
- Our last check on 2026-08-11 found the source still online.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 85/100, with 1 caution from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
youtube-free-deep-research-cli compared with similar skills
All 4 of these similar skills score higher than youtube-free-deep-research-cli; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| youtube-free-deep-research-cli (this skill)by usemanusai | 75 | 10 | 12mo ago | MCP Server |
| claude-memby thedotmack | 100 | 113.5k | today | CLAUDE.md |
| Agent-Reachby Panniantong | 100 | 109.2k | today | CLAUDE.md |
| Understand-Anythingby Egonex-AI | 100 | 90.9k | 10d ago | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 78.9k | today | CLAUDE.md |
Frequently asked questions
- How do I install youtube-free-deep-research-cli?
- Run
claude mcp add usemanusai -- npx -y github:usemanusai/youtube-free-deep-research-cli. The install tabs above show the steps for each supported agent. - Which AI agents does youtube-free-deep-research-cli work with?
- It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
- Is youtube-free-deep-research-cli safe to use?
- It is MIT-licensed and scores 85/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is youtube-free-deep-research-cli still maintained?
- The repository was last updated about 12 months ago. Expect some instructions to reference tool versions or APIs that have since changed.
Skill content
View source on GitHub🎙️ YouTube Free Deep Research CLI
Production-ready Python 3.13+ CLI/API system with Adaptive RAG, multi-engine TTS, OpenRouter key rotation, FastAPI backend, and Next.js dashboard.
A comprehensive, modular platform for deep research, content analysis, and intelligent workflow automation. Features adaptive RAG engine (LangGraph-based), multi-engine TTS (MeloTTS/Chatterbox via Python 3.11 bridge), 31-key OpenRouter rotation with intelligent failover, FastAPI backend with REST API and WebSocket support, Next.js dashboard, MCP server for Claude Desktop integration, and comprehensive testing suite.
📋 Table of Contents
- ✨ Features
- 🚀 Quick Start
- 📦 Installation
- ⚙️ Configuration
- 🏗️ Architecture
- 📚 Documentation
- 🧪 Testing
- 🐳 Docker
- 🔄 CI/CD
- 📝 Contributing
- 📄 License
✨ Features
Core Capabilities
- Adaptive RAG Engine - LangGraph-based retrieval-augmented generation
- Multi-Engine TTS - MeloTTS, Chatterbox, Edge TTS, gTTS, pyttsx3
- OpenRouter Integration - 31-key rotation with intelligent failover
- FastAPI Backend - REST API with WebSocket support
- Next.js Dashboard - Professional web interface
- MCP Server - Claude Desktop integration
- Comprehensive Testing - Unit and integration tests
Advanced Features
- Python 3.13 Compatibility - Modern Python support with TTS bridge
- Modular Architecture - 60+ files organized into services, API, CLI, utils
- 100% Backward Compatible - Zero breaking changes
- Production-Ready - Comprehensive error handling and logging
- Advanced Voice Cloning - 13 prosody parameters for complete voice control
- Voice Cloning Parameters - Speed, pitch, emotion, emphasis, pauses, breath patterns, and more
🎙️ Advanced Podcast Generation (NEW in v2.1.0)
- 14 Professional Podcast Styles: Interview, Debate, News Report, Educational, Storytelling, Panel Discussion, Documentary, Quick Tips, Deep Dive, Roundup, and more
- Multi-Voice Support: Different speakers for different roles (host, expert, moderator, panelists)
- Customizable Length & Tone: Short (2-8 min) to Extended (30+ min) with 8 different tone options
- Intelligent Content Synthesis: AI-powered script generation with n8n RAG integration
📁 Multi-Source Content Processing (NEW in v2.1.0)
- 20+ File Types: PDF, DOCX, TXT, MD, CSV, XLSX, MP3, WAV, MP4, AVI, URLs, YouTube videos/playlists/channels, PPTX, code files, images (OCR)
- Advanced Filtering: Date range, file type, size, tags, location-based filtering
- Batch Processing: Handle hundreds of sources efficiently with parallel processing
- Smart Content Prioritization: AI selects most relevant content automatically
📋 Blueprint Generation (NEW in v2.1.0)
- 5 Blueprint Styles: Comprehensive, Executive, Technical, Educational, Reference
- Multiple Output Formats: Markdown, PDF, HTML, DOCX, JSON
- Intelligent Documentation: AI-powered synthesis from multiple sources
- Structured Output: Table of contents, citations, metadata, and professional formatting
💬 Interactive Chat Interface (NEW in v2.1.0)
- Rich Terminal UI: Beautiful formatting with syntax highlighting, tables, and markdown rendering
- Session Management: Save, load, resume conversations with full history
- Real-time Streaming: Live responses from n8n RAG workflows
- Export Capabilities: JSON and Markdown export of chat sessions
🔄 Workflow Management (NEW in v2.1.0)
- Multiple n8n Workflows: Manage different RAG workflows for various use cases
- Connection Testing: Automated workflow health checks
- Default Workflow: Set preferred workflows for different tasks
- Import/Export: Backup and share workflow configurations
YouTube Integration
- Interactive chat with YouTube video transcripts using advanced AI models
- Automated channel monitoring with configurable intervals (daily, weekly, custom)
- Bulk import from channels, playlists, and URL files with comprehensive filtering
- Advanced filtering by duration, keywords, view count, exclude shorts/live streams
- Video metadata extraction and persistent storage with SQLite database
- Intelligent transcript processing with punctuation restoration and formatting
Text-to-Speech (TTS)
- Support for 6 TTS libraries: Kokoro, OpenVoice v2, MeloTTS, Chatterbox, Edge TTS, Google TTS
- Automated installer with CPU-only support for compatibility
- Configurable voice selection and audio settings per library
- Retry logic and timeout handling for robust audio generation
- Podcast-style audio overviews with natural speech patterns
Intelligent Rate Limiting
- Smart queue system to prevent YouTube IP blocking and API quota exhaustion
- Maximum 5 videos per day processing limit (configurable)
- 1-2 hour delays between video processing attempts with smart distribution
- Exponential backoff on rate limit detection (2+ hour delays)
- Distributed processing throughout the day instead of bulk operations
- Automatic rescheduling of failed videos with intelligent retry logic
Background Service
- Automated channel monitoring with APScheduler for cross-platform scheduling
- Daily video discovery scans at configurable times (default: 8 AM)
- Continuous queue processing every 2 hours respecting rate limits
- Health checks and stuck job detection every 30 minutes
🚀 Quick Start Options
📦 Python Package (PyPI)
pip install youtube-chat-cli
youtube-chat --help
🤖 MCP Server for AI Assistants (npm)
npx jaegis-youtube-chat-mcp
🔌 MCP Client Configuration
{
"mcpServers": {
"jaegis-youtube-chat": {
"command": "npx",
"args": ["jaegis-youtube-chat-mcp"]
}
}
}
🚀 Quick Start
Installation
# Clone repository
git clone https://github.com/usemanusai/youtube-free-deep-research-cli.git
cd youtube-free-deep-research-cli
# Create virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
# Run API server
uvicorn youtube_chat_cli_main.api_server:app --reload --port 8556
Health Endpoints
GET /health/live- Liveness probeGET /health/ready- Readiness probe
📦 Installation
From Source
# Install with development dependencies
pip install -e .
pip install -r requirements.txt -r youtube_chat_cli_main/api_requirements.txt
# Run tests
pytest -q
Using uv (Recommended)
# Install uv
python -m pip install -U uv
# Lock dependencies
uv lock
# Run tests
uv run --with dev pytest -q
Docker
docker build -t jaegis-api .
docker run --rm -p 8556:8556 jaegis-api
⚙️ Configuration
Environment Variables
Create a .env file:
# API Configuration
API_HOST=0.0.0.0
API_PORT=8556
# LLM Configuration
OPENROUTER_API_KEYS=key1,key2,key3,... # 31 keys for rotation
# Database
DATABASE_URL=sqlite:///./data.db
# Logging
LOG_LEVEL=INFO
🏗️ Architecture
System Overview
youtube_chat_cli_main/
├── services/ # 33 service modules
│ ├── llm/ # LLM implementations
│ ├── tts/ # TTS orchestrator & engines
│ ├── rag/ # RAG engine
│ ├── content/ # Content processing
│ ├── search/ # Search services
│ ├── storage/ # Vector store & sessions
│ ├── integration/ # Google Drive, n8n, embeddings
│ └── background/ # Background tasks
├── api/ # 13 API modules
│ ├── routes/ # API endpoints
│ ├── models/ # Request/response models
│ ├── middleware/ # CORS, error handling
│ └── server.py # FastAPI factory
├── cli/ # 6 CLI modules
│ └── commands/ # Command implementations
├── utils/ # 4 utility modules
└── tests/ # 4 test packages
🎙️ Advanced Voice Cloning Parameters (v2.0.0)
Generate natural-sounding speech with complete prosody control using 13 advanced parameters:
CLI Usage
# Basic generation
youtube-chat voice-clone generate --voice-id 1 --text "Hello world" --output output.wav
# With emotion and pitch
youtube-chat voice-clone generate --voice-id 1 --text "I'm so happy!" \
--emotion happy --pitch 3 --exaggeration 0.7 --output happy.wav
# Professional presentation
youtube-chat voice-clone generate --voice-id 1 --text "Welcome to our report" \
--speed 1.0 --pitch 1 --emotion confident --emphasis "earnings" "report" \
--output presentation.wav
# View available presets
youtube-chat voice-clone presets
Available Parameters
- Speed (0.5-2.0) - Speech rate multiplier
- Pitch (-12 to +12) - Pitch adjustment in semitones
- Exaggeration (0.25-2.0) - Emotional intensity
- Emotion (10 types) - neutral, happy, sad, angry, joyful, excited, surprised, curious, confident, empathetic
- Emphasis - Words to emphasize in speech
- Pauses - Silence before/after speech (0-5000ms)
- Breath Frequency - Insert breath every N words
- CFG Weight, Temperature, Top P, Min P - Advanced generation parameters
- Seed - For reproducible results
Documentation
- Parameter Tuning Guide - Complete parameter reference
- CLI Usage Guide - CLI examples and patterns
- API Reference - REST API documentation
📚 Documentation
Comprehensive documentation is available in the /docs directory:
- Getting Started - Installation and setup guides
- Architecture - System design and modular structure
- API Reference - REST API documentation
- Guides - User guides and tutorials
- Development - Contributing and deployment
- Integrations - N8N, Google Drive, MCP server
- Voice Cloning - Advanced voice cloning with prosody control
🧪 Testing
# Run all tests
pytest -q
# Run with coverage
pytest --cov=youtube_chat_cli_main
# Run specific test file
pytest tests/test_api_endpoints.py
# Run with verbose output
pytest -v
🐳 Docker
# Build image
docker build -t jaegis-api .
# Run container
docker run --rm -p 8556:8556 jaegis-api
# Run with environment file
docker run --rm -p 8556:8556 --env-file .env jaegis-api
🔄 CI/CD
GitHub Actions workflows:
- Quality Assurance -
.github/workflows/quality-assurance.yml- Lint, test, and coverage on Ubuntu, Windows, macOS
- Security Audit -
.github/workflows/security-audit.yml- Semgrep, Bandit, Gitleaks, ESLint
📝 Contributing
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'feat: Add amazing feature') - Push to the branch (`git push or
Truncated for display — read the full file on GitHub.
Related Skills
claude-mem
113.5kPersistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Agent-Reach
109.2kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
Understand-Anything
90.9kGraphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
headroom
78.9kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

