Turn videos, PDFs, screenshots, and articles into anchored, cached understanding for agents.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
Any link, any lens. Paste a URL β a conference talk, a product demo, a dense PDF, an article β and get it back as understanding shaped for who's asking, with every claim linked to the exact second or page it came from.
Agents can read text. anylens lets them read everything else β and lets you check their work.
A summary is a dead end. You can't verify it, you can't get a different cut of it without paying for it again, it's blind to what was on screen, and no agent can act on it. anylens fixes those four things:
stated is never
blurred with inferred. Missing analysis is named, not hidden.spec lens turns any source into
implementable requirements with acceptance criteria, over MCP.blueprint lens lets it make.| Lens | For | Gives you |
|---|---|---|
student | learning without watching | layered explainer, concept map, flashcards |
developer | building from it | code shown on screen, decisions, implementation steps |
uiux | design study | screens, flows, interaction patterns |
researcher | citable notes | claims + evidence, every one anchored |
teardown | competitive analysis | features (shown vs claimed), flows, positioning |
spec | coding agents | requirements, acceptance criteria, ambiguities |
blueprint | remaking it | music, sound design, shot rhythm, motion, typography β as a production recipe |
design | "make it look like this" | measured colour tokens, spacing and type rhythm, components β as paste-ready CSS |
ask | one specific question | an anchored answer β or an honest "the source doesn't answer this" |
raw | agents, debugging | the Understanding Object itself β no LLM, no cost |
Lenses are single markdown files in src/lenses/. Adding one is adding a
file β no code.
Beyond lenses: anylens can learn a reusable style from analyzed videos β
the pacing, structure, look, motion, and sound as portable rules, every rule
carrying the timestamp it was learned from β then plan new work in that style
(style_extract / style_apply over MCP, or "Learn this style" in the web UI).
Prerequisites: Bun 1.3+, yt-dlp, and ffmpeg
(brew install yt-dlp ffmpeg on macOS).
Keys β run bun run web and paste them on the Your keys page (they're
validated as you save), or create ~/.anylens/env (mode 600) yourself:
Get them at aistudio.google.com and
console.groq.com. Nothing leaves your machine
except the calls you make to those APIs. The text layer is provider-agnostic:
set ANYLENS_TEXT_MODEL=anthropic (or groq, or openai/<model>) to choose
who writes the lenses and answers β the media passes stay on Gemini, which is
what it's genuinely best at.
Try it β from the terminal:
Analysis takes a few minutes the first time and is cached forever after, so
every later lens on the same link returns instantly. Pass a source_id
instead of a URL to re-lens something already analyzed.
Or use the web UI:
anylens speaks standard MCP over stdio, so Claude Code, Codex, Cursor, Gemini CLI, and anything else MCP-capable can use it the same way.
Once published to npm, npx anylens mcp replaces the path form everywhere.
Tools: analyze(url) β status(job_id) β lens(source_id, lens) Β·
ask(source_id, question) Β· clip(source_id, query) Β·
export(source_id, format) Β· audio(source_id) Β·
style_extract / style_apply / style_list Β· lenses().
lens returns { data, markdown } β
typed JSON for the agent, readable markdown for the human, plus a full HTML
page with include_html. ask answers from the cache without re-analyzing.
Video (YouTube, X, LinkedIn, Vimeo, Twitch, Loom, direct files β anything
yt-dlp reaches), audio, PDFs (including scanned and figure-heavy ones, read
page by page with vision), web articles, and images.
Full inventory: docs/FEATURES.md Β· Where it's going: docs/ROADMAP.md Β· Architecture and invariants: AI_INDEX.md
New lenses are the easiest and most valuable contribution β see CONTRIBUTING.md. The codebase is deliberately small files with one concern each, so a change rarely touches more than one place.
MIT licensed.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/anylens)<a href="https://allmcps.com/mcp/anylens"><img src="https://allmcps.com/api/badge/anylens?style=directory" alt="Anylens on AllMCPs" /></a>