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",
]
}
}
}
Code Graph Server
Project Details
- CartographAI/mcp-server-codegraph
- MIT License
- Last Updated: 5/4/2025
Recomended MCP Servers
Desktop APP for Discover and Install MCP Servers
通过 MCP (Model Context Protocol) 提供 A 股市场的行情数据查询功能。
一个支持生成精美mermaid 流程图的 MCP 服务器
A MCP (model context protocol) server that gives the LLM access to and knowledge about relational databases like...
The Unitree Go2 MCP Server is a server built on the MCP that enables users to control the...
A Model Context Protocol (MCP) server that enables AI assistants to interact with HubSpot CRM data, providing built-in...
Identify and fix common SEO tools in your project, without leaving Cursor/Claude.
RocketMQ Mcp Server
这是一个针对于MySQL开发的MCP,该项目旨在帮助用户快速且精确的查询MySQL数据库中的内容
Servidor MCP para integrar modelos de linguagem com a Evolution API





