CodeGraphContext/CodeGraphContext
An MCP server plus a CLI tool that indexes local code into a graph database to provide context to AI assistants. observed · 2026-08-28
Health v2 · maintenance only
84/100
- Activity 99
- Release rhythm 96
- Longevity 27
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 0.0
- age_days: 382
- days_rel: 25
- days_push: 7
- n_releases_24m: 21
Adoption not part of the score
4126 stars · 823 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
CodeGraphContext (CGC) is an MCP server and CLI tool that indexes local codebases into a graph database, exposing code structure and relationships as queryable context for AI assistants. It bridges deep code graphs with LLM-based agents via the Model Context Protocol.
Use cases
- give my AI coding assistant context about my codebase structure
- index a repository into a graph database for LLM queries
- let Claude or Cursor navigate call graphs and dependencies
- build a queryable code knowledge graph from local source code
- MCP server for code understanding and navigation
- analyze code relationships and dependencies with AI agents
When to choose
- you use MCP-compatible AI assistants and want them to understand a large codebase
- you need structural code context (call graphs, dependencies) rather than plain text search
- you want a local, self-hosted code indexing tool with a CLI
When to avoid
- you only need simple keyword or semantic code search without graph structure
- you don't run any MCP-compatible AI assistant
- you need hosted multi-repo code intelligence at organizational scale
Facets
service · maturity active
mcp search-engine parser developer-tools cli developer-tools large-language-models parsers python cli cross-platform code-graph graph-database code-indexing mcp-server ai-context static-analysis ai-agents
3 sources
- readme: https://github.com/CodeGraphContext/CodeGraphContext · fetched 2026-08-28 · 834f3da557be
- homepage: https://cgc.codes · fetched 2026-08-29 · e0be49ce2e86
- registry_pypi: https://pypi.org/pypi/codegraphcontext/json · fetched 2026-08-29 · 579ba92983c8
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| CodeGraphContext/CodeGraphContext | main | 84 |
For agents
markdown · JSON · MCP: product_card(name="CodeGraphContext/CodeGraphContext")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem