Parses multi-language codebases into a knowledge graph so agents can query, understand and edit code.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add code-graph-rag -- uv tool install 'code-graph-rag[treesitter-full,ast-grep,semantic]'~/.codex/config.toml
[mcp_servers.code-graph-rag]
command = "uv"
args = ["tool", "install", "code-graph-rag[treesitter-full,ast-grep,semantic]"]
# codex mcp add code-graph-rag -- uv tool install 'code-graph-rag[treesitter-full,ast-grep,semantic]'~/.cursor/mcp.json
{
"mcpServers": {
"code-graph-rag": {
"command": "uv",
"args": [
"tool",
"install",
"code-graph-rag[treesitter-full,ast-grep,semantic]"
]
}
}
}.vscode/mcp.json
{
"servers": {
"code-graph-rag": {
"type": "stdio",
"command": "uv",
"args": [
"tool",
"install",
"code-graph-rag[treesitter-full,ast-grep,semantic]"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"code-graph-rag": {
"command": "uv",
"args": [
"tool",
"install",
"code-graph-rag[treesitter-full,ast-grep,semantic]"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"code-graph-rag": {
"command": "uv",
"args": [
"tool",
"install",
"code-graph-rag[treesitter-full,ast-grep,semantic]"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"code-graph-rag": {
"command": "uv",
"args": [
"tool",
"install",
"code-graph-rag[treesitter-full,ast-grep,semantic]"
]
}
}
}