Code Graph Server – README | MCP Marketplace

✨ From vibe coding to vibe deployment. UBOS MCP turns ideas into infra with one message.

Learn more

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
  • list_entity_relationships
    • List the relationships of a specific entity
    • Inputs
      • path (string): relative path of the file
      • name (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",
      ]
    }
  }
}

Featured Templates

View More
AI Agents
AI Video Generator
249 1348 5.0
Customer service
AI-Powered Product List Manager
147 625
Verified Icon
AI Assistants
Speech to Text
134 1510

Start your free trial

Build your solution today. No credit card required.

Sign In

Register

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.