22nd of 190 in MCP servers for developers
codegraph
Local code knowledge graph exposed to coding agents over MCP
- Stars
- 78.8k
- License
- MIT
- Last commit
- Nov 2026
- Last release
- Nov 2026
- Language
- TypeScript
62 on 24 Mar 202678,766 on 24 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
CodeGraph indexes a repository into a local graph of symbols, call edges and dependencies stored in a .codegraph/ directory, then serves it to coding agents through an MCP server. Agents query the graph for relevant source, call paths and change blast radius instead of grepping and reading files. One installer wires it into Claude Code, Cursor, Codex, opencode, Gemini CLI, Copilot and others, and the index auto-syncs on file changes.
Who it is for: Developers running coding agents on mid-to-large codebases
Strengths
- codegraph install auto-configures about 18 agents, including Claude Code, Cursor, Codex and Copilot
- Indexes dozens of languages into one graph with cross-file resolution
- Watches files and updates the index automatically, so no manual re-indexing
- Self-contained install with bundled runtime; Node.js is not required
Weaknesses
- Responses stay resident in context: about 80% more retrieval context at session end, per its own numbers
- Benchmarks are the author's own: seven repos, one question each
- Index is per project and must be rebuilt with codegraph index after some upgrades
- Hosted PR-analysis platform is only a waitlist; the open-source part is the local tool
What it needs
- no GPU
- Models: Claude Code, Cursor, Codex CLI, opencode, Gemini CLI
What changed
- v1.6.4 ↗ (opens in a new tab)Security fix
“On a computer shared with other users, each agent session now checks that the CodeGraph background server it connects to runs as you before sending it anything, and serves the session itself when the…”
- v1.6.3 ↗ (opens in a new tab)Security fix
CVE-2026-111497. “Security fixes. A sensitive folder such as ~/.ssh can no longer be opened as a project through a link, a junction or another spelling of its path, and the bundled Node.js moves to 24.22.1, which fixe…”
From the release notes. No flag means the note does not say so, not that the upgrade is safe.
Known problems
Open now, reported in the last 90 days
- codegraph ui -- error: unknown command 'ui' ↗ (opens in a new tab)45 reactions
- codegraph ui - does not work ↗ (opens in a new tab)6 reactions
- false advertisements/overstated benchmarks ↗ (opens in a new tab)2 reactions
- Claude tries hard to avoid codegraph ↗ (opens in a new tab)2 reactions
- Search ranks event declarations (GDScript signals, Solidity and VB.NET events) below same-named functions ↗ (opens in a new tab)1 reactions
Reported, then fixed by a linked change
- C++ indexing fails with invalid regular expression for operator++ during reference resolution ↗ (opens in a new tab)3 reactions · closed 22 Oct 2026Fixed by fix(cpp): code that calls operator++ by its name no longer stops an index or sync ↗ (opens in a new tab)
- Multiple sub-Git projects cannot be indexed as a whole. ↗ (opens in a new tab)3 reactions · closed 12 Jun 2026Fixed by feat(index): multi-repo workspaces index as a whole (#514) ↗ (opens in a new tab)
- SQLite "database is locked" error on concurrent MCP tool calls ↗ (opens in a new tab)2 reactions · closed 21 May 2026Fixed by Self-contained distribution: bundle Node + node:sqlite, drop better-sqlite3/wasm (closes #238) ↗ (opens in a new tab)
Titles are the reporters' own words, taken from the project's GitHub issues and ranked by reactions. We have not tried to reproduce any of them.
Safety checks
Checks passed: 14 of 16 (23 Nov 2026)
Checked commit f5a2cd7 ↗ (opens in a new tab) · npm @colbymchenry/codegraph 1.6.4 · content sha256:76376cb74021…
- Pass
Package points back to this repo
npm @colbymchenry/codegraph@1.6.4 names this repo
- Fail
Listed in the official MCP Registry under the owner's name
Not listed in the official MCP Registry
MCP Registry: io.github.colbymchenry ↗ (opens in a new tab), MCP Registry: codegraph ↗ (opens in a new tab)
- Pass
Latest release has build provenance
Provenance on npm @colbymchenry/codegraph@1.6.4
npm -/npm/v1/attestations/@colbymchenry/codegraph@1.6.4 ↗ (opens in a new tab)
- Pass
No advisories at CVSS 7 or higher
No advisory at CVSS ≥ 7 in npm @colbymchenry/codegraph@1.6.4, own GitHub advisories (partial: dependencies of npm @colbymchenry/codegraph@1.6.4 not read)
api.deps.dev ↗ (opens in a new tab), security page ↗ (opens in a new tab)
- Pass
No install-time scripts
No install scripts in npm @colbymchenry/codegraph@1.6.4
- Pass
No hardcoded keys or tokens
No key matching a known secret format in 1951 files
- Fail
No binaries or archives in agent or server folders
29 × binary or archive file (src/extraction/wasm/tree-sitter-arkts.wasm)
tree-sitter-arkts.wasm ↗ (opens in a new tab), tree-sitter-c.wasm ↗ (opens in a new tab), tree-sitter-c_sharp.wasm ↗ (opens in a new tab)
- Pass
No dangerous CI workflow
No dangerous workflow pattern and no write-all token in 2 workflows
- Pass
- Pass
No hidden Unicode in agent-facing text
No hidden Unicode in 492 files
- Pass
No override, concealment or secret-file instructions
No override, concealment or sensitive-path instruction in 3 files
- Pass
A private way to report a vulnerability
Private vulnerability reporting is on
- Pass
- Pass
No fake prerequisite or installer steps
No installer or prerequisite step in 4 files; read: commit f5a2cd7, npm @colbymchenry/codegraph@1.6.4
- Pass
No email recipients added since the last checked version, no hidden BCC
No address added since the check on 2026-11-16 (commit b300cce) (0 in the code); npm @colbymchenry/codegraph@1.6.4: no address added since @colbymchenry/codegraph@1.6.2 (0 in the code); read: commit f5a2cd7, npm @colbymchenry/codegraph@1.6.4
- Pass
No shell commands built from input, no unchecked URL opening
No shell command built from a variable or unchecked URL opening in 441 files; read: commit f5a2cd7
N/A: 2 checks do not apply here or had no data
- N/A
HTTPS endpoints, no credentials in shipped config
No server.json, .mcp.json or plugin.json
- N/A
HTTP endpoints check auth or stay on localhost
No HTTP or SSE transport in the code (stdio only)
Facts, not pass or fail
- Bundles scripts
- No
- Hooks
- No
- A bin folder
- Yes
- MCP config file
- No
- Calls other MCP tools
- No
- Domains its agent files link to
- github.com
- Hosts in its code new since the last check
- None
Read on 23 Nov 2026 from the repo's files, npm, PyPI, deps.dev, OSV and the MCP Registry. We ran nothing from the project. N/A means the check does not apply or we could not read its data. Not part of the score: what each check looks at and what it cannot see. A result looks wrong? Tell us on GitHub (opens in a new tab).
Head to head
Also in MCP servers for developers
See all 190| Rank | Project | Score |
|---|---|---|
| 1 | gitnexusCode knowledge graph exposed to coding agents through MCP tools | 97 out of 100 |
| 3 | playwright-mcpMCP server that lets LLMs drive a browser through Playwright accessibility snapshots | 93 out of 100 |
| #4 | fastmcpPython framework for building MCP servers, clients and interactive apps | 93 out of 100 |
| #5 | cuaDesktop automation tools and VM sandboxes for computer-use agents | 92 out of 100 |
| #6 | code-review-graphLocal Tree-sitter code graph that gives coding assistants review context over MCP | 92 out of 100 |