MCP Code Graph MCP Server

Analyze and visualize code graphs using CodeGPT.

Local serverstdio

What is the MCP Code Graph MCP Server?

Analyze and visualize code graphs using CodeGPT.

What it actually does

This MCP allows you to interact with knowledge graphs available in your CodeGPT account or with public graphs from DeepGraph.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
list-graphsLists available repository graphs with basic information.
get-codeRetrieves the complete source code for a specific functionality from the graph.
find-direct-connectionsExplores the direct relationships of a functionality within the code graph.
nodes-semantic-searchSemantically searches for code functionalities using natural language.
docs-semantic-searchSemantically searches repository documentation.
get-usage-dependency-linksAnalyzes and lists functionalities affected by changes to a code entity.
folder-tree-structureRetrieves the tree structure of a folder in the repository.

How to install the MCP Code Graph MCP Server

claude mcp add github-com-judinilabs-mcp-code-graph --env CODEGPT_API_KEY=your-value --env CODEGPT_ORG_ID=your-value --env CODEGPT_GRAPH_ID=your-value -- npx -y Add

Configuration

VariableDescriptionRequired
CODEGPT_API_KEYCredential the server authenticates with.Yes
CODEGPT_ORG_IDConfiguration value read at startup.Optional
CODEGPT_GRAPH_IDConfiguration value read at startup.Optional

Example prompts to try

  • “Use MCP Code Graph to list-graphs.”
  • “Use MCP Code Graph to get-code.”
  • “Use MCP Code Graph to find-direct-connections.”

Frequently asked questions

Analyze and visualize code graphs using CodeGPT. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.