CodeGraph

•
919
•

Indexes large codebases and queries code graphs with natural language using a high-performance GraphRAG implementation.

CodeGraph is a high-performance Rust-based CLI tool and Model Context Protocol (MCP) server designed for advanced code analysis and management. It unifies project indexing, embedding management, and MCP server operations, enabling users to build deep code and project knowledge synthesizers. Leveraging Tree-sitter for multi-language parsing, RocksDB for graph storage, and FAISS for vector search, CodeGraph efficiently processes large codebases, providing semantic search and architectural analysis capabilities through a unified interface.

主要功能

01Dual-mode MCP Server management (STDIO, HTTP, or both)
021 GitHub stars
03Advanced Code Analysis with multi-language Tree-sitter parsing
04High-performance GraphRAG implementation for large codebases
05Semantic Vector Search powered by FAISS embeddings
06Graph-based Code Architecture Analysis with RocksDB storage

使用案例

01Building AI agents that synthesize deep insights from code and project knowledge
02Indexing and organizing large code repositories for knowledge extraction
03Performing semantic, exact, or AST-based searches across indexed codebases