
Picture published by the creator on GitHub.
codebase-memory-mcp: Give a coding agent an instant map of a whole codebase
Added · Updated
Made by Martin Vogel
View profile on GitHub (opens in a new tab)codebase-memory-mcp is an MCP server (a tool that plugs into AI coding assistants) that reads a codebase and builds a searchable knowledge graph of its functions, classes, call chains and cross-file links, so an agent can answer structural questions about the code in under a millisecond instead of reading files one at a time.
It parses 162 programming languages and claims to fully index an average repository in milliseconds, and even something as large as the Linux kernel (28 million lines of code) in about three minutes. It ships as a single downloadable executable with no separate language runtime or account needed.
What it does
The tool uses tree-sitter, a standard code-parsing library, to build an abstract syntax tree for each file, then layers on language-server-style type resolution for several major languages to produce a persistent knowledge graph connecting functions, classes, call chains, HTTP routes and cross-service links. Instead of an agent reading many files to understand how a change ripples through a codebase, it asks the graph a structural query and gets an answer in under a millisecond, exposed through 17 MCP tools plus a local 3D graph visualization you can browse in a web browser.
You could use it to…
- Give your coding agent an instant map of a whole codebase
- Index the Linux kernel’s 28 million lines in three minutes
- Answer structural code questions in under a millisecond
Can I use this?
You'll need A computer to run the downloaded executable on · No install needed
Worth knowing The performance and accuracy figures (83% answer quality, 10x fewer tokens versus file-by-file exploration) are the creator's own reported numbers from a preprint, not an independent audit; the tool reads your codebase and writes to your agent's configuration files, which the project itself flags as something to be aware of. MIT licence.
Why it's here
Not trending this week
Last seen on the GitHub trending list on 2 October 2026. It stays on BuildTube so you can still find it.
- 48,334 people have starred it on GitHub.
Numbers checked on 8 November 2026; not refreshed since.
Behind it
View sourceBuildTube has not run or verified this project. Everything above is written from what the creator published.
Made this?
Quick questions
- What is codebase-memory-mcp?
- The tool uses tree-sitter, a standard code-parsing library, to build an abstract syntax tree for each file, then layers on language-server-style type resolution for several major languages to produce a persistent knowledge graph connecting functions, classes, call chains, HTTP routes and cross-service links.
- What can I use codebase-memory-mcp for?
- Give your coding agent an instant map of a whole codebase; Index the Linux kernel’s 28 million lines in three minutes; Answer structural code questions in under a millisecond
- Can I run codebase-memory-mcp on my computer?
- It runs from a terminal on your own computer.
- What do I need to use codebase-memory-mcp?
- A downloaded, single-file executable for macOS, Linux or Windows, and an MCP-compatible coding tool to connect it to.
- What license does codebase-memory-mcp use?
- MIT licence.
More from this week
- Stroq Check AI coding agent sessions for leaked keys
Stroq scans your recent Claude Code and Codex sessions for keys that left your machine.
- agent-desktop Let AI agents read and click desktop apps
For developers building computer-use agents: agent-desktop lets an AI agent read and operate desktop apps on Mac, Windows or Linux from a command line.
- OpenBot Run AI coworkers with their own browser and files
Give an AI coworker a job, connect the tools it needs and watch it work.
Explore by topic
Post this
Download share imageFor makers
Made this? Show it’s on BuildTube — add the badge to your README or embed the card on your site.
README badge (Markdown)
[](https://buildtube.app/p/gh-deusdata-codebase-memory-mcp/)Embed card (HTML)
<iframe src="https://buildtube.app/embed/gh-deusdata-codebase-memory-mcp/" width="560" height="240" style="border:0;max-width:100%" loading="lazy" title="codebase-memory-mcp on BuildTube"></iframe>