@astudioplus/codegraph-mcp
v0.13.0
Published
CodeGraph MCP server — cross-language code intelligence with 28 tools, 17 languages
Maintainers
Readme
CodeGraph MCP Server
Cross-language code intelligence for AI agents — 28 tools, 17 languages, persistent memory.
Install
npm install -g @astudioplus/codegraph-mcpUsage
Claude Code
Add to ~/.claude.json:
{
"mcpServers": {
"codegraph": {
"command": "codegraph-mcp",
"args": []
}
}
}Cursor / Other MCP clients
Same config — the codegraph-mcp command starts the server in MCP (stdio) mode.
Options
Pass flags after --:
{
"mcpServers": {
"codegraph": {
"command": "codegraph-mcp",
"args": ["--workspace", "/path/to/project", "--exclude", "vendor"]
}
}
}| Flag | Default | Description |
|------|---------|-------------|
| --workspace <path> | current dir | Directories to index (repeatable) |
| --exclude <dir> | — | Directories to skip (repeatable) |
| --embedding-model <model> | bge-small | bge-small or jina-code-v2 |
| --max-files <n> | 5000 | Maximum files to index |
Tools (28)
Analysis: get_ai_context, get_edit_context, get_curated_context, analyze_impact, analyze_complexity
Navigation: symbol_search, get_callers, get_callees, get_detailed_symbol, get_symbol_info, get_dependency_graph, get_call_graph, find_by_imports, find_by_signature, find_entry_points, find_implementors, find_related_tests, traverse_graph
Indexing: reindex_workspace, index_files, index_directory
Memory: memory_store, memory_get, memory_search, memory_context, memory_list, memory_stats, memory_invalidate
Languages
TypeScript/JS, Python, Rust, Go, C, C++, Java, Kotlin, C#, PHP, Ruby, Swift, Tcl, Verilog, COBOL, Fortran
License
Apache-2.0 — GitHub
