MCP Catalogs
首页arbor screenshot

arbor

by Anandb71·117·综合分 49

一种原生图代码智能工具,具有10个MCP工具,用于分析代码依赖和影响。

developer-toolsai-llmknowledge-graph
18
Forks
2
活跃 Issue
本月
最近提交
2 天前
收录于

概述

Arbor是一个构建代码库语义依赖图的代码智能工具,用确定性程序理解取代了基于嵌入的RAG。它提供10个MCP工具用于精确的图遍历和架构分析,使开发者能够在做出更改前了解影响范围。该工具支持多种编程语言,并能与CLI、GUI和MCP for AI模型等多种界面集成。

试试问 AI

装完之后,这里有 7 个你可以让 AI 做的事:

:重构前分析代码影响
:查找函数的所有调用者和被调用者
:在CI/CD中阻止具有高架构影响范围的PR
:可视化探索代码结构和依赖关系
:Arbor支持哪些编程语言?
:Arbor与传统基于RAG的代码分析有何不同?
:Arbor可以在CI/CD流水线中使用吗?

什么时候选它

当您需要跨语言边界的确定性、可解释的代码影响分析时,尤其是在需要了解变更爆炸半径的大型代码库中,选择 Arbor。

什么时候不要选它

如果您只处理小型的单语言项目,维护依赖图的开销超过了收益,则不要选择 Arbor。

此 server 暴露的工具

从 README 抽取出 10 个工具
  • list_entry_points

    Lists entry points in the codebase

  • get_callers

    Gets all functions that call a specific symbol

  • get_callees

    Gets all functions called by a specific symbol

  • search_symbols

    Searches for symbols in the codebase

  • get_file_graph

    Gets the dependency graph for a specific file

  • get_node_detail

    Gets detailed information about a specific node in the graph

  • get_logic_path

    Gets the logical path between two symbols

  • analyze_impact

    Analyzes the impact of changing a specific symbol

  • find_path

    Finds a path between two symbols in the graph

  • get_knowledge_path

    Gets the knowledge path between symbols

可对比工具

semgrep-mcpcode-mcptree-sitter-mcp

安装

安装

CLI安装

# 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

# Docker
docker pull ghcr.io/anandb71/arbor:latest

MCP集成

claude mcp add --transport stdio --scope project arbor -- arbor bridge
claude mcp list

初始化项目

cd your-project
arbor setup

使用方法

# 查看函数影响的内容
arbor refactor <symbol-name>

# 检查未提交更改的影响
arbor diff

# 启动GUI
arbor gui

FAQ

Arbor支持哪些编程语言?
Arbor支持多种主要生态系统的生产级解析和图分析,包括Rust、TypeScript/JavaScript、Python、Go、Java、C/C++、C#、Dart、Kotlin、Swift、Ruby、PHP和Shell。
Arbor与传统基于RAG的代码分析有何不同?
Arbor使用语义依赖图和确定性程序理解,而不是基于嵌入的RAG,能够精确回答'如果我更改这个符号,什么会破坏?'之类的问题,而不是近似的关键字匹配。
Arbor可以在CI/CD流水线中使用吗?
是的,Arbor提供Git感知的风险控制,使用GitHub Actions和`arbor check --max-blast-radius`等CLI命令自动阻止具有高架构影响的PR。

Hacker News 讨论

开发者社区最近的相关讨论。

arbor 对比

GitHub →

最后更新于 · 由 README + GitHub 公开数据自动生成。