MCP Directory
Back

code-graph-rag

by vitali87 · Python · ★ 2,275

The ultimate RAG for your monorepo. Query, understand, and edit multi-language codebases with the power of AI and knowledge graphs

#ai#ast#claude-code#code-analysis#code-understanding#codebase-search#developer-tools#graph-database#knowledge-graph#llm#mcp#mcp-server#memgraph#monorepo#multi-language#python#rag#retrieval-augmented-generation#semantic-search#tree-sitter

Install

pip install git+https://github.com/vitali87/code-graph-rag.git

Auto-generated from the repo's primary language — check the repo's own README for its exact install instructions.

Claude Desktop config

A starting point for your claude_desktop_config.json (auto-generated — the repo's README may specify a published package name or required env vars):

{
  "mcpServers": {
    "code-graph-rag": {
      "command": "uvx",
      "args": [
        "git+https://github.com/vitali87/code-graph-rag.git"
      ]
    }
  }
}

From the README

An accurate Retrieval-Augmented Generation (RAG) system that analyzes multi-language codebases using Tree-sitter, builds comprehensive knowledge graphs, and enables natural language querying of codebase structure and relationships as well as editing capabilities. - **PHP Language Support**: Full PHP language support added — classes, interfaces, traits, enums, namespaces, PHP 8 attributes, and call graph analysis. Contributed by [@rs-ipps](https://github.com/rs-ipps). - **C Language Support**: Full C language support added — functions, structs, unions, enums, preprocessor includes, and cal…
Read full README on GitHub →

Related databases servers