OpenSource-Hub
C

codebase-memory-mcp

SHA-256
6.0k stars·Developer Tools·SHA-256 checksum verified

High-performance code intelligence MCP server that indexes entire codebases into a persistent knowledge graph in milliseconds, with zero dependencies and a single static binary.

Smart Download

Download Download Version

v0.8.1 · 36.9 MB

The fastest code intelligence MCP server—index entire repos in milliseconds, single binary, zero dependencies, 158 languages, 99% fewer tokens.

Core Features

  • Millisecond indexing: average repo indexed instantly, Linux kernel (28M LOC) in 3 minutes
  • 158 languages supported via built-in tree-sitter grammars, no extra setup
  • Plug-and-play with 11 coding agents: auto-detects Claude Code, Codex CLI, Gemini CLI, Zed, Aider, and more
  • 14 MCP tools including architecture overview, call graph, dead code detection, cross-service HTTP linking, and Cypher-like queries
  • Zero-dependency single static binary for macOS, Linux, Windows—no Docker, no runtime, no API keys

What It Can't Do

  • The initial indexing scans the entire project and builds a database; large repos like Linux kernel take a few minutes, but subsequent queries are sub-millisecond. This tool reads your codebase and writes to agent config files—by design. If concerned, audit the source. All processing is 100% local; code never leaves your machine. Does not support indexing multiple repos in parallel (single repo with multiple directories is fine). After uninstall, re-download the binary if you need it again.

Use Cases

  • AI coding agents instantly understand large codebases for refactoring, debugging, and code review
  • Team code knowledge management: auto-generate architecture docs, call graphs, and cross-service dependency maps

Detailed Introduction

Codebase-memory-mcp is the fastest code intelligence engine for AI coding agents. It builds a persistent knowledge graph of your codebase—functions, classes, call chains, HTTP routes, and cross-service links—in milliseconds for average repos and 3 minutes for the Linux kernel (28M LOC). It supports 158 languages via tree-sitter AST analysis, enhanced with Hybrid LSP semantic type resolution for 11 major languages. With 14 MCP tools, it reduces token usage by 99% compared to file-by-file exploration, achieves 83% answer quality, and cuts tool calls by 2.1×. The single static binary runs on macOS, Linux, and Windows with no Docker or runtime dependencies, auto-detects 11 coding agents, and includes an optional 3D graph visualization UI. All processing is local and secure.

Tags

code-intelligenceMCPknowledge-graphtree-sitterLSPAI-coding-agentstatic-analysiszero-dependencyperformancesecurity

Getting Started

1

Download installer

Click the button above to download the installer for your system

2

Install the software

Double-click the downloaded installer and follow the prompts

3

Run one-line installer on macOS/Linux: curl -fsSL https://raw.githubusercontent.com/DeusData/codebase-memory-mcp/main/install.sh | bash

4

On Windows (PowerShell): Invoke-WebRequest -Uri ... -OutFile install.ps1; .\install.ps1

5

Restart your coding agent and say "Index this project"—the knowledge graph is ready instantly

Install Guide
  1. Run one-line installer on macOS/Linux: curl -fsSL https://raw.githubusercontent.com/DeusData/codebase-memory-mcp/main/install.sh | bash
  2. On Windows (PowerShell): Invoke-WebRequest -Uri ... -OutFile install.ps1; .\install.ps1
  3. Restart your coding agent and say "Index this project"—the knowledge graph is ready instantly
File Integrity

SHA-256 checksum verified

Checksum extracted from GitHub official Release page

SHA256 Checksum

3377e494540956bb6f9f8474efe7c7d675f7bc64ab838c96e0a63ffd74338794

This checksum is extracted from the GitHub Release page. Verify file integrity after download.

All SHA-256 checksums on this platform are extracted from the project's official GitHub Release page, without any modification. You can independently verify them on the GitHub Releases page.

Open Source Transparency

View GitHub Source
Environment Guide

Uninstall Info

Run 'codebase-memory-mcp uninstall' to remove all agent configurations, skills, hooks, and instruction files. The binary and SQLite databases are not deleted.

No Extra Dependencies

Ready to use after download. No additional runtime required.

Project Info
LicenseMIT
Last Updated2026-06-18T07:02:01Z
GitHub RepositoryOfficial Website

Similar Projects