Skip to content

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.

CodeGraphContext Architecture

πŸš€ 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:

  1. Getting Started: The linear path to installation.
  2. Usage: Real-world ROI scenarios and user stories.
  3. Guides: Task-based tutorials (Setup, Visualization, CI/CD).
  4. Core Concepts: Understand the "magic" (Architecture, Graph Model).
  5. CLI Reference: Complete terminal command dictionary.
  6. MCP Reference: AI agent tools and queries.
  7. Project Info: Roadmap, contributing, and configuration.

Ready to Start?

Install CodeGraphContext

Learn the Concepts

How Indexing Works