code-graph-rag MCP server
The ultimate RAG for your monorepo. Query, understand, and edit multi-language codebases with the power of AI and knowledge graphs
What code-graph-rag does
Summarised from the project README; check the repository for the latest details.
Features
- Ask questions about the codebase in natural language and get answers grounded in the real structure.
- Retrieve the actual source of any function, class, or method by name or by intent.
- Edit code through the agent with AST-based surgical patching and a diff preview before anything changes.
- Optimise code against language best practices or your own coding standards.
- Find dead code by walking call and reference edges from entry points.
- Search and rewrite structurally by AST pattern with ast-grep.
Repository: vitali87/code-graph-rag
Website: https://code-graph-rag.com
Stars: ★5258
Language: Python
Last updated: 2026-10-15
aiastclaude-codecode-analysiscode-understandingcodebase-searchdeveloper-toolsgraph-databaseknowledge-graphllmmcpmcp-servermemgraphmonorepomulti-languagepythonragretrieval-augmented-generationsemantic-searchtree-sitter
Website: https://code-graph-rag.com
Stars: ★5258
Language: Python
Last updated: 2026-10-15
aiastclaude-codecode-analysiscode-understandingcodebase-searchdeveloper-toolsgraph-databaseknowledge-graphllmmcpmcp-servermemgraphmonorepomulti-languagepythonragretrieval-augmented-generationsemantic-searchtree-sitter
How to install code-graph-rag
No install config was found in this README. See the repository for setup steps, then follow our guides for Claude Desktop, Cursor or VS Code.
Featured in: Best MCP servers for Cursor · Best MCP servers for coding · Best MCP servers for Python developers · Best MCP servers for research · Best MCP servers for data analysis
Maintain this project? Get it featured for free during launch →
Compare with codebase-memory-mcp →
Related Databases MCP servers
codebase-memory-mcp by DeusData · ★46608
High-performance code intelligence MCP server. Indexes codebases into a persistent knowledge graph — average repo in milliseconds. 158 langu
Databases
High-performance code intelligence MCP server. Indexes codebases into a persistent knowledge graph — average repo in milliseconds. 158 langu
Databases
nightingale by ccfos · ★13352
Open-source, self-hosted alerting for metrics, logs, and databases. Includes a built-in AI agent and MCP server.
Databases
Open-source, self-hosted alerting for metrics, logs, and databases. Includes a built-in AI agent and MCP server.
Databases
tabularis by TabularisDB · ★5214
Open-source desktop SQL workspace with 3 built-in database drivers and 16 shipped plugins, including SQL Server, DuckDB, ClickHouse and Redi
Databases
Open-source desktop SQL workspace with 3 built-in database drivers and 16 shipped plugins, including SQL Server, DuckDB, ClickHouse and Redi
Databases
Weekly MCP digest – new and trending MCP servers in your inbox.