MCP-Powered Video RAG
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP-Powered Video RAG What are the main topics discussed in my lecture video?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
🎬 MCP-Powered Video RAG
Ask natural language questions about your videos — powered by Whisper + ChromaDB + Groq + FastMCP. Fully free and runs locally.
Architecture & How It Works

Your Video → Whisper (transcription) → ChromaDB (vector store)
↓
Antigravity IDE ← MCP Server ← Your Question
↓
Groq LLM (free) → Answer + TimestampsRelated MCP server: video-agent-mcp
Stack (All Free)
Component | Tool |
Transcription | OpenAI Whisper (local) |
Embeddings | sentence-transformers (local) |
Vector DB | ChromaDB (local) |
MCP Framework | FastMCP |
LLM for Q&A | Groq (free tier) |
⚡ Quick Start
1. Install dependencies
uv sync2. Get your FREE Groq API key
Go to https://console.groq.com/ → create account → copy API key.
3. Set up environment
copy .env.example .env
# Edit .env and paste your GROQ_API_KEY4. Add the MCP server to Antigravity IDE
Copy mcp_config.json contents into your Antigravity IDE MCP settings.
Update GROQ_API_KEY with your actual key.
5. Place videos in the videos/ folder
Supports: .mp4, .mkv, .avi, .mov, .webm, .mp3, .wav
🛠️ Available MCP Tools
Tool | Description |
| Transcribe & index a video file |
| Semantic search over transcripts |
| Full RAG Q&A with timestamps |
| Show all indexed videos |
| Remove a video from the index |
📖 Example Usage (in Antigravity IDE)
ingest_video("videos/my_lecture.mp4")
ask_video("What are the main topics discussed?")
search_video("neural networks explained", n_results=3)
ask_video("What did the speaker say about backpropagation?", video_name="my_lecture.mp4")⚙️ Configuration (.env)
GROQ_API_KEY=your_key_here # Required — get free at console.groq.com
WHISPER_MODEL=base # tiny | base | small | medium | large
EMBEDDING_MODEL=all-MiniLM-L6-v2 # local embedding model
GROQ_MODEL=llama-3.1-8b-instant # Groq model for Q&A
CHROMA_DB_PATH=./chroma_db # where to persist the vector DB💡 Tips
Use
WHISPER_MODEL=tinyfor fastest transcription (less accurate)Use
WHISPER_MODEL=mediumfor high accuracy (slower)The first run downloads Whisper and embedding models (~200MB each) — subsequent runs are instant
ChromaDB data persists across restarts in
./chroma_db/
Available Tools
5 toolsask_videoA
Ask a natural language question about your videos and get an AI-generated answer.
This tool uses RAG: it retrieves the most relevant transcript chunks from ChromaDB, then sends them as context to a Groq LLM (free tier) to generate a precise answer with timestamps so you can jump directly to the relevant moment in the video.
Inputs: question (required), video_name, n_context_chunks. Returns: result
delete_videoA
Remove a video and all its indexed data from the RAG system.
This deletes all transcript chunks for the specified video from ChromaDB. The original video file is NOT deleted — only the indexed data is removed.
Inputs: video_path (required). Returns: result
ingest_videoA
Ingest a video file into the RAG system.
This transcribes the video using Whisper (locally, for free), splits the transcript into timed chunks, embeds them, and stores them in a local ChromaDB vector database for semantic search.
Inputs: video_path (required). Returns: result
list_videosB
List all videos currently indexed in the RAG system.
Returns a summary of each ingested video including its name, path, and chunk count.
Returns: JSON list of indexed videos with metadata.
Inputs: no named parameters. Returns: result
search_videoB
Semantically search across all indexed video transcripts.
Returns the most relevant timestamped transcript chunks for a given query. You can optionally filter to a specific video by name.
Inputs: query (required), n_results, video_name. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool maps to a distinct action (ingest, search, ask, list, delete). The only potential overlap is search_video vs ask_video, since both retrieve transcript chunks, but the descriptions clearly differentiate raw chunk retrieval from LLM-generated answers with context.
All five tools follow a strict verb_noun snake_case pattern (ingest_video, search_video, ask_video, list_videos, delete_video). The convention is predictable and uniform.
Five tools is well-scoped for a video RAG system. Each tool covers a meaningful, non-redundant part of the workflow with no filler.
The surface covers the full lifecycle: ingestion, two retrieval modes (search and Q&A), listing indexed content, and deletion. Re-ingesting a video handles the update case, so there are no obvious dead ends.
Maintenance
Related MCP Connectors
Transcribe YouTube via Whisper. Summaries, chapters, semantic-search across your corpus.
MCP server for Clipkit — gives AI agents a video toolbox via the Clipkit schema.
Multimodal video analysis MCP — transcription, vision, and OCR for any video URL.
Ask a question about any YouTube video and get an answer cited to timestamps.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to query local video timelines by extracting speech, frame captions, and on-screen text into a SQLite store, exposing search and retrieval tools via MCP.PolyForm Noncommercial 1.0.0
- AlicenseNot gradedqualityDmaintenanceEnables automated video learning workflows by ingesting video URLs, managing remote GPU ASR transcription, pulling transcripts, generating digest summaries, and searching local notes via MCP tools.MIT
- AlicenseAqualityDmaintenanceEnables MCP clients to transcribe audio/video files locally, generate SRT subtitles, and burn captions into videos via tool calls, without a cloud API.3MIT
- FlicenseNot gradedqualityAmaintenanceEnables ingesting YouTube videos into a persistent, searchable wiki with transcript extraction, scene-change vision analysis, and cross-video knowledge compounding. MCP clients can then ask questions and receive reasoned answers with source citations.-