Skip to main content

reel-lens: a glowing lens turns a video into still frames, audio and a timestamped transcript. Let Claude watch any video: TikTok, Instagram, YouTube, X and local files, free and on your PC.

🌐 English · Deutsch · 简体中文 · Español · हिन्दी · العربية · Português · Français · Русский · 日本語 · 한국어

reel-lens 🎬 — let Claude watch videos

CI License: MIT PyPI Python 3.10+ MCP

Paste a link to a TikTok, Instagram Reel, YouTube video or X post and ask Claude about it. reel-lens is a local MCP server that gives Claude what it needs to understand a video:

  • 📝 What is said: a timestamped transcript, made on your machine with faster-whisper
  • 🖼️ What is shown: one still frame per scene across the whole video, plus any moment you ask for
  • 🏷️ The context: creator, caption, date, views and likes

Free, no API keys, no extra cloud service: downloading, still frames and transcription run on your own computer.

You:    Watch this reel and build me exactly the app it shows: https://www.instagram.com/reel/...
Claude: [watch_video] The reel shows a habit tracker with a weekly grid and a streak counter.
        At 0:12 a habit is added, at 0:27 dark mode turns on. Here is the app: ...

Seen something you want too? Paste the link to a coding tutorial or an app demo and ask Claude to build the same thing, or let it write down a recipe or a workout plan. Claude sees the frames and reads what is said, and it can zoom in on code shown on screen. No screen recording, no downloading the video yourself.

Supported sites

Tested (Windows 11, December 2026): TikTok, Instagram Reels, YouTube and X, each with download, still frames and transcript.

Through yt-dlp, not tested by us: Facebook, Reddit, Vimeo, Twitch clips, Bilibili and every other site yt-dlp supports. Some posts can only be seen when logged in (in our test a Reddit video); see Troubleshooting.

Local video files work too (mp4, mov, m4v, mkv, webm, avi, 3gp).

Quick start

You need uv (Windows: winget install astral-sh.uv, macOS: brew install uv). ffmpeg ships with reel-lens.

Claude Code

claude mcp add reel-lens --scope user -- uvx reel-lens-mcp

Claude Desktop: add this to claude_desktop_config.json (Settings → Developer → Edit Config) and restart Claude Desktop:

{
  "mcpServers": {
    "reel-lens": {
      "command": "uvx",
      "args": ["reel-lens-mcp"]
    }
  }
}

If Claude Desktop can't find uvx, write its full path instead (Windows: C:\\Users\\<you>\\.local\\bin\\uvx.exe).

The same JSON works in Cursor, VS Code, Windsurf and other MCP clients. The first start takes a minute while uv installs everything. The first transcript downloads the Whisper model once (small: about 480 MB); if the connection stalls, the download resumes where it stopped.

reel-lens is a local (stdio) server: it works in desktop apps and CLIs on your computer, not in the Claude mobile app or on claude.ai in the browser.

Install with your AI assistant

Prefer not to type commands? Paste this prompt into Claude Code or another coding agent. It checks uv, sets up reel-lens, asks before it changes anything outside the setup and tells you at the end whether everything works.

Install the reel-lens MCP server for me: https://github.com/selim163/reel-lens-mcp
It lets you watch videos from links or local files: still frames plus a local Whisper transcript.

Work step by step and tell me in plain words what you are doing:
1. Check my operating system and whether uv is installed (`uv --version`). If it is missing, show me the
   official install command for my system (Windows: `winget install astral-sh.uv`, macOS:
   `brew install uv`, otherwise https://docs.astral.sh/uv/getting-started/installation/) and run it
   only after I say yes.
2. If you are Claude Code, run:
   claude mcp add reel-lens --scope user -- uvx reel-lens-mcp
   Then run `claude mcp list` and confirm that reel-lens is connected. Tell me that the tools appear
   in new sessions.
3. If I use Claude Desktop instead: find claude_desktop_config.json (Claude Desktop: Settings ->
   Developer -> Edit Config), make a backup copy, show me the exact change as a diff and change the
   file only after I say yes. If Claude Desktop cannot find a plain "uvx", use its full path.
   Then tell me to restart Claude Desktop.
4. Never ask me for passwords, tokens or cookies. Change nothing outside this setup without asking.
5. At the end, tell me whether everything works and give me one example to try, like
   "Summarize this video: <link>".

Tools

Tool What it does
watch_video(url, frames?, language?, transcribe?, scenes?) Fetch a link and return metadata, caption, transcript and still frames
watch_file(path, frames?, language?, transcribe?, scenes?) The same for a video file on your computer, e.g. a screen recording
frames_at(path, seconds, crop?) Still frames at exact moments, to look closer at something; crop zooms into part of the picture, e.g. to read a small error message

Ideas for prompts:

  • "Watch this reel and build me exactly the app it shows."
  • "Summarize this TikTok and list every product shown."
  • "Is the claim in this reel true? Check the transcript."
  • "Translate what is said in this video into English."
  • "Write down the recipe from this Short with amounts."
  • "Show me the moment at 0:42 again, what does the screen say?"

Quick look without transcript: for screen recordings or clips without speech, ask for a few frames and no transcript, for example "Look at C:\Videos\bug.mp4 with 6 frames and no transcript." It answers in seconds because Whisper does not run.

Bug reports from screen recordings: the prompt bug_report turns a screen recording into a bug report: steps to reproduce with timestamps, expected and actual behaviour, and every visible error message word for word. Claude is asked to zoom in to read small text and to replace passwords, e-mail addresses and other private data with [redacted]. In Claude Code, type /mcp__reel-lens__bug_report; other apps that support MCP prompts list it under reel-lens. Without prompt support, just ask: "Turn this screen recording into a bug report: C:\Users\me\Videos\bug.mp4".

How fast is it?

Measured on one Windows 11 PC, CPU only, with the default model small:

Video Download Transcript
16 s Instagram Reel 3–5 s 4 s
41 s X video 2–4 s 4 s
9:38 min YouTube video (1080p) 51 s 130 s

On computer-generated German test speech (53 s, once clean and once with loud noise), small got 0 % and 4 % of the words wrong, medium 1 % and 3 %. medium took 2.5 times as long and is a 1.5 GB download instead of 480 MB. That is why small is the default. Try medium for dialects, fast speech or noisy audio.

Configuration

Set environment variables in the env block of your MCP config.

Variable Default Meaning
REEL_LENS_WHISPER_MODEL small tiny, base, small, medium, large-v3. Bigger is more accurate but slower.
REEL_LENS_WHISPER_DEVICE auto auto uses an NVIDIA GPU if its CUDA 12 libraries are installed, otherwise the CPU. Or set cpu or cuda.
REEL_LENS_WHISPER_COMPUTE int8 Precision; int8 is fastest on CPU
REEL_LENS_COOKIES_FROM_BROWSER – e.g. firefox, for sites that need you to be logged in
REEL_LENS_COOKIES_FILE – Path to a cookies.txt instead
REEL_LENS_KEEP_HOURS 24 Downloaded videos are deleted after this many hours (0 keeps them)
REEL_LENS_MAX_MINUTES 20 Longer videos are refused
REEL_LENS_MAX_FILESIZE_MB 500 Larger files are not downloaded
REEL_LENS_FRAME_MAX_SIDE 1024 Longest side of still frames in pixels
REEL_LENS_CACHE ~/.cache/reel-lens Where videos, transcripts and models are kept (Windows: %USERPROFILE%\.cache\reel-lens)

Example:

"env": { "REEL_LENS_WHISPER_MODEL": "medium", "REEL_LENS_COOKIES_FROM_BROWSER": "firefox" }

Troubleshooting

"login required" or "rate-limit" (Instagram, X, Reddit, …) Log in to the site in Firefox and set REEL_LENS_COOKIES_FROM_BROWSER=firefox. On Windows yt-dlp often can't read Chrome's cookies. Or save the video yourself and use watch_file. Cookies are credentials: never share or commit a cookies.txt.

A site suddenly stops working Sites change often and yt-dlp follows quickly. With uvx, run uvx --refresh reel-lens-mcp once to pick up the newest version.

Transcription is slow Use REEL_LENS_WHISPER_MODEL=base, or an NVIDIA GPU with REEL_LENS_WHISPER_DEVICE=cuda (needs NVIDIA's CUDA 12 and cuDNN 9 libraries).

The transcript is nonsense Over music without speech Whisper sometimes invents words. reel-lens marks such lines as (unsure) and tells Claude to rely on the frames and caption.

How it works

link ──► yt-dlp ──► video in local cache ──┬─► PyAV ───────────► still frames (JPEG)
                                           ├─► faster-whisper ─► transcript with timestamps
                                           └─► metadata ───────► creator, caption, stats
                                                   │
                                     MCP (stdio) ◄─┘──► Claude

Downloading, still frames and transcription run on your computer. Your AI client receives the frames, transcript and metadata and sends them to its AI provider, like everything else in the chat. Downloaded videos are deleted after 24 hours by default; transcripts are cached so follow-up questions are instant.

Captions and spoken words come from other people. reel-lens marks them as untrusted content and asks the AI to report instructions hidden in them instead of following them. This lowers the risk of prompt injection, but cannot rule it out.

Privacy and limitations

  • Stays on your computer: downloading, still frames and transcription. Apart from the video download and a one-time download of the Whisper model, reel-lens sends nothing anywhere.
  • Goes to your AI provider: your AI client passes the frames, transcript, metadata and local file path to its model, like any other chat content. Don't use reel-lens on recordings you wouldn't share in a chat.
  • Stays on disk: downloaded videos are deleted after 24 hours (REEL_LENS_KEEP_HOURS). Transcripts and Whisper models stay in the cache folder until you delete it.
  • Limits: videos up to 20 minutes and 500 MB by default. Still frames are picked where the picture changes and near-identical moments are left out (by default at most 4 to 12 per video; ask for evenly spaced frames if you prefer them). A short moment can still be missed; ask for it with frames_at. Transcripts can contain mistakes, especially over music.
  • Logins: some posts can only be seen when logged in. reel-lens can use your own browser login if you set it up (see Configuration), but it never gets around logins or paywalls.

Development

git clone https://github.com/selim163/reel-lens-mcp
cd reel-lens-mcp
uv sync
uv run --extra dev pytest -q

The test suite runs offline and creates its own test clips. See CONTRIBUTING.md. Pull requests are welcome!

Helping with an AI assistant? CONTRIBUTING.md lets you choose how to help (report a problem, test on your computer, small fix, new feature) and has a ready-made prompt for each. AGENTS.md prepares any AI coding assistant for this repository.

Responsible use

reel-lens is made for understanding videos, not for collecting or redistributing them. Only use it with content you are allowed to access, respect the creators' rights and the terms of the sites you use, and don't share downloaded material. You are responsible for how you use it.

License

MIT. Dependencies have their own licenses (yt-dlp: Unlicense, faster-whisper: MIT, PyAV: BSD, Pillow: MIT-CMU, NumPy: BSD, MCP SDK: MIT); the ffmpeg binary shipped by imageio-ffmpeg is LGPL/GPL.

Support

reel-lens is free and stays free. If it saves you time, you can support its development on GitHub Sponsors. A star on GitHub helps too.

Metadata

Release files for reel-lens-mcp 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for reel-lens-mcp 0.3.0
File Size Uploaded Provenance Actions
reel_lens_mcp-0.3.0.tar.gz 811.6 kB With provenance Details for reel_lens_mcp-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for reel-lens-mcp 0.3.0
File Interpreter ABI Platform Actions
reel_lens_mcp-0.3.0-py3-none-any.whl Python 3 none any Details for reel_lens_mcp-0.3.0-py3-none-any.whl

Total release size: 855.8 kB

Release files / reel_lens_mcp-0.3.0.tar.gz

Download URL reel_lens_mcp-0.3.0.tar.gz
Size 811.6 kB
Tags Source
SHA-256 checksum
How to use checksums
ae041157fca0be290f7fa58a3d2fe32816493070558c39996a4b6f669a057aec
BLAKE2b-256 checksum
How to use checksums
3514a654283c00323bca6c022b53f0ceb021103ae9d301e27547b0608ca1f905
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.

Transparency log

Release files / reel_lens_mcp-0.3.0-py3-none-any.whl

Download URL reel_lens_mcp-0.3.0-py3-none-any.whl
Size 44.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b7d7e1fb2892310b7735b3afef616d58ce0e64c062b77ce75c384251993312ee
BLAKE2b-256 checksum
How to use checksums
cfeb0e8fa1801ef9d43591393426f5f1ea3f76f5e888cadd2938598d27c22a50
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.

Transparency log

Security for reel-lens-mcp 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for reel_lens_mcp-0.3.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page