The Knowledge Graph tool is an MCP Server designed to perform comprehensive cross-project API impact analysis. It constructs an in-memory directed knowledge graph from various source code types, including Python Flask routes, Java Serenity BDD call chains, and HOCON configuration mappings. This graph allows AI clients to efficiently query and understand dependencies across diverse projects and languages, specifically identifying all files and functions that would be affected by a proposed API change. It provides detailed impact chains and caller information, with its output format optimized for consumption by Large Language Models.
主要功能
01Java Serenity BDD Analysis for test-to-entity call chains
02BFS traversal for comprehensive API impact analysis
03In-memory Directed Knowledge Graph (NetworkX) with cross-project URL matching
040 GitHub stars
05Flask Route Analysis via tree-sitter AST
06HOCON Config Analysis for configuration key-to-URL endpoint mapping
使用案例
01Perform cross-project API impact analysis for proposed code changes
02Identify all files and functions affected by modifying a specific API endpoint
03Find all callers of a given API URL across multiple projects