[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-72319":3},{"id":4,"name":5,"fullName":6,"owner":5,"repo":5,"description":7,"homepage":8,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":15,"forks30d":15,"starsTrendScore":19,"compositeScore":20,"rankGlobal":9,"rankLanguage":9,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":24,"hasPages":24,"topics":25,"createdAt":9,"pushedAt":9,"updatedAt":28,"readmeContent":29,"aiSummary":30,"trendingCount":15,"starSnapshotCount":15,"syncStatus":31,"lastSyncTime":32,"discoverSource":33},72319,"CodeGraphContext","CodeGraphContext\u002FCodeGraphContext","An MCP server plus a CLI tool that indexes local code into a graph database to provide context to AI assistants.","https:\u002F\u002Fcodegraphcontext.vercel.app\u002F",null,"Python",3688,682,21,146,0,64,149,471,192,30.5,"MIT License",false,"main",true,[26,27],"hacktoberfest2025","social-winter-of-code","2026-06-12 02:03:01","# 🏗️ CodeGraphContext (CGC)\n\n**Turn code repositories into a queryable graph for AI agents.**\n\n🌐 **Languages:**\n- 🇬🇧 [English](README.md)\n- 🇨🇳 [中文](README.zh-CN.md)\n- 🇰🇷 [한국어](README.kor.md)\n- 🇺🇦 [Українська](README.uk.md)\n- 🇷🇺 [Русский](README.ru-RU.md)\n- 🇯🇵 日本語 (Soon)\n- 🇪🇸 Español (Soon)\n\n🌍 **Help translate CodeGraphContext to your language by raising an issue & PR on https:\u002F\u002Fgithub.com\u002FShashankss1205\u002FCodeGraphContext\u002Fissues!**\n\n\u003Cp align=\"center\">\n  \u003Cbr>\n  \u003Cb>Bridge the gap between deep code graphs and AI context.\u003C\u002Fb>\n  \u003Cbr>\u003Cbr>\n  \u003Ca href=\"https:\u002F\u002Fpypi.org\u002Fproject\u002Fcodegraphcontext\u002F\">\n    \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fpypi\u002Fv\u002Fcodegraphcontext?style=flat-square&logo=pypi\" alt=\"PyPI Version\">\n  \u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fpypi.org\u002Fproject\u002Fcodegraphcontext\u002F\">\n    \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fpypi\u002Fdm\u002Fcodegraphcontext?style=flat-square\" alt=\"PyPI Downloads\">\n  \u003C\u002Fa>\n  \u003Ca href=\"LICENSE\">\n    \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Flicense\u002FCodeGraphContext\u002FCodeGraphContext?style=flat-square\" alt=\"License\">\n  \u003C\u002Fa>\n  \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FMCP-Compatible-green?style=flat-square\" alt=\"MCP Compatible\">\n  \u003Ca href=\"https:\u002F\u002Fdiscord.gg\u002FVCwUdCnn\">\n    \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fdiscord\u002F1421769154507309150?label=Discord&logo=discord&logoColor=white&style=flat-square\">\n  \u003C\u002Fa>\n  \u003Cbr>\u003Cbr>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002FCodeGraphContext\u002FCodeGraphContext\u002Fstargazers\">\n    \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fstars\u002FCodeGraphContext\u002FCodeGraphContext?style=flat-square&logo=github\" alt=\"Stars\">\n  \u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002FCodeGraphContext\u002FCodeGraphContext\u002Fnetwork\u002Fmembers\">\n    \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fforks\u002FCodeGraphContext\u002FCodeGraphContext?style=flat-square&logo=github\" alt=\"Forks\">\n  \u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002FCodeGraphContext\u002FCodeGraphContext\u002Fissues\">\n    \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fissues-raw\u002FCodeGraphContext\u002FCodeGraphContext?style=flat-square&logo=github\" alt=\"Issues\">\n  \u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002FCodeGraphContext\u002FCodeGraphContext\u002Fpulls\">\n    \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fissues-pr\u002FCodeGraphContext\u002FCodeGraphContext?style=flat-square&logo=github\" alt=\"PRs\">\n  \u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002FCodeGraphContext\u002FCodeGraphContext\u002Fgraphs\u002Fcontributors\">\n    \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fcontributors\u002FCodeGraphContext\u002FCodeGraphContext?style=flat-square&logo=github\" alt=\"Contributors\">\n  \u003C\u002Fa>\n\u003Cbr>\u003Cbr>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002FCodeGraphContext\u002FCodeGraphContext\u002Factions\u002Fworkflows\u002Ftest.yml\">\n    \u003Cimg src=\"https:\u002F\u002Fgithub.com\u002FCodeGraphContext\u002FCodeGraphContext\u002Factions\u002Fworkflows\u002Ftest.yml\u002Fbadge.svg\" alt=\"Tests\">\n  \u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002FCodeGraphContext\u002FCodeGraphContext\u002Factions\u002Fworkflows\u002Fe2e-tests.yml\">\n    \u003Cimg src=\"https:\u002F\u002Fgithub.com\u002FCodeGraphContext\u002FCodeGraphContext\u002Factions\u002Fworkflows\u002Fe2e-tests.yml\u002Fbadge.svg\" alt=\"E2E Tests\">\n  \u003C\u002Fa>\n  \u003Ca href=\"http:\u002F\u002Fcodegraphcontext.vercel.app\u002F\">\n    \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fwebsite-up-brightgreen?style=flat-square\" alt=\"Website\">\n  \u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fcodegraphcontext.vercel.app\u002F\">\n    \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdocs-GitHub%20Pages-blue?style=flat-square\" alt=\"Docs\">\n  \u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fyoutu.be\u002FKYYSdxhg1xU\">\n    \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FYouTube-Watch%20Demo-red?style=flat-square&logo=youtube\" alt=\"YouTube Demo\">\n  \u003C\u002Fa>\n\u003C\u002Fp>\n\n\nA 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.\n\n---\n\n## 📍 Quick Navigation\n* [🚀 Quick Start](#quick-start) \n* [🌐 Supported Programming Languages](#supported-programming-languages) \n* [🛠️ CLI Toolkit](#for-cli-toolkit-mode) \n* [🤖 MCP Server](#-for-mcp-server-mode) \n* [🗄️ Database Options](#database-options)\n* [🔬 SCIP indexing (optional)](#scip-indexing-optional)\n\n---\n\n## ✨ Experience CGC\n\n\n### 👨🏻‍💻 Installation and CLI\n> Install in seconds with pip and unlock a powerful CLI for code graph analysis.\n![Install and unlock the CLI instantly](https:\u002F\u002Fgithub.com\u002FCodeGraphContext\u002FCodeGraphContext\u002Fblob\u002Fmain\u002Fimages\u002Finstall&cli.gif)\n\n\n### 🛠️ Indexing in Seconds\n> The CLI intelligently parses your tree-sitter nodes to build the graph.\n![Indexing using an MCP client](https:\u002F\u002Fgithub.com\u002FCodeGraphContext\u002FCodeGraphContext\u002Fblob\u002Fmain\u002Fimages\u002FIndexing.gif)\n\n### 🤖 Powering your AI Assistant\n> Use natural language to query complex call-chains via MCP.\n![Using the MCP server](https:\u002F\u002Fgithub.com\u002FCodeGraphContext\u002FCodeGraphContext\u002Fblob\u002Fmain\u002Fimages\u002FUsecase.gif)\n\n---\n\n## Project Details\n- **Version:** 0.4.9\n- **Authors:** Shashank Shekhar Singh \u003Cshashankshekharsingh1205@gmail.com>\n- **License:** MIT License (See [LICENSE](LICENSE) for details)\n- **Website:** [CodeGraphContext](http:\u002F\u002Fcodegraphcontext.vercel.app\u002F)\n\n---\n\n## 👨‍💻 Maintainer\n**CodeGraphContext** is created and actively maintained by:\n\n**Shashank Shekhar Singh**  \n- 📧 Email: [shashankshekharsingh1205@gmail.com](mailto:shashankshekharsingh1205@gmail.com)\n- 🐙 GitHub: [@Shashankss1205](https:\u002F\u002Fgithub.com\u002FShashankss1205)\n- 🔗 LinkedIn: [Shashank Shekhar Singh](https:\u002F\u002Fwww.linkedin.com\u002Fin\u002Fshashank-shekhar-singh-a67282228\u002F)\n- 🌐 Website: [codegraphcontext.vercel.app](https:\u002F\u002Fcodegraphcontext.vercel.app\u002F)\n\n*Contributions and feedback are always welcome! Feel free to reach out for questions, suggestions, or collaboration opportunities.*\n\n---\n\n## Star History\n[![Star History Chart](https:\u002F\u002Fapi.star-history.com\u002Fsvg?repos=CodeGraphContext\u002FCodeGraphContext&type=Date)](https:\u002F\u002Fwww.star-history.com\u002F#CodeGraphContext\u002FCodeGraphContext&Date)\n\n---\n\n## Features\n-   **Code Indexing:** Analyzes code and builds a knowledge graph of its components.\n-   **Relationship Analysis:** Query for callers, callees, class hierarchies, call chains and more.\n-   **Pre-indexed Bundles:** Load famous repositories instantly with `.cgc` bundles - no indexing required! ([Learn more](docs\u002FBUNDLES.md))\n-   **Live File Watching:** Watch directories for changes and automatically update the graph in real-time (`codegraphcontext watch`).\n-   **Interactive Setup:** A user-friendly command-line wizard for easy setup.\n-   **Dual Mode:** Works as a standalone **CLI toolkit** for developers and as an **MCP server** for AI agents.\n-   **Multi-Language Support:** Full support for 20 programming languages.\n-   **Flexible Database Backend:** KuzuDB (Default), LadybugDB, FalkorDB Lite (Typical Unix default), FalkorDB Remote, Nornic DB, or Neo4j (all platforms via Docker\u002Fnative).\n\n\n---\n\n## Supported Programming Languages\n\nCodeGraphContext provides comprehensive parsing and analysis for the following languages:\n\n| | Language | | Language | | Language |\n| :--- | :--- | :--- | :--- | :--- | :--- |\n| 🐍 | **Python** | 📜 | **JavaScript** | 🔷 | **TypeScript** |\n| ☕ | **Java** | 🏗️ | **C \u002F C++** | #️⃣ | **C#** |\n| 🐹 | **Go** | 🦀 | **Rust** | 💎 | **Ruby** |\n| 🐘 | **PHP** | 🍎 | **Swift** | 🎨 | **Kotlin** |\n| 🎯 | **Dart** | 🐪 | **Perl** | 🌙 | **Lua** |\n| 🚀 | **Scala** | λ | **Haskell** | 💧 | **Elixir** |\n| ⚛️ | **TSX** | | | | |\n\nEach language parser extracts functions, classes, methods, parameters, inheritance relationships, function calls, and imports to build a comprehensive code graph.\n\n---\n\n## Database Options\n\nCodeGraphContext supports multiple graph database backends to suit your environment:\n\n| Feature | KuzuDB | LadybugDB | FalkorDB Lite | Neo4j \u002F Nornic DB |\n| :--- | :--- | :--- | :--- | :--- |\n| **Typical default** | **Standard Default** (embedded, powered by KuzuDB) | **Specialized Embedded** (similar to Kuzu) | **Unix** (Python 3.12+, when `falkordblite` works) | When explicitly configured |\n| **Setup** | Zero-config \u002F Embedded | Zero-config \u002F Embedded | Zero-config \u002F In-process | Docker \u002F External |\n| **Platform** | **All (Windows Native, macOS, Linux)** | **All (Windows Native, macOS, Linux)** | Unix-only (Linux\u002FmacOS\u002FWSL) | All Platforms |\n| **Use Case** | Desktop, IDE, Local development | Custom research projects | Specialized Unix development | Enterprise, Massive graphs |\n| **Requirement**| `pip install kuzu` | `pip install ladybug` | `pip install falkordblite` | Neo4j Server \u002F Docker \u002F Nornic Cloud |\n| **Speed** | ⚡ Extremely Fast | ⚡ Fast | 🚀 Scalable |\n| **Persistence**| Yes (to disk) | Yes (to disk) | Yes (to disk) |\n\n---\n\n## SCIP indexing (optional)\n\nWhen `SCIP_INDEXER=true` in your CGC config (`~\u002F.codegraphcontext\u002F.env`), some languages use external **SCIP** indexers for more accurate calls and inheritance than Tree-sitter heuristics alone.\n\n**C and C++** use **scip-clang**, which requires a **`compile_commands.json`** file (a [JSON compilation database](https:\u002F\u002Fclang.llvm.org\u002Fdocs\u002FJSONCompilationDatabase.html)): one entry per translation unit with the real compiler command (include paths, `-D` defines, `-std`, etc.). Without it, scip-clang cannot run; CGC logs a warning and **falls back to Tree-sitter** for that repo. Typical ways to produce the file: **CMake** with `-DCMAKE_EXPORT_COMPILE_COMMANDS=ON`, or wrap your real build with **[Bear](https:\u002F\u002Fgithub.com\u002Frizsotto\u002FBear)** (e.g. `bear -- make`). CGC also looks under `build\u002F` and `cmake-build-*\u002F` for that filename.\n\n**C#** uses **scip-dotnet** (Roslyn); you need a normal **`.csproj` \u002F `.sln`** and a successful restore—no `compile_commands.json`.\n\nSCIP is **independent of which graph database** you use (Kuzu, Neo4j, etc.); the same flag applies to all backends.\n\n---\n\n## Used By\n\nCodeGraphContext is already being explored by developers and projects for:\n\n- **Static code analysis in AI assistants**\n- **Graph-based visualization of projects**\n- **Dead code and complexity detection**\n\n_If you’re using CodeGraphContext in your project, feel free to open a PR and add it here! 🚀_\n\n---\n\n## Dependencies\n\n- `neo4j>=5.15.0`\n- `watchdog>=3.0.0`\n- `stdlibs>=2023.11.18`\n- `typer>=0.9.0`\n- `rich>=13.7.0`\n- `inquirerpy>=0.3.4`\n- `python-dotenv>=1.0.0`\n- `tree-sitter>=0.21.0` (not installed on Python 3.13)\n- `tree-sitter-language-pack>=0.6.0` (not installed on Python 3.13)\n- `pyyaml`\n- `pathspec>=0.12.1`\n- `falkordb>=0.1.0`\n- `falkordblite>=0.1.0` (Unix only)\n- `kuzu` (KuzuDB engine)\n- `fastapi>=0.100.0`\n- `uvicorn>=0.22.0`\n- `requests>=2.28.0`\n- `protobuf>=3.20,\u003C3.21`\n\n**Note:** Python 3.10-3.14 is supported.\n\n---\n\n### 🚀 Installation & Quick Start\n\n1.  **Install the toolkit:**\n    ```bash\n    pip install codegraphcontext\n    ```\n\n2.  **Troubleshooting (Command not found):**\n    If the `codegraphcontext` command is not found, run this one-line fix:\n    ```bash\n    curl -sSL https:\u002F\u002Fraw.githubusercontent.com\u002FCodeGraphContext\u002FCodeGraphContext\u002Fmain\u002Fscripts\u002Fpost_install_fix.sh | bash\n    ```\n\n3.  **Database Setup (Automatic):**\n    CodeGraphContext uses an embedded graph database by default.\n    - **KuzuDB:** Default for all platforms.\n    - **FalkorDB Lite:** Preferred on Unix\u002FmacOS if available.\n    - **Neo4j:** Run `codegraphcontext neo4j setup` to use an external server.\n\n---\n\n### For CLI Toolkit Mode\n\n**Start using immediately with CLI commands:**\n```bash\n# Index your current directory\ncodegraphcontext index .\n\n# List all indexed repositories\ncodegraphcontext list\n\n# Analyze who calls a function\ncodegraphcontext analyze callers my_function\n\n# Find complex code\ncodegraphcontext analyze complexity --threshold 10\n\n# Find dead code\ncodegraphcontext analyze dead-code\n\n# Watch for live changes (optional)\ncodegraphcontext watch .\n\n# See all commands\ncodegraphcontext help\n```\n\n  **See the full [CLI Commands Guide](docs\u002FCLI_COMPLETE_REFERENCE.md) for all available commands and usage scenarios.**\n\n### 🎨 Premium Interactive Visualization\nCodeGraphContext can generate stunning, interactive knowledge graphs of your code. Unlike static diagrams, these are premium web-based explorers:\n\n- **Premium Aesthetics**: Dark mode, glassmorphism, and modern typography (Outfit\u002FJetBrains Mono).\n- **Interactive Inspection**: Click any node to open a detailed side panel with symbol information, file paths, and context.\n- **Quick Search**: Live-search through the graph to find specific symbols instantly.\n- **Intelligent Layouts**: Force-directed and hierarchical layouts that make complex relationships readable.\n- **Zero-Dependency Viewing**: Standalone HTML files that work in any modern browser.\n\n```bash\n# Visualize function calls\ncodegraphcontext analyze calls my_function --viz\n\n# Explore class hierarchies\ncodegraphcontext analyze tree MyClass --viz\n\n# Visualize search results\ncodegraphcontext find pattern \"Auth\" --viz\n```\n\n\n---\n\n### 🤖 For MCP Server Mode\n\n**Configure your AI assistant to use CodeGraphContext:**\n1.  **Setup:** Run the MCP setup wizard to configure your IDE\u002FAI assistant:\n    \n    ```bash\n    codegraphcontext mcp setup\n    ```\n    \n    The wizard can automatically detect and configure:\n    *   VS Code\n    *   Cursor\n    *   Windsurf\n    *   Claude\n    *   Gemini CLI\n    *   ChatGPT Codex\n    *   Cline\n    *   RooCode\n    *   Amazon Q Developer\n    *   Kiro\n\n    Upon successful configuration, `codegraphcontext mcp setup` will generate and place the necessary configuration files:\n    *   It creates an `mcp.json` file in your current directory for reference.\n    *   It stores your database credentials securely in `~\u002F.codegraphcontext\u002F.env`.\n    *   It updates the settings file of your chosen IDE\u002FCLI (e.g., `.claude.json` or VS Code's `settings.json`).\n\n2.  **Start:** Launch the MCP server:    \n    ```bash\n    codegraphcontext mcp start\n    ```\n\n3.  **Use:** Now interact with your codebase through your AI assistant using natural language! See examples below.\n\n---\n\n## Ignoring Files (`.cgcignore`)\n\nYou can tell CodeGraphContext to ignore specific files and directories by creating a `.cgcignore` file in the root of your project. This file uses the same syntax as `.gitignore`.\n\n**Example `.cgcignore` file:**\n```\n# Ignore build artifacts\n\u002Fbuild\u002F\n\u002Fdist\u002F\n\n# Ignore dependencies\n\u002Fnode_modules\u002F\n\u002Fvendor\u002F\n\n# Ignore logs\n*.log\n```\n\n---\n\n## MCP Client Configuration\n\nThe `codegraphcontext mcp setup` command attempts to automatically configure your IDE\u002FCLI. If you choose not to use the automatic setup, or if your tool is not supported, you can configure it manually.\n\nAdd the following server configuration to your client's settings file (e.g., VS Code's `settings.json` or `.claude.json`):\n\n```json\n{\n  \"mcpServers\": {\n    \"CodeGraphContext\": {\n      \"command\": \"codegraphcontext\",\n      \"args\": [\n        \"mcp\",\n        \"start\"\n      ],\n      \"env\": {\n        \"NEO4J_URI\": \"YOUR_NEO4J_URI\",\n        \"NEO4J_USERNAME\": \"YOUR_NEO4J_USERNAME\",\n        \"NEO4J_PASSWORD\": \"YOUR_NEO4J_PASSWORD\"\n      },\n      \"disabled\": false,\n      \"alwaysAllow\": []\n    }\n  }\n}\n```\n\n#### If installed via pipx\n\nIf you installed CodeGraphContext using `pipx`, use the following configuration instead:\n```json\n{\n  \"mcpServers\": {\n    \"CodeGraphContext\": {\n      \"command\": \"pipx\",\n      \"args\": [\n        \"run\",\n        \"codegraphcontext\",\n        \"mcp\",\n        \"start\"\n      ],\n      \"env\": {\n        \"NEO4J_URI\": \"YOUR_NEO4J_URI\",\n        \"NEO4J_USERNAME\": \"YOUR_NEO4J_USERNAME\",\n        \"NEO4J_PASSWORD\": \"YOUR_NEO4J_PASSWORD\"\n      },\n      \"disabled\": false,\n      \"alwaysAllow\": []\n    }\n  }\n}\n```\n\n---\n\n## Natural Language Interaction Examples\n\nOnce the server is running, you can interact with it through your AI assistant using plain English. Here are some examples of what you can say:\n\n### Indexing and Watching Files\n\n-   **To index a new project:**\n    -   \"Please index the code in the `\u002Fpath\u002Fto\u002Fmy-project` directory.\"\n    OR\n    -   \"Add the project at `~\u002Fdev\u002Fmy-other-project` to the code graph.\"\n\n\n-   **To start watching a directory for live changes:**\n    -   \"Watch the `\u002Fpath\u002Fto\u002Fmy-active-project` directory for changes.\"\n    OR\n    -   \"Keep the code graph updated for the project I'm working on at `~\u002Fdev\u002Fmain-app`.\"\n\n    When you ask to watch a directory, the system performs two actions at once:\n    1.  It kicks off a full scan to index all the code in that directory. This process runs in the background, and you'll receive a `job_id` to track its progress.\n    2.  It begins watching the directory for any file changes to keep the graph updated in real-time.\n\n    This means you can start by simply telling the system to watch a directory, and it will handle both the initial indexing and the continuous updates automatically.\n\n### Querying and Understanding Code\n\n-   **Finding where code is defined:**\n    -   \"Where is the `process_payment` function?\"\n    -   \"Find the `User` class for me.\"\n    -   \"Show me any code related to 'database connection'.\"\n\n-   **Analyzing relationships and impact:**\n    -   \"What other functions call the `get_user_by_id` function?\"\n    -   \"If I change the `calculate_tax` function, what other parts of the code will be affected?\"\n    -   \"Show me the inheritance hierarchy for the `BaseController` class.\"\n    -   \"What methods does the `Order` class have?\"\n\n-   **Exploring dependencies:**\n    -   \"Which files import the `requests` library?\"\n    -   \"Find all implementations of the `render` method.\"\n\n-   **Advanced Call Chain and Dependency Tracking (Spanning Hundreds of Files):**\n    The CodeGraphContext excels at tracing complex execution flows and dependencies across vast codebases. Leveraging the power of graph databases, it can identify direct and indirect callers and callees, even when a function is called through multiple layers of abstraction or across numerous files. This is invaluable for:\n    -   **Impact Analysis:** Understand the full ripple effect of a change to a core function.\n    -   **Debugging:** Trace the path of execution from an entry point to a specific bug.\n    -   **Code Comprehension:** Grasp how different parts of a large system interact.\n\n    -   \"Show me the full call chain from the `main` function to `process_data`.\"\n    -   \"Find all functions that directly or indirectly call `validate_input`.\"\n    -   \"What are all the functions that `initialize_system` eventually calls?\"\n    -   \"Trace the dependencies of the `DatabaseManager` module.\"\n\n-   **Code Quality and Maintenance:**\n    -   \"Is there any dead or unused code in this project?\"\n    -   \"Calculate the cyclomatic complexity of the `process_data` function in `src\u002Futils.py`.\"\n    -   \"Find the 5 most complex functions in the codebase.\"\n\n-   **Repository Management:**\n    -   \"List all currently indexed repositories.\"\n    -   \"Delete the indexed repository at `\u002Fpath\u002Fto\u002Fold-project`.\"\n\n---\n\n## Contributing\n\nContributions are welcome! 🎉  \nPlease see our [CONTRIBUTING.md](CONTRIBUTING.md) for detailed guidelines.\nIf you have ideas for new features, integrations, or improvements, open an [issue](https:\u002F\u002Fgithub.com\u002FCodeGraphContext\u002FCodeGraphContext\u002Fissues) or submit a Pull Request.\n\nJoin discussions and help shape the future of CodeGraphContext.\n","CodeGraphContext 是一个将本地代码库索引到图数据库中的MCP服务器加CLI工具，旨在为AI助手提供上下文支持。该项目通过构建代码的深度图结构来增强AI对代码的理解能力，核心功能包括代码索引、图数据库存储以及与AI助手的集成。采用Python语言开发，并遵循MIT许可证开放源码。适用于需要提高软件开发过程中自动化分析和理解能力的场景，如大型项目维护、代码审查及开发者辅助等。",2,"2026-06-11 03:41:20","high_star"]