head to head · open source
codebase-memory-mcp vs gitdiagram
codebase-memory-mcp has 45,551 GitHub stars, 3,726 forks, 654 open issues and last shipped 3 days ago. gitdiagram has 17,596 stars, 1,346 forks, 43 open issues and last shipped yesterday. codebase-memory-mcp leads on adoption by 159% (45,551 vs 17,596 stars). codebase-memory-mcp is written in C under MIT; gitdiagram is written in TypeScript under MIT. codebase-memory-mcp has attracted 8% as many forks as stars, gitdiagram 8%. gitdiagram was the more recently maintained of the two, and both are self-hostable with no licence fee. The two share 1 topic tag (developer-tools), so they are genuine substitutes rather than adjacent tools.
Two open source projects, one decision. Both are free and self-hostable — the differences are community size, license terms, language stack and release pace.
← all 20902 open source comparisons
Side by side
| codebase-memory-mcp | gitdiagram | |
|---|---|---|
| GitHub stars | ★ 46K | ★ 18K |
| License | MIT | MIT |
| Written in | C | TypeScript |
| Last push | 2026-09-28 | 2026-09-30 |
| Forks | ⑂ 3.7K | ⑂ 1.3K |
| Self-hosting | Yes | Yes |
| Data ownership | Your server | Your server |
pick codebase-memory-mcp if
- You weight community size — 46K stars and counting
- You want the MIT license terms
- Your stack matches C
- You value the larger contributor base for long-term maintenance
pick gitdiagram if
- You want the gitdiagram feature set and don't need the biggest community
- You prefer the MIT license terms
- Your stack matches TypeScript
- You evaluated both and gitdiagram fits your workflow better
About codebase-memory-mcp
codebase memory mcp is a high performance code intelligence MCP server, written in C, that indexes a codebase into a persistent knowledge graph so AI coding agents can answer structural questions in under a millisecond, and it is built for developers and teams who run agents such as Cursor, Claude Code, Codex, Gemini CLI, aider, or Kilo Code against large repositories.
read the full codebase-memory-mcp overview →
About gitdiagram
GitDiagram is an open source, MIT licensed TypeScript tool that turns any public or private GitHub repository into an interactive architecture diagram — and now into a one minute narrated explainer video — for developers, reviewers and AI agents who need to understand a codebase quickly.
read the full gitdiagram overview →
More in Developer Tools
Related comparisons
More Frameworks & Platforms projects
Compare either of these against the rest of the Frameworks & Platforms field.
Frequently asked questions
Is codebase-memory-mcp or gitdiagram more popular?
codebase-memory-mcp has 45,551 GitHub stars and gitdiagram has 17,596. codebase-memory-mcp has the larger community by that measure.
Are codebase-memory-mcp and gitdiagram free?
Both are open source. codebase-memory-mcp is licensed under MIT and gitdiagram under MIT. Neither carries a licence fee.
What is the difference between codebase-memory-mcp and gitdiagram?
codebase-memory-mcp is written in C and gitdiagram in TypeScript. The practical differences are community size, licence terms, language stack and release cadence — all compared in the table above.
Which should I choose, codebase-memory-mcp or gitdiagram?
Choose codebase-memory-mcp if you want the larger community (45,551 stars) or its MIT licence terms. Choose gitdiagram if its feature set, stack or MIT licence fits better. Both are self-hostable.