• Picks
  • Discover
  • Alternatives
  • About

© 2026 Willet

  • Newsletter
  • About
  • FAQ
  • Terms
  • Privacy & Cookies
Join the Discord (opens in a new tab)
Colby Mchenry avatar

CodeGraph

Local code graph that gives AI coding agents structural context via MCP

  • AI coding agents
  • Developer tools
View on GitHub
Website

What it is

CodeGraph parses a project into a graph of symbols, calls, and cross-file references, stores it in a local .codegraph directory, and keeps it updated as files change. It exposes the graph through an MCP server and CLI so agents such as Claude Code, Cursor, Codex, and Copilot can look up relevant code with fewer searches and tokens. Developers who lean on coding agents install it once, wire it to their agents with one command, and index each repository locally.

Images

Facts

Stars
74,520 GitHub stars.
74,520

Forks
4,822
Commits
1,535
Contributors
49
Language
C
License
MIT
Last commit
Oct 20, 2026
On GitHub since
January 2026
First release
May 2026
Platforms
macOS, Windows, Linux, CLI, library
Self-hostable
No
Author
Colby Mchenry
Tags
  • coding-agent
  • mcp-server
  • context-engineering
  • knowledge-graph
  • code-intelligence

Last synced from GitHub on Oct 20, 2026

The 10 best overlooked open-source projects, every Monday.

Share and more

Comments

No comments yet. Start the conversation.

Similar projects

  • Martin Vogel avatar

    codebase-memory-mcp

    Local MCP server that indexes code into a queryable knowledge graph

    47k
  • Tirth Kanani avatar

    code-review-graph

    Local code graph that feeds AI coding assistants only the relevant files

    32.3k
  • Graphify Labs avatar

    Graphify

    Codebase-to-knowledge-graph skill for AI coding assistants

    130k
  • Vitali Avagyan avatar

    Code-Graph-RAG

    Maps a codebase into a knowledge graph to query and edit in plain English

    5.3k

What people are saying

Updated Oct 21, 2026
  • Bluesky“I came across this impressive open-source project on GitHub that helps AI coding agents work faster and cheaper with local project-scoped code graphs. See…”May 25, 2026 · 7 likes · 2 replies (opens Bluesky in a new tab)
  • Bluesky“hey #rstats is anyone working R support for ?”May 22, 2026 · 7 likes · 2 replies (opens Bluesky in a new tab)
  • Bluesky“#WorksWellForMe: For code exploration tasks, when you tell your agent to clone a repo in a temp folder, also tell it to init codegraph in that folder — and…”Sep 29, 2026 · 5 likes · 1 reply (opens Bluesky in a new tab)
  • Hacker NewsCodegraphJul 26, 2026 · 5 points · 0 comments (opens Hacker News in a new tab)
  • Bluesky“CodeGraph parses your repo with tree-sitter into a local SQLite graph served over MCP, so agents query callers, callees, and impact instead of grepping the…”Jun 17, 2026 · 2 likes · 1 reply (opens Bluesky in a new tab)
  • Hacker NewsSupercharge Claude Code, Cursor, Codex with Semantic Code IntelligenceMay 24, 2026 · 1 point · 2 comments (opens Hacker News in a new tab)
  • Bluesky“GitHub - colbymchenry/codegraph: Pre-indexed code knowledge graph for Claude Code, Codex, Cursor, OpenCode, and Hermes Agent — fewer tokens, fewer tool calls…”May 24, 2026 · 1 like · 1 reply (opens Bluesky in a new tab)
  • Bluesky“ai ml / GitHub Trending: GitHub - colbymchenry/codegraph: Pre-indexed code kno... For engineers using AI coding agents on large codebases, CodeGraph…”May 22, 2026 · 1 like · 0 replies (opens Bluesky in a new tab)
  • Bluesky“Knowledge graph for your agents is a very cool ideas 🔥”May 21, 2026 · 1 like · 0 replies (opens Bluesky in a new tab)
  • Bluesky“But in real-life tasks and with bigger codebase results using codegraph will be much better that file-reads one. The lib is here:”Jun 26, 2026 · 0 likes · 0 replies (opens Bluesky in a new tab)