Open Source Alternatives LogoOpen Source Alternatives
AlternativesBlogAdvertise
Open Source Alternatives LogoOpen Source Alternatives

Stay Updated

Subscribe to our newsletter for the latest news and updates about Alternatives

Open Source Alternatives LogoOpen Source Alternatives

Handpicked Open Source Alternatives to Paid Softwares

Product
  • Search
  • Categories
  • Tag
  • Sign In
Resources
  • Blog
  • Collection
  • Submit
  • Advertise your tool
Company
  • Privacy Policy
  • Terms of Service
  • Refund Policy
  • Sitemap
Copyright © 2026 All Rights Reserved.
Home/Categories/Developer Tools/codebase-memory-mcp
codebase-memory-mcp icon

codebase-memory-mcp

Open source alternative to Cursor

Index codebases into a local MCP knowledge graph so AI coding agents can query structure, call paths, and impact without rereading every file.

28.7K starsCMITActive this month
Visit websiteGitHub repo
image of codebase-memory-mcp
Contents
  1. 01Who codebase-memory-mcp is for
  2. 02The problem it solves
  3. 03How it solves it
  4. 04Strengths and trade-offs
  5. 05Install and self-host
  6. 06Tech stack
  7. 07FAQ
  8. 08Similar open-source tools
TL;DR

codebase-memory-mcp is an open-source MCP server that indexes codebases into a knowledge graph, enabling AI agents to answer questions efficiently. It supports 158 languages and operates locally without dependencies. The tool significantly reduces token usage and indexing time, making it ideal for large codebases.MIT · C · 28.7K stars · Active this month

who it's for

Who codebase-memory-mcp is for#

AI Developers

Ideal for developers using AI coding agents to enhance productivity.

Skip if:

Not using AI coding agents.

Codebase Managers

Useful for teams managing large codebases needing quick insights.

Skip if:

Working with small, simple codebases.

the problem

The problem it solves#

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 codebase-memory-mcp solves it

How it solves it#

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.

strengths · trade-offs

Strengths and trade-offs#

Strengths

  • High EfficiencySignificantly reduces the number of tokens used for queries.
  • SpeedFast indexing and querying capabilities.
  • Local OperationNo external dependencies or API keys required.
  • Wide Language SupportCompatible with a large number of programming languages.

Trade-offs

  • -No Built-in LLMRelies on external agents for natural language processing.
  • -Initial Setup RequiredRequires initial indexing which may take time for large codebases.
install · self-host

Install and self-host#

bash
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.

```bash
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.
tech stack · detected from GitHub

What it's built on#

Languages
CC++TypeScript
Frameworks
React
Databases
SQLite
frequently asked

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.

also worth a look

Similar open-source tools#

orca

orca

The ultimate IDE for coding agents

4.7KTypeScriptMIT
agentmemory

agentmemory

Persistent memory for AI coding agents

24.8KTypeScriptApache-2.0
superpowers

superpowers

Skill-based workflows for coding agents

250KShellMIT
Agent Skills

Agent Skills

Structured workflows for AI coding agents.

41KShellMIT
Flue Framework

Flue Framework

Build powerful, autonomous agents with TypeScript.

4.9KTypeScriptApache-2.0
9Router

9Router

Smart AI Router with 3-Tier Fallback

17.3KJavaScriptMIT

Repository

Stars
28.7K
Forks
2.1K
License
MIT
Latest
v0.9.0
Last commit
9 days ago
Last verified
Jul 9, 2026
Repo
DeusData/codebase-memory-mcp ↗

Additional details

Language
C
Open issues
231
Contributors
80
First release
2026

Categories

Developer ToolsAI & Machine LearningBackend Development

Tags

AI Coding AssistantDeveloper ToolsKnowledge ManagementLocal-first