MCP Code Graph

by judinilabs

Not rated
GitHub

About

Analyze and visualize code graphs using CodeGPT.

Details

Author
judinilabs
Categories
Developer Tools, AI

Setup

Install MCP Code Graph in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/judinilabs/mcp-code-graph

Follow the installation instructions in the repository README, then restart your MCP client.

AModel Context Protocolserver that enables seamless interaction with Code Graphs.

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

To create a graph from any GitHub repository, simply change the URL fromgithub.comtodeepgraph.co. For example:

- GitHub repo:https://github.com/username/repo
- DeepGraph URL:https://deepgraph.co/username/repo

You'll be able to use these advanced graph-based queries across different MCP Hosts such as ChatGPT, Cursor, Windsurf, CodeGPT Extension, GitHub Copilot, Claude Desktop, Claude Code, Gemini CLI, and others.

-

list-graphs: Lists available repository graphs with basic information.

get-code: Retrieves the complete source code for a specific functionality from the graph.

find-direct-connections: Explores the direct relationships of a functionality within the code graph.

nodes-semantic-search: Semantically searches for code functionalities using natural language.

docs-semantic-search: Semantically searches repository documentation.

get-usage-dependency-links: Analyzes and lists functionalities affected by changes to a code entity.

folder-tree-structure: Retrieves the tree structure of a folder in the repository.

For Public Code Graphs (No Account Required)

You can interact with public graphs fromDeepGraph:
- Find any public repository on
deepgraph.co
- Use the repository reference (e.g.,username/repository-name)

Add the following configuration to your MCP client (CodeGPT Extension, Cursor, Copilot, Claude Desktop, Windsurf, etc.):

{ "mcpServers": { "Deep Graph MCP": { "command": "npx", "args": ["-y" , "mcp-code-graph@latest", "username/repository-name", // DeepGraph repository URL "username2/repository-name2" // Add more repositories if needed ] } } }

For Private Graphs (CodeGPT Account Required)

Before using the CodeGPT MCP Server with private graphs, ensure you have:
- A CodeGPT account (sign up atapp.codegpt.co)
- Uploaded a repository to
Code Graph
- Get your API Key from
CodeGPT API Keys page(required).
- Get your Organization ID (optional) and Graph ID (optional).

Add the following configuration to your MCP client (CodeGPT Extension, Cursor, Copilot, Claude Desktop, Windsurf, etc.):

{ "mcpServers": { "Deep Graph MCP": { "command": "npx", "args": ["-y" , "mcp-code-graph@latest", "CODEGPT_API_KEY", "CODEGPT_ORG_ID", "CODEGPT_GRAPH_ID" ] } } }

Add the JSON configuration to your settings.json file:

Gemini CLI uses settings.json files for persistent configuration. There are two locations for these files:

-

User settings file: Location: ~/.gemini/settings.json (where ~ is your home directory). Scope: Applies to all Gemini CLI sessions for the current user.

Project settings file: Location: .gemini/settings.json within your project's root directory. Scope: Applies only when running Gemini CLI from that specific project. Project settings override user settings.

Follow these steps to integrate Deep Graph MCP Server with Claude Code.

claude mcp add "Deep Graph MCP" npx -- -y mcp-code-graph@latest CODEGPT_API_KEY CODEGPT_ORG_ID CODEGPT_GRAPH_ID
claude mcp add "Deep Graph MCP" npx -- -y mcp-code-graph@latest username/repository-name

For team sharing, add the-s projectflag:

claude mcp add -s project "Deep Graph MCP" npx -- -y mcp-code-graph@latest CODEGPT_API_KEY CODEGPT_ORG_ID CODEGPT_GRAPH_ID # or for public graphs claude mcp add -s project "Deep Graph MCP" npx -- -y mcp-code-graph@latest username/repository-name username2/repository-name
# Verify installation claude mcp list # Get server details claude mcp get "Deep Graph MCP"

Advanced Workflows with Claude Code Custom Commands

Claude Code supports custom slash commands that combine multiple MCP Code Graph tools for comprehensive analysis workflows.

Copy the commands directoryfrom this repository to your project root:

git add .claude/commands/ git commit -m "Add custom Claude Code commands for Deep Graph MCP"

Repository-wide analysis commands (no parameters needed):

/project:analyze-architecture # Complete architectural overview /project:security-audit # Comprehensive security analysis /project:test-coverage-analyzer # Test coverage and quality analysis /project:technical-debt-analyzer # Technical debt assessment /project:api-ecosystem-analyzer # Complete API ecosystem analysis /project:repository-onboarding # Full repository onboarding guide

Component-specific commands (require parameters):

/project:migration-planner [component/technology] # Smart migration planning /project:performance-optimizer [component/function] # Performance optimization /project:component-onboarding [component/feature] # Component-specific training
/project:analyze-architecture /project:migration-planner React to Vue.js /project:performance-optimizer DatabaseService.getUserData /project:component-onboarding authentication system

- Email:support@codegpt.co
- Website:
app.codegpt.co

This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.

AI-to-AI code review platform — Claude, Codex, and Gemini cross-check each other via MCP, REST API, and CLI for consensus-based results.

Orchestrates a dual-AI engineering loop where a Primary AI plans and implements, while a Review AI validates and reviews, with continuous feedback for optimal code quality. Supports custom AI pairing (Claude, Codex, Gemini, etc.)

Provides AI assistants with a comprehensive, one-time analysis for complete codebase context and understanding.

Automate Google Jules, the AI coding assistant, for tasks like code reviews, repository management, and AI-powered development workflows.

Hybrid decomp tool — AI decides WHERE to split your monolith, deterministic engine COPIES the code. Minimize tokens, maximize syntax validity.

An intelligent security agent that analyzes AI-generated code for vulnerabilities and assists with remediation.

ast-mcp-server gives coding agents compact, type-aware access to TypeScript and JavaScript projects. It uses the real compiler project model through ts-morph, so declarations, references, rename locations, and diagnostics come from the AST instead of text-search guesses.

An MCP server to help AI assistants to answer questions and generate AccelByte Extend SDK code more effectively .

Instead of direct calling MCP tools, mcpcode server transforms MCP tool calls into TypeScript programs, enabling smarter, lower-latency orchestration by LLMs.

Skene is a codebase analysis toolkit for product-led growth. It scan your codebase, detect growth opportunities, and generate actionable implementation plans.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.