Indexes local code into a graph database so AI assistants can query code structure, call relationships and dependencies.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add codegraphcontext -- uvx codegraphcontext~/.codex/config.toml
[mcp_servers.codegraphcontext]
command = "uvx"
args = ["codegraphcontext"]
# codex mcp add codegraphcontext -- uvx codegraphcontext~/.cursor/mcp.json
{
"mcpServers": {
"codegraphcontext": {
"command": "uvx",
"args": [
"codegraphcontext"
]
}
}
}.vscode/mcp.json
{
"servers": {
"codegraphcontext": {
"type": "stdio",
"command": "uvx",
"args": [
"codegraphcontext"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"codegraphcontext": {
"command": "uvx",
"args": [
"codegraphcontext"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"codegraphcontext": {
"command": "uvx",
"args": [
"codegraphcontext"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"codegraphcontext": {
"command": "uvx",
"args": [
"codegraphcontext"
]
}
}
}