Official description๐ ๐ ๐ ๐ช ๐ง - Index local code into a graph database to give AI assistants context, with graphical code visualizations for humans.
Config template (adjust for your client)
claude mcp add codegraphcontext -- npx -y codegraphcontext
A pasteable skeleton generated from the repository name. Check the project README for the exact package and arguments.
Star count
4,251 โ ยท Shashankss1205/CodeGraphContext ยท read from the repository page ยท (checked 2026-10-16 20:00:20)
Source
collected from the punkpeye/awesome-mcp-servers list ยท type: MCP server
Harvest history
first seen 2026-10-09 ยท last seen 2026-10-16 ยท seen 32ร ยท listed by 7 sources
Score
score 703 ยท 4,251 โ ยท 7 sources ยท mcp
FAQ (answers come from our records)
How do I install it?
We did not find an install command for this repository (our install coverage is only about 4%). Check its README or releases page.
Who is it for?
We filed it under these tags: MCP ๆๅก. The tags come from the entry itself, not a taxonomy we imposed.
Who maintains it?
repository Shashankss1205/CodeGraphContext๏ผfirst catalogued 2026-10-09๏ผlast seen 2026-10-16ใThere is no official certification or quality rating here โ we record sources and dates only.
**Turn code repositories into a queryable graph for AI agents.** ๐ **Languages:** - ๐ฌ๐ง English - ๐จ๐ณ ไธญๆ - ๐ฐ๐ท ํ๊ตญ์ด - ๐บ๐ฆ ะฃะบัะฐัะฝััะบะฐ - ๐ท๐บ ะ ัััะบะธะน - ๐ฏ๐ต ๆฅๆฌ่ช - ๐ฎ๐ณ เฎคเฎฎเฎฟเฎดเฏ - ๐ช๐ธ Espaรฑol (Soon) ๐ **Help translate CodeGraphContext to your language by raising an issue & PR on GitHub Issues!** Bridge the gap between deep code graphs and AI context. A powerful **MCP server** and **CLI toolkit** that indexes local code into a graph database to provide context to AI assistants and developers. Use it as a standalone CLI for comprehensive code analysis or connect it to your favorite AI IDE via MCP for AI-powered code understanding. --- ๐ Quick Navigation * ๐ Quick Start * ๐ Prerequisites * ๐ How to Run the Project Locally * ๐ Supported Programming Languages * ๐ ๏ธ CLI Toolkit * ๐ค MCP Server * ๐๏ธ Database Options * ๐ฌ SCIP indexing (optional) --- โจ Experience CGC ๐จ๐ปโ๐ป Installation and CLI > Install in seconds with pip and unlock a powerful CLI for code graph analysis. ๐ ๏ธ Indexing in Seconds > The CLI intelligently parses your tree-sitter nodes to build the graph. ๐ค Powering your AI Assistant > Use natural language to query complex call-chains via MCP. --- Why CodeGraphContext? CodeGraphContext is built for the moment when plain text search stops being enough. It turns a repository into a graph of files, symbols, calls, inheritance, imports, and relationships so you can move from "where is this defined?" to "how does this actually connect?" without jumping between tools. Comparison at a glance | Approach | Best for | Tradeoff | | --- | --- | --- | | grep / file search | Exact string lookup | Misses relationships and code structure | | RAG over code chunks | Natural-language retrieval | Can lose symbol-level precision | | CodeGraphContext | Repository-wide reasoning | Requires an indexing step | Common use cases - Trace call chains across files and packages. - Understand class hierarchies, imports, and module boundaries. - Find dead code, hotspots, and unexpected dependencies. - Give an AI assistant the same structural context a maintainer would use. FAQ - **Do I need a remote service?** No. CGC works locally with embedded backends or with external graph databases when you want them. - **Is it only for one language?** No. It supports a broad mix of mainstream languages and keeps expanding. - **Can I use it with an AI assistant?** Yes. That is one of the main reasons the MCP server exists. --- Project Details - **Version:** 0.5.1 - **Authors:** Shashank Shekhar Singh - **License:** MIT License (See LICENSE for details) - **Website:** CodeGraphContext --- ๐จโ๐ป Maintainer **CodeGraphContext** is created and actively maintained by: **Shashank Shekhar Singh** - ๐ง Email: shashankshekharsingh1205@gmail.com - ๐ GitHub: @Shashankss1205 - ๐ LinkedIn: Shashank Shekhar Singh - ๐ Website: codegraphcontext.vercel.app *Contributions and feedback are always welcome! Feel free to reach out for questions, suggestions, or collaboration opportunities.* --- Star History Star History Chart โ --- Features - **Code Indexing:** Analyzes code and builds a knowledge graph of its components. - **Relationship Analysis:** Query for callers, callees, class hierarchies, call chains and more. - **Pre-indexed Bundles:** Load famous repositories instantly with .cgc bundles - no indexing required! (Learn more) - **Live File Watching:** Watch directories for changes and automatically update the graph in real-time (cgc watch). - **Interactive Setup:** A user-friendly command-line wizard for easy setup. - **Dual Mode:** Works as a standalone **CLI toolkit** for developers and as an **MCP server** for AI agents. - **Multi-Language Support:** Full support for 23 programming languages. - **Flexible Database Backend:** FalkorDB Lite (Default), KuzuDB, LadybugDB, FalkorDB Remote, Nornic DB, or Neo4j (all platforms via Docker/native). --- ๐๏ธ Architecture & Workflow CodeGraphContext parses your source code and builds a comprehensive knowledge graph. This graph can be queried directly via the CLI toolkit or exposed to AI assistants through the MCP server. --- Supported Programming Languages CodeGraphContext provides comprehensive parsing and analysis for the following languages: | | Language | | Language | | Language | | :--- | :--- | :--- | :--- | :--- | :--- |