BuildTube Preview About
Back to the feed
CBM Lens Beta architecture walkthrough: zoom into the source folders of this repository, open src/pipeline, select artifact.c and open its source

Picture published by the creator on GitHub.

codebase-memory-mcp: Give a coding agent an instant map of a whole codebase

Added · Updated

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?

Terminal, one binary

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 source

BuildTube 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

Explore by topic

Post this

A ready-made picture of this card for X, LinkedIn or a group chat. Link to this page alongside it.

Share image for codebase-memory-mcpDownload share image

For makers

Made this? Show it’s on BuildTube — add the badge to your README or embed the card on your site.

Featured on BuildTube

README badge (Markdown)

[![Featured on BuildTube](https://buildtube.app/badge/gh-deusdata-codebase-memory-mcp.svg)](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>

Back to the feed