io.github.Anandb71/arbor
编码与调试by anandb71
面向代码的 Graph-Native 智能层,帮助以图结构方式理解、组织并分析代码关系。
用图结构把分散的代码关系串起来,帮你更快看懂复杂项目与依赖脉络;Graph-Native 智能层让跨文件分析和重构决策都更有把握。
什么是 io.github.Anandb71/arbor?
面向代码的 Graph-Native 智能层,帮助以图结构方式理解、组织并分析代码关系。
README
Arbor
Graph-native intelligence for codebases.
Know what breaks before you break it.
<p align="center"> <a href="https://github.com/Anandb71/arbor/actions"><img src="https://img.shields.io/github/actions/workflow/status/Anandb71/arbor/rust.yml?style=flat-square&label=Rust%20CI" alt="Rust CI" /></a> <a href="https://crates.io/crates/arbor-graph-cli"><img src="https://img.shields.io/crates/v/arbor-graph-cli?style=flat-square&label=crates.io" alt="Crates.io" /></a> <a href="https://github.com/Anandb71/arbor/releases"><img src="https://img.shields.io/github/v/release/Anandb71/arbor?style=flat-square&label=release" alt="Latest release" /></a> <a href="https://github.com/Anandb71/arbor/pkgs/container/arbor"><img src="https://img.shields.io/badge/GHCR-container-blue?style=flat-square" alt="GHCR" /></a> <a href="https://glama.ai/mcp/servers/@Anandb71/arbor"><img src="https://img.shields.io/badge/MCP%20Directory-Glama-6f42c1?style=flat-square" alt="Glama MCP Directory" /></a> <img src="https://img.shields.io/badge/license-MIT-green?style=flat-square" alt="MIT License" /> </p>Table of Contents
- Why Arbor
- What you get
- Visual tour
- Quickstart
- Installation options
- MCP integration
- Language support
- Architecture and docs
- Git-aware CI workflows
- Release channels
- Contributing
- Contributors
- Security
- License
Why Arbor
Most AI code tooling treats code as text retrieval.
Arbor builds a semantic dependency graph and answers execution-aware questions:
- If I change this symbol, what breaks?
- Who calls this function, directly and transitively?
- What is the shortest architectural path between these two nodes?
You get deterministic, explainable impact analysis instead of approximate keyword matches.
What you get
- Blast radius analysis with confidence levels and role classification
- Graph-backed symbol resolution across files and language boundaries
- CLI + GUI + MCP bridge sharing the same analysis engine
- Incremental indexing for fast inner-loop development
- Git-aware checks for pull-request risk gates
Visual tour
<p align="center"> <img src="docs/assets/arbor-demo.gif" alt="Arbor demo animation" width="760" /> </p> <p align="center"> <img src="docs/assets/visualizer-screenshot.png" alt="Arbor visualizer screenshot" width="760" /> </p>For a full-screen recording of the workflow, see media/recording-2026-01-13.mp4.
Quickstart
# 1) Install Arbor CLI
cargo install arbor-graph-cli
# 2) Initialize in your repository
cd your-project
arbor setup
# 3) Explore impact before refactor
arbor refactor <symbol-name>
# 4) Optional: run git-aware checks
arbor diff
arbor check --max-blast-radius 30
# 5) Launch GUI
arbor gui
Installation options
Use whichever channel fits your environment:
# Rust / Cargo
cargo install arbor-graph-cli
# Homebrew (macOS/Linux)
brew install Anandb71/tap/arbor
# Scoop (Windows)
scoop bucket add arbor https://github.com/Anandb71/arbor
scoop install arbor
# npm wrapper (cross-platform)
npx @anandb71/arbor-cli
# Docker
docker pull ghcr.io/anandb71/arbor:latest
No-Rust installers:
- macOS/Linux:
curl -fsSL https://raw.githubusercontent.com/Anandb71/arbor/main/scripts/install.sh | bash - Windows PowerShell:
irm https://raw.githubusercontent.com/Anandb71/arbor/main/scripts/install.ps1 | iex
For pinned/versioned installs, see docs/INSTALL.md.
MCP integration
Arbor includes a real MCP server via arbor bridge (stdio transport).
Claude Code quick install
claude mcp add --transport stdio --scope project arbor -- arbor bridge
claude mcp list
Multi-client setup
- Full guide: docs/MCP_INTEGRATION.md
- Ready templates:
templates/mcp/ - Bootstrap scripts:
scripts/setup-mcp.shscripts/setup-mcp.ps1
Registry verification (authoritative)
- Registry name:
io.github.Anandb71/arbor - Official API lookup: https://registry.modelcontextprotocol.io/v0.1/servers?search=io.github.Anandb71/arbor
[!NOTE]
github.com/mcpsearch UI may lag indexing. Use the official registry API lookup above as source of truth.
Language support
Arbor supports production parsing and graph analysis across major ecosystems:
- Rust
- TypeScript / JavaScript
- Python
- Go
- Java
- C / C++
- C#
- Dart
- Kotlin (fallback parser)
- Swift (fallback parser)
- Ruby (fallback parser)
- PHP (fallback parser)
- Shell (fallback parser)
Detailed parser notes and expansion guidance:
Architecture and docs
Start here when you need deeper internals:
- docs/QUICKSTART.md
- docs/ARCHITECTURE.md
- docs/GRAPH_SCHEMA.md
- docs/PROTOCOL.md
- docs/MCP_INTEGRATION.md
- docs/ROADMAP.md
Git-aware CI workflows
Arbor supports pre-merge risk checks and change gating:
arbor diff
arbor check --max-blast-radius 30
arbor open <symbol>
Use the repository GitHub Action for CI integration:
name: Arbor Check
on: [pull_request]
jobs:
arbor:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: Anandb71/arbor@release/v1.8
with:
command: check . --max-blast-radius 30
Release channels
Automated release distribution includes:
- GitHub Releases (platform binaries)
- crates.io
- GHCR container images
- npm wrapper package
- VS Code Marketplace / Open VSX extension channels
- Homebrew + Scoop
Runbook: docs/RELEASING.md
Contributing
Contributions are welcome.
- Start with: CONTRIBUTING.md
- Code of conduct: CODE_OF_CONDUCT.md
- Security policy: SECURITY.md
- Good first tasks: docs/GOOD_FIRST_ISSUES.md
For local development:
cargo build --workspace
cargo test --workspace
Contributors
<!-- CONTRIBUTORS:START --> <p align="center"> <em>Automatically maintained by <code>.github/workflows/contributors.yml</code>.</em> </p> <!-- CONTRIBUTORS:END -->Security
Arbor is local-first by design:
- No mandatory data exfiltration
- Offline-capable workflows
- Open-source code paths
Report vulnerabilities via SECURITY.md.
License
MIT — see LICENSE.
常见问题
io.github.Anandb71/arbor 是什么?
面向代码的 Graph-Native 智能层,帮助以图结构方式理解、组织并分析代码关系。
相关 Skills
前端设计
by anthropics
面向组件、页面、海报和 Web 应用开发,按鲜明视觉方向生成可直接落地的前端代码与高质感 UI,适合做 landing page、Dashboard 或美化现有界面,避开千篇一律的 AI 审美。
✎ 想把页面做得既能上线又有设计感,就用前端设计:组件到整站都能产出,难得的是能避开千篇一律的 AI 味。
网页构建器
by anthropics
面向复杂 claude.ai HTML artifact 开发,快速初始化 React + Tailwind CSS + shadcn/ui 项目并打包为单文件 HTML,适合需要状态管理、路由或多组件交互的页面。
✎ 在 claude.ai 里做复杂网页 Artifact 很省心,多组件、状态和路由都能顺手搭起来,React、Tailwind 与 shadcn/ui 组合效率高、成品也更精致。
网页应用测试
by anthropics
用 Playwright 为本地 Web 应用编写自动化测试,支持启动开发服务器、校验前端交互、排查 UI 异常、抓取截图与浏览器日志,适合调试动态页面和回归验证。
✎ 借助 Playwright 一站式验证本地 Web 应用前端功能,调 UI 时还能同步查看日志和截图,定位问题更快。
相关 MCP Server
GitHub
编辑精选by GitHub
GitHub 是 MCP 官方参考服务器,让 Claude 直接读写你的代码仓库和 Issues。
✎ 这个参考服务器解决了开发者想让 AI 安全访问 GitHub 数据的问题,适合需要自动化代码审查或 Issue 管理的团队。但注意它只是参考实现,生产环境得自己加固安全。
Context7 文档查询
编辑精选by Context7
Context7 是实时拉取最新文档和代码示例的智能助手,让你告别过时资料。
✎ 它能解决开发者查找文档时信息滞后的问题,特别适合快速上手新库或跟进更新。不过,依赖外部源可能导致偶尔的数据延迟,建议结合官方文档使用。
by tldraw
tldraw 是让 AI 助手直接在无限画布上绘图和协作的 MCP 服务器。
✎ 这解决了 AI 只能输出文本、无法视觉化协作的痛点——想象让 Claude 帮你画流程图或白板讨论。最适合需要快速原型设计或头脑风暴的开发者。不过,目前它只是个基础连接器,你得自己搭建画布应用才能发挥全部潜力。