
Anylens
io.github.SlowperPublished by GitHub account Slowperv0.5.3Updated Nov 3, 2026
Turn videos, PDFs, screenshots, and articles into anchored, cached understanding for agents.
Overview
Turns videos, PDFs, screenshots and articles into cached, timestamp- or page-anchored analyses that an assistant can query through different lenses.
- What you can do
- Analyze a URL or local file and poll the job until a cached understanding exists
- Render that understanding through lenses such as student, developer, uiux, researcher, teardown, spec, blueprint, design or raw
- Ask a single anchored question about an analyzed source, or list available lenses
- Cut a described segment to video, export flashcards or markdown/JSON/HTML, and narrate a source to audio
- Extract a reusable style from analyzed videos and apply it to plan new work
- When to use it
- Useful when an assistant needs to work from material it cannot read directly — conference talks, demos, screen recordings, scanned PDFs, articles — and the claims must be traceable to a timestamp or page. Also suited to coding agents that want implementable requirements or design tokens from a source.
- Requirements
- Runs locally over stdio with Bun 1.3+, yt-dlp and ffmpeg installed; the README installs from a cloned repository and notes npx anylens mcp once published. Needs a GOOGLE_API_KEY for analysis and lens rendering, with optional GROQ_API_KEY, ANTHROPIC_API_KEY or OPENAI_API_KEY, set in ~/.anylens/env or the web UI. Network access to those APIs and to the source URLs.
Installation
In SourceWeft
- Open Anylens in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
anylens
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.
Why not just ask a chatbot to summarize it?
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:
- Verifiable — every claim carries its timestamp or page.
statedis never blurred withinferred. Missing analysis is named, not hidden. - Many readers, one extraction — the expensive pass runs once and is cached forever; a second lens is cheap and instant.
- Reads what was shown — on-screen code, slides, UI states, demos, not just the words. A silent ten-second screen recording still produces a full analysis.
- Built for agents too — the
speclens turns any source into implementable requirements with acceptance criteria, over MCP. - Knows how it was made — for video, a production pass captures the music,
the sound design, the shot rhythm, the motion and typography, and turns it
into a recipe you (or a generator) can rebuild from. Content lenses let an
agent know; the
blueprintlens lets it make.
Lenses
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).
Quickstart
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:
Use it from an agent — any MCP client
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.
What it reads
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
Contributing
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.
Source: README.md at commit 3579dc5
Tools
0Version history
1- v0.5.3LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts