Welcome to CodeGraphContext
CodeGraphContext (CGC) is a Code Intelligence Engine. It indexes your codebase into a graph database to provide deep semantic understanding for both developers (via CLI) and AI agents (via MCP).
For Developers (CLI)
Use powerful terminal commands to query call chains, find dependencies, and visual architectural graphs. Explore CLI Reference
For AI Agents (MCP)
Connect your codebase to Cursor, Claude, or VS Code. Let AI assist you with full context awareness. Setup AI Assistant & Explore Natural Language Queries
βοΈ Configuration
Customize databases, file limits, and more. View Configuration Guide
ποΈ Architecture
CGC sits between your code and your tools. It's not just a script; it's a persistent system.

π Why CodeGraphContext?
- Cut Debugging Time: Stop manually grepping. Find the exact root cause in seconds, not hours.
- Onboard Faster: Help new developers understand complex logic without interrupting senior engineers.
- Reduce Technical Debt: Identify dead code, circular dependencies, and "god objects" instantly.
πΊοΈ How to Read These Docs
We have organized the documentation to match your journey:
- Getting Started: The linear path to installation.
- Usage: Real-world ROI scenarios and user stories.
- Guides: Task-based tutorials (Setup, Visualization, CI/CD).
- Core Concepts: Understand the "magic" (Architecture, Graph Model).
- CLI Reference: Complete terminal command dictionary.
- MCP Reference: AI agent tools and queries.
- Project Info: Roadmap, contributing, and configuration.
Ready to Start?
Learn the Concepts
Project Links
- GitHub Repository: CodeGraphContext/CodeGraphContext
- Website: codegraphcontext.vercel.app
- Maintainer: Shashank