Labsco
CartographAI logo

CodeGraph

โ˜… 22

from CartographAI

Generates and queries a graph representation of a codebase.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedFreeQuick setup

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