CartographAI

mcp-server-codegraph

Community CartographAI
Updated

MCP server for 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
  • 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",
      ]
    }
  }
}

MCP Server ยท Populars

MCP Server ยท New

    shemhamforash23

    LightRAG MCP Server

    MCP Server

    Community shemhamforash23
    uiNerd16

    AI Canvas

    Open-core registry of animated React components, blocks, design systems, and templates. Real, editable code: install with one shadcn CLI command or let your AI agent pull it over MCP.

    Community uiNerd16
    Ikalus1988

    Swarm Knowledge Protocol (SKP)

    ๐Ÿ“š A zero-dependency, git-backed micro-lesson library for AI Agents to asynchronously share and search verified debugging experience. Python stdlib only. | https://misakanet.org

    Community Ikalus1988
    jacopobonomi

    venv-manager

    A powerful CLI tool for managing Python virtual environments with ease.

    Community jacopobonomi
    Hmbown

    Hegelion

    Dialectical reasoning architecture for LLMs (Thesis โ†’ Antithesis โ†’ Synthesis)

    Community Hmbown