π¦
Codegraph
πΈοΈ Code knowledge graph for Claude Code & AI coding agents β index TypeScript, NestJS, React into Neo4j and query architecture in Cypher
0 installs
17 stars
7 forks
Trust: 64 β Good
Ai
Installation
npx mcp-server-codegraphAsk AI about Codegraph
Powered by Claude Β· Grounded in docs
I know everything about Codegraph. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Loading tools...
Reviews
Documentation
mcp-server-codegraph
A Model Context Protocol server that provides tools to generate and query a graph representation in your codebase.
Features
- π Creates a graph representation of your codebase
- π Identifies entities (functions, classes, imports) and their relationships
- π Tracks relationships like function calls, inheritance, and implementations
- π Supports multiple programming languages (Python, JavaScript, Rust)
Tools
- index
- Indexes the codebase to create a graph of entities and relationships.
- list_file_entities
- Provides a list of all entities within a specified file.
path(string): relative path of the file
- Provides a list of all entities within a specified file.
- list_entity_relationships
- List the relationships of a specific entity
- Inputs
path(string): relative path of the filename(string): name of entity
Usage
npx @cartographai/mcp-server-codegraph /path/to/directory
Claude Desktop
Add this to your claude_desktop_config.json
{
"mcpServers": {
"codegraph": {
"command": "npx",
"args": [
"-y",
"@cartographai/mcp-server-codegraph",
"/path/to/directory",
]
}
}
}
