CodeGraph
Generates and queries a graph representation of a codebase.
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",
]
}
}
}
Related Servers
Scout Monitoring MCP
sponsorPut performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
sponsorAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
TeamCity
MCP server for TeamCity, integrates with Claude Desktop and Cursor.
Dieter Rams
Evaluates product designs against Dieter Rams' 10 principles of good design.
Markdown Sidecar MCP Server
Serve and access markdown documentation for locally installed NPM, Go, or PyPi packages.
MCP Time Server
Provides tools for getting the current time and date, and formatting timestamps in various formats and timezones.
Devopness
Devopness MCP server for DevOps happiness! Empower AI Agents to deploy apps and infra, to any cloud.
MCP Spec Navigator
Navigate and explore the Model Context Protocol specification with dynamic markdown tree generation and intelligent section navigation.
FAL Imagen 4
Generate high-quality images using Google's Imagen 4 Ultra model via the FAL AI platform.
Reloaderoo
A local MCP server for developers that mirrors your in-development MCP server, allowing seamless restarts and tool updates so you can build, test, and iterate on your MCP server within the same AI session without interruption.
Hex MCP
A server for listing, searching, running, and managing Hex projects.
Android MCP
An MCP server that provides control over Android devices through ADB. Offers device screenshot capture, UI layout analysis, package management, and ADB command execution capabilities.