Skip to content
FossShelf
Home / Categories / For Engineers

codebase-memory-mcp

Efficient code intelligence for AI coding agents

Replaces Atlassian Code Context, Cursor

48.74K starsMITreviewed 22 Jun 2026last commit 14 Nov 2026
Screenshot of codebase-memory-mcp

Who it's for

AI Developers

Ideal for developers using AI coding agents to enhance productivity.

Not using AI coding agents.

Codebase Managers

Useful for teams managing large codebases needing quick insights.

Working with small, simple codebases.

The problem

AI coding agents often waste tokens and time exploring codebases by reading files one at a time. This project provides a solution by indexing codebases into a knowledge graph, allowing for efficient querying.

How it works

Fast Indexing

Indexes an average repository in seconds and the Linux kernel in 3 minutes.

Token Efficiency

Reduces token usage by ~120x for structural queries compared to file-by-file exploration.

Multi-Language Support

Supports 158 programming languages with tree-sitter parsing.

Local Processing

All processing happens locally, ensuring code privacy.

3D Graph Visualization

Interactive UI for exploring the knowledge graph.

Cross-Service Linking

Matches REST routes to HTTP call sites across services.

Features

  • Fast Indexing
  • Token Efficiency
  • Multi-Language Support
  • Local Processing
  • 3D Graph Visualization
  • Cross-Service Linking

How to install

Install the local MCP server on macOS or Linux, then restart your coding agent so it can detect the new MCP configuration. The upstream one-line installer is available, or you can clone the repository and run the installer after review.

git clone https://github.com/DeusData/codebase-memory-mcp.git
cd codebase-memory-mcp
./install.sh
codebase-memory-mcp config set auto_index true

For Windows, download the PowerShell installer from the project repository, inspect it, and run `.\install.ps1`. Use `--ui` on supported releases when you also want the local graph visualization server.

Recommended for this setup

Strengths

  • High Efficiency: Significantly reduces the number of tokens used for queries.
  • Speed: Fast indexing and querying capabilities.
  • Local Operation: No external dependencies or API keys required.
  • Wide Language Support: Compatible with a large number of programming languages.

Trade-offs

  • No Built-in LLM: Relies on external agents for natural language processing.
  • Initial Setup Required: Requires initial indexing which may take time for large codebases.

Tech stack

Languages
C, TypeScript, C++, JavaScript, Shell, Python, CSS, Go, PowerShell, Nix, Roff, Objective-C, HTML, Dockerfile, Assembly, Ruby
Frameworks
React
Databases
SQLite
Tooling
—

FAQ

Does codebase-memory-mcp send my code anywhere?

No, all processing happens locally.

Is it free and open source?

Yes, it is MIT licensed and available on GitHub.

How do I install codebase-memory-mcp?

Use the one-line install command: curl -fsSL https://raw.githubusercontent.com/DeusData/codebase-memory-mcp/main/install.sh | bash.

Similar tools

More in Engineers