Glimpse – Generative UI for Codebases in Claude Code Glimpse, a plugin for Anthropic's Claude Code, lets a coding agent render repository views in a local browser tab instead of describing them in text, using 44 React components behind an A2UI v1.0 catalog and an MCP server with five tools. The agent writes a short spec — about five output tokens for a preset view like show{view:"overview"} and 20 to 160 tokens for a bespoke one — while the 26 data sources are computed locally on the user's machine and never pass through the model, at an up-front cost of roughly 1,250 tokens per session. The project is described as working but young: all 44 components, 26 data sources, ten preset views and five tools are implemented and covered by unit, component and end-to-end tests, but it has been run only on macOS with Chromium and has had one round of testing with a model writing the specs, and it requires Node 22.18 or newer plus git on the PATH. Generative UI for codebases. Glimpse lets a coding agent show you a repository instead of describing it: an architecture map, a churn-against-complexity scatter, a sortable hotspot table, a diff with its blast radius, a guided tour through a file. The agent writes a few lines naming components and data sources; a local server computes the data on your machine and a browser tab draws it. Glimpse is two things: - A component library : 44 React components behind an A2UI https://a2ui.org v1.0 catalog, drawn in one design language, Linework. - An MCP server with five tools. It compiles the agent's spec, runs the repository analyzers, and hosts the viewer on 127.0.0.1 . Status: working but young. All 44 components, the 26 data sources, the ten preset views and the five tools are implemented and covered by unit, component and end-to-end tests. It has been run on macOS with Chromium only and has had one round of testing with a model writing the specs. Status and known limitations status-and-known-limitations has the details. There are no screenshots here yet, so in words. A view is a sheet of warm paper under a hairline top bar. Each titled component is a plate : a frame with small registration ticks at the corners, a vermilion PL. 03 numeral and a serif title, like a figure in an engineering atlas. Text is IBM Plex with Newsreader for titles and the large numerals; code and identifiers are monospace. Colour is used for data: a language or a module keeps the same ink in every plate of the session, and vermilion marks the selection. There is a dark theme t and a denser row height d . Everything is linked. Click a file in a table, a treemap cell, a graph node or a commit and it becomes the selection everywhere: a CodeView beside a FileTree is a file browser with no wiring. Diagrams you write link the same way: a Layers or Steps item, an ER table, a table row or a sequence actor with node:'PG' lights with Flowchart node PG, and a selected message lights the boxes and arrows it passes through. Tables sort, filter and page; graphs pan, zoom and let you drag nodes; plates can be dragged into another order or resized, and the tab remembers. While data is being computed a plate shows a drafting frame at its final size; a failure is a redline with the error code, confined to that plate. Asking a model to write an HTML page for every explanation is slow and costs thousands of tokens. Glimpse turns that around: - The model names things; it does not draw them. show{view:"overview"} is about five output tokens. A bespoke view is a few lines of spec, 20 to 160 tokens. - Data stays on your machine. The agent writes DataTable 'git.churn src/auth top=20' . The rows are computed locally and bound straight into the page; they never pass through the model. The tool result carries a one-line summary per dataset row count, field names, the top row so the agent can talk about what you see. - The agent is told what you actually see. A result lists what the server corrected for it fixed and what the tab could not draw warn , so an ok is not a guess. - A standard wire format. Server and viewer speak A2UI v1.0, and the catalog is published as catalog.json . The whole up-front cost for the agent is the server instructions about 3,700 characters plus two tool definitions about 1,150 characters : roughly 1,250 tokens per session. Requirements: Node 22.18 or newer and git on the PATH. claude plugin marketplace add svailla4/glimpse claude plugin install glimpse@glimpse Then start Claude Code in any project and ask for something: "show me an overview of this repo", "what does this branch change?", "walk me through src/auth/service.ts ". The first view opens a browser tab. The plugin brings the MCP server, a skill that tells Claude when to use Glimpse and what a good view of a design, a review or an explanation looks like, the commands /glimpse:design , /glimpse:review and /glimpse:explain , and a UserPromptSubmit hook that passes along what you clicked in the tab since your last prompt. Nothing is built on your machine: the install comes from the release branch, which the release workflow builds from each version tag. To update: claude plugin update glimpse@glimpse or turn on auto-update for the marketplace under /plugin , then /reload-plugins in an open session. plugin/dist the bundled server and the built viewer is build output and is not committed on main . To run your own build: git clone