@memoryx/codegraph-mcp
v0.8.0
Published
CodeGraph MCP server - Cross-language code intelligence for AI assistants
Maintainers
Readme
@memoryx/codegraph-mcp
CodeGraph MCP server - Cross-language code intelligence for AI assistants.
Installation
npm install -g @memoryx/codegraph-mcpConfiguration
Claude Desktop
Add to ~/.claude.json:
{
"mcpServers": {
"codegraph": {
"command": "codegraph-mcp"
}
}
}Cursor
Add to your settings:
{
"mcp.servers": {
"codegraph": {
"command": "codegraph-mcp"
}
}
}Claude Code CLI
Add to ~/.claude.json:
{
"mcpServers": {
"codegraph": {
"command": "codegraph-mcp"
}
}
}Available Tools
Code Analysis
codegraph_symbol_search- Search for symbols by name or patterncodegraph_get_dependency_graph- Analyze file import/dependency relationshipscodegraph_get_call_graph- Map function call relationshipscodegraph_analyze_impact- Predict blast radius of code changescodegraph_analyze_complexity- Measure code complexity metricscodegraph_analyze_coupling- Measure module couplingcodegraph_find_unused_code- Detect dead code
Code Navigation
codegraph_get_callers- Find all functions that call a targetcodegraph_get_callees- Find all functions called by a targetcodegraph_get_symbol_info- Get quick metadata about any symbolcodegraph_get_detailed_symbol- Get comprehensive symbol detailscodegraph_get_ai_context- Gather code context optimized for AI
Code Search
codegraph_find_by_imports- Find files importing a modulecodegraph_find_entry_points- Discover application entry pointscodegraph_find_by_signature- Find functions by signature patternscodegraph_find_related_tests- Discover tests for specific codecodegraph_traverse_graph- Advanced graph traversal
Memory System
codegraph_memory_store- Store debugging insights and decisionscodegraph_memory_search- Search stored memoriescodegraph_memory_get- Retrieve memory by IDcodegraph_memory_context- Find memories for current codecodegraph_memory_list- List all memoriescodegraph_memory_invalidate- Mark memory as outdatedcodegraph_memory_stats- Get memory statisticscodegraph_mine_git_history- Create memories from git historycodegraph_mine_git_file- Mine history for specific file
Supported Languages
- TypeScript/JavaScript
- Python
- Rust
- Go
- Java
- C/C++
- And more via Tree-sitter
Platform Support
- macOS (arm64, x64)
- Linux (x64)
- Windows (x64)
License
Apache-2.0
