GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
作者による説明(英語の原文)
A queryable graph of a codebase: impact, callers, tests to run, history. No model, no network.
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"mcpServers": {
"glasir": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/attackwave/glasir:v0.11.6",
"serve",
"/tree"
]
}
}
}ターミナルでこれを実行します
claude mcp add glasir -- docker run -i --rm ghcr.io/attackwave/glasir:v0.11.6 serve /treeプロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"glasir": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/attackwave/glasir:v0.11.6",
"serve",
"/tree"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"glasir": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/attackwave/glasir:v0.11.6",
"serve",
"/tree"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月8日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント Attackwave で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(0.11.6)がレジストリに届いたのは今日です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにDockerも必要です。
同じカテゴリには:GitHub, Desktop Commander, Cloudflare MCP
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
Deterministic code intelligence for repositories. Glasir builds a local, queryable graph of definitions, references, dependencies, and change impact, then serves bounded evidence over MCP. It gives engineering tools structural answers instead of an unfiltered file dump: what calls this, what breaks if it changes, and how two symbols connect.
*Glasir is the tree with golden leaves that stands before Valhalla, "the fairest among gods and men" — a tree whose every branch is visible from the ground.*
One Rust binary. No Python, no Node, no database, no GPU, and no model anywhere in the index or query path — the same tree and the same question always produce the same answer.
Production deployments pair the Core with Glasir Control for tenant policy,
mTLS boundaries, audited administration, cross-repository review, and
provider pull-request checks.
Install with the package manager you already use:
brew install attackwave/glasir/glasir # macOS, Linux
scoop bucket add glasir https://github.com/Attackwave/scoop-glasir scoop install glasir # Windows
Or download the archive for your platform from Releases, check it against the .sha256 beside it or its build provenance (gh attestation verify --repo Attackwave/glasir), and put glasir on your PATH:
| Platform | Archive |
|---|---|
| Linux x86_64 | glasir- -linux-x86_64.tar.gz |
| Linux ARM64 | glasir- -linux-arm64.tar.gz |
| macOS Apple Silicon | glasir- -macos-arm64.tar.gz |
| macOS Intel | glasir- -macos-x86_64.tar.gz |
| Windows x86_64 | glasir- -windows-x86_64.zip |
The Linux binaries are statically linked and run on any distribution, including Alpine and older enterprise releases. A binary downloaded by hand on macOS is not yet notarized, so macOS refuses its first start; clear the flag once, after checking the checksum: xattr -d com.apple.quarantine glasir. Homebrew installs are not affected.
Clients that read the MCP registry list Glasir as io.github.Attackwave/glasir; that entry runs the container image with the repository mounted read-only.
Then, in the repository you want to ask about:
glasir install .
That finds the coding assistants installed on your machine — by their program on PATH, their settings in your home directory, or their files in the project — and registers Glasir with each, in the project's own configuration:
| Assistant | File |
|---|---|
| Claude Code | .mcp.json |
| Codex | .codex/config.toml |
| Gemini CLI | .gemini/settings.json |
| Qwen Code | .qwen/settings.json |
| Antigravity | .agents/mcp_config.json |
| Cursor | .cursor/mcp.json |
| VS Code (Copilot) | .vscode/mcp.json |
| OpenCode | opencode.json |
The server it registers runs with --watch, so the graph follows your edits while the assistant runs. It also installs git hooks that keep the graph current after a pull, checkout or rebase. For Claude Code it adds a SessionStart hook to .claude/settings.local.json: in an analysed tree, the session starts with a note to load the graph tools, because Claude Code defers MCP tools and an assistant that has not loaded them searches text instead. --no-hook skips both kinds. A registration file it creates holds absolute paths to your machine, so it is added to .gitignore; one your team already tracks is merged into, never replaced, and nothing in your home directory is touched. With no assistant detected it writes a neutral glasir-mcp.json for any MCP client. --platform picks one explicitly.
Several assistants on one tree share one server. What a client starts is a small relay to that tree's backend, which it starts when none runs: one graph, one watcher, whatever number of assistants are open. The backend ends a minute after the last client closes, and is started again when one returns. After ten minutes without a request it lets the graph go and stops watching, and the next request loads it again (--sleep-after , 0 keeps it). A relay a client forgets to close costs a few megabytes and no CPU. glasir servers lists what runs; --stop-replaced ends a server a client replaced without closing it. On Windows each client keeps its own server.
Most assistants ask before they start a new server: Claude Code and Qwen Code want the server approved, Codex and Gemini CLI read project settings only in a folder you have trusted, and Antigravity asks before its first use of an MCP tool. install prints the step for each one it wrote.
In Claude Code the plugin does the same without a step per repository, once glasir is on your PATH:
/plugin marketplace add Attackwave/glasir
/plugin install glasir@glasir
It serves whichever git repository a session starts in, and starts nothing elsewhere. Its generated files go into .git/info/exclude, so nothing tracked changes. Use the plugin or glasir install in a tree, not both: each brings its own copy of the server.
Restart the assistant and ask it something about the code: *"what breaks if I change parse_config?"*, *"how does a request reach the database?"*. The answers come from impact, query_graph, shortest_path and twelve more tools listed under What it serves.
glasir status . # what is registered, what the graph holds
glasir why "your question" # what the search saw, when an answer surprises you glasir view . # the graph as a map in the browser, one region per subsystem glasir review # the uncommitted change as a Markdown review: risk, dependents, tests glasir export . > graph.json # the graph as node-link JSON, for another tool glasir servers # running servers; --stop-replaced ends those a client replaced glasir uninstall . # remove the registration and the hooks
Everything your .gitignore files leave in, at every level of the tree, minus build output and dependencies (target, node_modules, dot-directories). A .glasirignore beside them uses the same syntax and wins over them, so it can both exclude more and bring back what git ignores:
# .glasirignore
!plan.md # untracked, but worth asking about !/reference/ # git ignores the whole directory ... /reference/scans/ # ... of which only this part stays out
A tree holding a copy of itself, such as an amalgamated header or a vendored snapshot, defines each name twice, and calls to an ambiguous name stay unlinked. overview names such directories; exclude the copy here.
As in git, a file inside an ignored directory comes back only once the directory does (!/reference/ above). Only ignore files inside the tree count — not your global excludes file and not .git/info/exclude — so the same commit gives the same graph on every machine, whatever each developer ignores locally.
Instruction files for coding assistants (AGENTS.md, CLAUDE.md, GEMINI.md and their .local.md variants, COPILOT.md, OPENAI.md, CHATGPT.md) and CONTRIBUTING.md, CHANGELOG.md, CODE_OF_CONDUCT.md are left out by default: they describe how to work on the code in the words a question is asked in, and outrank the code they describe. A project that wants one indexed names it in .glasirignore, e.g. !AGENTS.md. A change to either file takes effect on the next analysis, and immediately under --watch.
Of .github, the workflows, local actions and scripts/ are indexed although it is a dot-directory: a workflow's jobs are symbols, needs connects them, and uses: ./… and the scripts a step runs connect the job to those files, so impact on a script and review of a workflow see each other.
Search finds text. A graph preserves the relationships that make a repository behave as a system.
For example, answering "what is affected if authorize changes?" with search requires finding candidate files, interpreting each call site, and repeatedly reconstructing transitive dependencies. impact follows stored, provenance-labelled edges and returns affected symbols grouped by distance. Likewise, shortest_path shows the evidence-backed route between two symbols instead of asking a caller to infer one from unrelated file excerpts.
| Need | Search and file reading | Glasir |
|---|---|---|
| Find text mentioning a name | Useful | Useful |
| Find direct callers | Manual interpretation required | Direct graph query |
| Assess transitive impact | Reconstruct dependencies repeatedly | Bounded traversal with edge provenance |
| Explain how A reaches B | Infer a path from excerpts | Return a concrete path |
The graph does not claim to translate arbitrary natural language. Search uses deterministic identifier and text matching; unresolved or ambiguous symbols remain visible as such rather than being guessed.
Glasir ships regression benchmarks, not vendor-comparison claims. They compare the checked-in corpus with a documented grep-and-read baseline and fail when a configured recall floor regresses. Results change as the corpus, questions and implementation change, so this README intentionally does not publish static percentages or token counts.
glasir benchmark .
glasir benchmark . --check python3 bench/scale.py target/release/glasir --check # 100k vs 1M lines
Benchmark methodology defines the corpus, baseline, token estimate, limits, and interpretation. It also explains why results from this repository are not a substitute for an evaluation on a customer's code.
Indexing and query latency depend on source shape, parser tier, storage, hardware, and the requested graph traversal. The analyse command reports the measured cold-index time and graph size for a repository; running it a second time measures snapshot reuse. Evaluate performance with the exact release, repository shape, and deployment limits that will be used in production.
Snapshots are stored beside the source tree and validated before reuse. A warm start maps the stored graph instead of reparsing the full tree, provided the source and extraction configuration still match.
Fifteen MCP tools, over stdio for a local editor or Streamable HTTP for a remote agent:
overview — the subsystems of an unfamiliar tree and the way into each; in a Rust workspace its crates, and each subsystem named by its cratequery_graph — the subgraph relevant to a question; given a file's path, every definition in that fileshortest_path — how one symbol reaches anotherexplain_node — callers, callees and subsystem of one symbolimpact — what breaks if this changes, grouped by distancecycles — dependency cycles, compiler-resolved edges only by defaultget_code_snippet — the source a symbol names, from the range the parser recorded, so nothing has to open the file or guess a line; a Markdown section returns that section, not the whole document, and following: N reads on through the next N definitions. An assembly routine that branches or falls into another says where it continuesfind_callers — the direct callers of one symbol, as one list, and the definitions that use it by name without calling it (a type in a signature, a constant re冒頭だけを表示しています。続きはリポジトリで読めます