uiver
Enables AI agents to snapshot UI versions, retrieve live URLs, and compare changes across iterations for local-first web development.
README
uiver
Local-first UI version snapshots. When an AI agent iterates on your website, each build overwrites the last — the "middle" versions vanish. uiver freezes every iteration as a fully interactive, permanently browsable local webpage, so you can step back through history and compare any two versions side by side.
- ⚡ Instant snapshots — content-addressed store; unchanged files are never stored twice
- 🌐 Every version stays live — real pages served at
http://127.0.0.1:4321/v/<project>/<id>/, not screenshots - 🔀 Compare dashboard — side-by-side with synced scrolling, viewport presets,
[/]to scrub history - 🏷 Titles + prompts — each version records what changed and the request that produced it
- 🤖 Agent-native — Claude Code skill + slash commands + MCP tools
- 🧹 Auto-clean cycle — unpinned versions expire after N days (editable in the dashboard); pinned versions are kept forever
- 📦 Share across machines — export any version as a single portable
.uiverbundle
Requires Node ≥ 18.17. Zero npm dependencies.
Install
As a Claude Code plugin (recommended)
/plugin marketplace add vvek475/uiver-plugin
/plugin install uiver@uiver
This gives Claude the ui-snapshot skill (it snapshots automatically after
finishing UI changes), the /uiver:snap, /uiver:dashboard, and
/uiver:versions commands, and MCP tools (ui_snapshot, ui_get_url,
ui_screenshot, …).
CLI on your PATH (optional, for manual use)
cd uiver-plugin && npm link # or: npm install -g .
Quickstart
cd my-website
npm run build # if the site needs building
uiver snap --title "hero v1" --prompt "make the hero full-bleed"
uiver open # dashboard at http://127.0.0.1:4321
Snapshot again after each change. Identical output is deduplicated — calling
snap when nothing changed is a no-op.
CLI
uiver snap [dir] Snapshot a built site (auto-detects dist/build/out/_site)
--title --prompt --note --pin --project --force
uiver list List versions
uiver label [id] <title> Retitle a version (default: latest) [--pin]
uiver pin|unpin [id] Protect/unprotect from auto-clean
uiver delete <id> Delete and reclaim space
uiver serve [--port N] Dashboard server (foreground); --daemon for background
uiver open | stop | status Manage the server
uiver clean [--dry-run] Run the retention cycle now
uiver export <id> Write a portable .uiver bundle
uiver import <file> Import a bundle from another machine
uiver config [key value] port, retentionDays, cleanIntervalHours, autoClean
uiver mcp MCP server on stdio
Dashboard
uiver open — three views:
- Single — browse one version;
[/]step older/newer in place - Split — two versions side by side with synced scrolling and viewport presets
- Manager — file-system-style view of everything stored: per-version sizes, file lists, dedup savings, delete/export/import, and the auto-clean settings (retention days, cycle interval, on/off)
Sharing across machines
uiver export v12 # → my-site-v12.uiver (single gzipped bundle)
# send the file any way you like, then on the other machine:
uiver import my-site-v12.uiver
Bundles are self-contained (manifest + all files, content-hash verified) and
idempotent — importing the same bundle twice never duplicates. Alternatively,
sync the whole store by putting ~/.uiver (or UIVER_HOME) in any synced folder.
Screenshots (optional)
The ui_screenshot MCP tool and /api/screenshot endpoint render versions
headlessly. They require Playwright:
npm i -g playwright && npx playwright install chromium
Everything else works without it.
Storage layout
~/.uiver/
config.json port, retention, clean cycle
objects/<sha256> every unique file, stored once
projects/<name>/manifest.json versions: id, title, prompt, file list
cache/screenshots/
Override the location with the UIVER_HOME env var.
Notes & limitations
- Snapshots freeze the frontend. If a version calls a live API, it will hit whatever that API returns today.
- Builds that hardcode absolute asset paths (
/assets/x.js) are handled via a Referer-based fallback redirect; setting your bundler'sbasepath is cleaner. - The server binds to
127.0.0.1only.
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。