
Anylens
io.github.Slowper由 GitHub 账号 Slowper 发布v0.5.3更新于 Nov 3, 2026
Turn videos, PDFs, screenshots, and articles into anchored, cached understanding for agents.
概览
把视频、PDF、截图和文章转成带时间点或页码锚点、可缓存的解析结果,供助手按不同视角查询。
- 可以做什么
- 分析网址或本地文件并轮询任务状态,得到一份缓存的解析结果
- 用 student、developer、uiux、researcher、teardown、spec、blueprint、design、raw 等视角渲染该结果
- 针对已分析的来源提出单个带锚点的问题,或列出可用视角
- 按描述截取片段导出视频,导出闪卡或 markdown/JSON/HTML,并把来源朗读成音频
- 从已分析的视频中提取可复用的风格,并据此规划新作品
- 适用场景
- 当助手需要基于它无法直接阅读的材料工作时适用,例如演讲、演示、录屏、扫描版 PDF 和文章,且结论必须能追溯到具体时间点或页码。也适合需要从来源中得到可实施需求或设计规范的编码助手。
- 运行要求
- 以 stdio 在本地运行,需要 Bun 1.3+、yt-dlp 和 ffmpeg;README 说明从克隆的仓库安装,并提到发布到 npm 后可用 npx anylens mcp。需要 GOOGLE_API_KEY 用于分析与视角渲染,可选 GROQ_API_KEY、ANTHROPIC_API_KEY 或 OPENAI_API_KEY,写在 ~/.anylens/env 或网页界面中。需要访问这些 API 及来源网址的网络。
安装
在 SourceWeft 中
- 打开 控制台中的 Anylens,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
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.
来源:README.md,提交 3579dc5
工具
0版本历史
1- v0.5.3最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分