Arbor代码智能分析 是 AI Skill Hub 本期精选MCP工具之一。综合评分 8.2 分,整体质量较高。我们强烈推荐将其纳入你的 AI 工具库,帮助提升工作效率。
基于图神经网络的开源代码智能工具,用AST替代嵌入式RAG实现确定性代码分析。提供精确的代码理解和智能补全,适合开发者、代码审查和AI应用集成场景。
Arbor代码智能分析 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
基于图神经网络的开源代码智能工具,用AST替代嵌入式RAG实现确定性代码分析。提供精确的代码理解和智能补全,适合开发者、代码审查和AI应用集成场景。
Arbor代码智能分析 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/Anandb71/arbor
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"arbor------": {
"command": "npx",
"args": ["-y", "arbor"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 Arbor代码智能分析 执行以下任务... Claude: [自动调用 Arbor代码智能分析 MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"arbor______": {
"command": "npx",
"args": ["-y", "arbor"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
<p align="center"> <img src="docs/assets/arbor-logo.svg" alt="Arbor logo" width="120" height="120" /> </p>
<p align="center"> <strong>Graph-native intelligence for codebases.</strong><br> Know what breaks <em>before</em> you break it. </p>
<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>
<p align="center"> <img src="docs/assets/arbor-demo.gif" alt="Side-by-side: an agent navigating tokio with grep-and-read (47 tool calls, still searching) vs the same agent with arbor's code graph (4 graph calls + 1 read, done)" width="900" /> </p> <p align="center"> <sub>Simulated replay — the <code>arbor</code> commands and their output are real (tokio @ 178k LOC). Methodology: <a href="docs/BENCHMARKS.md">BENCHMARKS.md</a></sub> </p>
v3.0.0 — The Right Node · v2.6.0 stopped dropping colliding symbols. It did not stop resolving them to the wrong one. When a bare name matched several modules, resolution fell through to "same directory" and confidently attached the edge to whichever definition happened to sit next to the caller. On a graded fixture the three largest hubs reported zero downstream impact while unrelated siblings inherited their centrality. A file's own imports now settle it. Reproduce it yourself: getArbor-dev/arbor-torture
---
One fix, measured.
Symbol resolution consults the importing file. When a bare name matched definitions in several modules, resolve_ref fell through to SameDir and attached the edge to whichever definition sat in the caller's own directory — not a dropped edge, a confidently misrouted one, stamped at 0.55 confidence.
GraphBuilder already kept a per-file import map, but only apply_import_validation read it, and that scores an edge after one has been chosen. It never saw the references going to the wrong node. Consulting it between the same-file and same-directory checks keeps a local definition shadowing an import, while letting a written import beat mere adjacency. Resolution::ViaImport scores 0.93, above SameDir's 0.55.
cargo install arbor-graph-cli
```bash
docker pull ghcr.io/anandb71/arbor:latest ```
No-Rust installers:
curl -fsSL https://raw.githubusercontent.com/Anandb71/arbor/main/scripts/install.sh | bashirm https://raw.githubusercontent.com/Anandb71/arbor/main/scripts/install.ps1 | iexPinned installs: docs/INSTALL.md
---
```bash
| Command | Description |
|---|---|
arbor setup | One-shot init + index |
arbor map | Ranked, token-budgeted project skeleton |
arbor query <term> | Fuzzy symbol search (supports \| OR) |
arbor callers / callees <sym> | One-hop graph traversal |
arbor entry-points | HTTP handlers, main, jobs, webhooks |
arbor file-graph <path> | Symbols + edges in one file |
arbor inspect <sym> | Full symbol detail |
arbor path <a> <b> | Shortest call-graph path |
arbor refactor <sym> | Blast radius before refactoring |
arbor diff | Git-change impact report |
arbor check | CI safety gate (--max-blast-radius N) |
arbor summary | Auto-generate PR description |
arbor agent review | Autonomous PR architecture review |
arbor agent onboard | Codebase onboarding guide |
arbor agent guard | Real-time architectural safety gate |
arbor bridge | MCP server (add --http for HTTP transport) |
arbor watch | Live re-index on file changes |
arbor gui | Native desktop UI |
All query commands support --json. map additionally supports --tokens N, --focus "pattern", --focus-changed.
---
arbor bridge
{
"mcpServers": {
"arbor": {
"type": "stdio",
"command": "arbor",
"args": ["bridge"]
}
}
}
Templates: templates/mcp/ · Setup scripts: scripts/setup-mcp.sh · scripts/setup-mcp.ps1
创新性强,以确定性图分析替代概率RAG,技术方向正确。代码质量好,Rust实现高效稳定,有望成为代码智能领域标杆工具。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
经综合评估,Arbor代码智能分析 在MCP工具赛道中表现稳健,质量优秀。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | arbor |
| 原始描述 | 开源MCP工具:Graph-native code intelligence that replaces embedding-based RAG with determinis。⭐117 · Rust |
| Topics | 代码分析图神经网络AST解析MCP协议Rust工具 |
| GitHub | https://github.com/Anandb71/arbor |
| License | MIT |
| 语言 | Rust |
收录时间:2026-05-19 · 更新时间:2026-05-30 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端