1. Conduid
  2. AI
  3. Codegraph
MCP server · AI

Codegraph

MCP server for graph representation of a codebase

64Good

Scored yesterday · breakdown

About Codegraph

Codegraph is an MCP server published by CartographAI in the AI category: mCP server for graph representation of a codebase.

The repository has 22 stars and 8 forks, with the last commit 12 days ago. Recent commit activity is the strongest signal that reported issues will get attention.

Install

Claude Code
claude mcp add codegraph -- npx -y @astudioplus/codegraph-mcp
npx
npx -y @astudioplus/codegraph-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Codegraph

Powered by Claude · Grounded in docs

I know everything about Codegraph. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 11 hours ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • !No dynamic code executionSource scan found eval or shell execution. Review how tool inputs reach it before granting credentials.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

README

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",
      ]
    }
  }
}

README fetched from the repository 11 hours ago. The original is authoritative.

Questions

About Codegraph

How do I install Codegraph?

Run claude mcp add codegraph -- npx -y @astudioplus/codegraph-mcp, then add the server to your MCP client's configuration.

Is Codegraph safe to use with an AI agent?

Its trust score is 64 out of 100 (good). It passes 3 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Codegraph still maintained?

Yes — the last commit was 12 days ago. The repository has 22 stars and 8 forks and 2 open issues.