Developer tools

Glimpse lets AI agents render interactive codebase views via MCP

Glimpse is a new open-source tool that enables coding agents to generate interactive visualizations of repositories using a local MCP server and A2UI components.

A wireframe cube connected to a screen showing chart plates
Illustration generated for this article

GitHub user svailla4 has released Glimpse, an open-source project that allows coding agents to render interactive visualizations of software repositories directly in the browser. Published on November 23, 2026, this tool combines a component library with a Model Context Protocol (MCP) server to let AI assistants show architecture maps, churn analysis, and file diffs instead of just describing them in text.

What happened

Glimpse introduces a novel approach to generative user interfaces for codebases. Rather than asking a large language model to generate HTML or SVG for every visualization, which is token-intensive and slow, Glimpse separates the specification from the rendering. The AI agent writes a concise spec naming components and data sources, while a local server computes the data and renders the view using a pre-built library of React components.

The project consists of two main parts: a component library featuring 44 React components adhering to the A2UI v1.0 catalog and a unified design language called Linework, and an MCP server with five specific tools. The server compiles the agent's specification, runs repository analyzers locally, and hosts the viewer on localhost. This ensures that sensitive code data never leaves the developer's machine, addressing privacy concerns common in AI-assisted development.

Currently, Glimpse 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. However, it has primarily been tested on macOS with Chromium and has undergone only one round of testing with a model writing specs. The status page notes known limitations, indicating it is best suited for early adopters willing to navigate a developing ecosystem.

How it works

The core mechanism relies on the Model Context Protocol (MCP) to bridge the gap between the AI agent and the local file system. When a user asks for a visualization, such as an overview of the repository, the agent outputs a short specification string like show{view:"overview"}. This spec is sent to the Glimpse MCP server, which interprets the request and fetches the necessary data from the local git repository or file structure.

The server then binds this data to the appropriate components from the A2UI catalog. These components are rendered in a browser tab running on 127.0.0.1. The interface uses a distinct visual style where each component is a "plate" with registration ticks and serif titles, resembling an engineering atlas. Interactions within the browser, such as clicking a file in a table or a node in a graph, are captured and sent back to the agent via the events tool. This feedback loop allows the agent to understand what the user is seeing and adjust its responses accordingly, creating a shared context between the human, the AI, and the codebase.

Key details

  • Component Library: Includes 44 React components behind an A2UI v1.0 catalog, all styled with the Linework design language.
  • Local Processing: Data computation happens entirely on the user's machine, ensuring code privacy and reducing token usage by avoiding raw data transmission to the model.
  • Preset Views: Offers ten built-in views including overview, dependency maps, hotspot analysis, git history, and diff reviews with blast radius calculation.
  • Installation: Available as a Claude Code plugin via the marketplace or as a standalone MCP server for other hosts supporting stdio.
  • Feedback Mechanism: The server returns structured results indicating what was corrected (fixed) and what failed to render (warn), allowing the agent to self-correct its specifications.
  • Requirements: Requires Node 22.18 or newer and git on the PATH; currently tested primarily on macOS with Chromium.

Why it matters

For software engineers and technical leads, Glimpse represents a shift from text-based AI interactions to visual, interactive collaboration. Traditional AI coding assistants often struggle to convey complex architectural relationships or historical trends through text alone. By enabling agents to render interactive charts and graphs, Glimpse allows developers to explore codebases more intuitively. This can significantly reduce the cognitive load required to understand large or unfamiliar repositories, speeding up onboarding and code review processes.

From a technical implementation perspective, Glimpse demonstrates a practical application of the Model Context Protocol beyond simple text retrieval. It shows how MCP can be used to offload heavy computational tasks and rendering to local services, keeping the AI model focused on high-level reasoning and specification. This pattern of "model names, machine renders" is likely to become a standard for building efficient and privacy-preserving AI tools, as it minimizes token costs and latency while maximizing the richness of the user interface.

What you can do

  • Install Glimpse as a Claude Code plugin using claude plugin marketplace add svailla4/glimpse to quickly test its capabilities in your existing workflow.
  • Explore the ten preset views by asking your coding agent to "show me an overview" or "what does this branch change?" to see how visualizations can clarify code structure.
  • Review the source code on GitHub to understand how the A2UI specs are structured and how the MCP server handles data binding and error correction.
  • Test the standalone MCP server with other AI hosts by configuring the mcpServers entry in your host's configuration file to point to the bundled server.mjs.
  • Contribute to the project by reporting issues or submitting pull requests, especially if you encounter compatibility problems on non-macOS systems or with browsers other than Chromium.
  • Experiment with writing custom specs using the A2UI Express syntax to create tailored views for specific analysis tasks, such as tracking feature implementation or analyzing rate limiter logic.
  • #ai
  • #mcp
  • #developer-tools
  • #visualization
  • #open-source

Tools from the Bytechap store

Keep reading

All stories