What it does
Glasir builds a local graph of a repository's definitions, references, dependencies and change impact, then serves bounded answers to coding assistants over MCP. It answers questions such as what calls a symbol, what breaks if it changes, which tests to run, how two symbols connect, and what the change history shows. It ships as a single Rust binary, and no model is used in indexing or querying, so the same commit and question return the same answer.
It is suited to assistants that need structural answers about a repository instead of text search over raw files. The installer registers the server with Claude Code, Codex, Gemini CLI, Qwen Code, Antigravity, Cursor, VS Code (Copilot) and OpenCode, and a Claude Code plugin is also available.
Installation uses a package manager or a platform archive for Linux, macOS or Windows. Running `glasir install` in a repository writes each assistant's project configuration, and the server watches the tree while the assistant runs. Git hooks refresh the graph after pulls, checkouts and rebases. Indexing follows .gitignore files, and a .glasirignore file can add or restore paths. The backend stops and unloads the graph after a period without requests.
Limitations and requirements
On macOS, a binary downloaded by hand is not yet notarized and needs its quarantine flag cleared after checking the checksum; Homebrew installs are not affected. Claude Code defers MCP tools, so an assistant must load the graph tools before using them. Claude Code and Qwen Code require approval of the server, Codex and Gemini CLI read project settings only in trusted folders, and Antigravity asks before its first use of an MCP tool.
Safety
Our team has not reviewed this resource. Only automated rules checked it; resources with high-risk signals are not published. These are signals, not a guarantee that installing it is safe. Try it in a sandbox project first.
- Runs code or changes an assistant's behaviour
Sources
- Official MCP Registry first seen 13 Nov 2026 · last seen 13 Nov 2026 · its page on the source
Glasir
A queryable graph of a codebase: impact, callers, tests to run, history. No model, no network.
v0.13.2As shown on registry.modelcontextprotocol.io when we last read it