DeusData/codebase-memory-mcpPublic

High-performance code intelligence MCP server. Indexes codebases into a persistent knowledge graph — average repo in milliseconds. 158 languages, sub-ms queries, 99% fewer tokens. Single static binary, zero dependencies.

AI summary: MCP server providing instant semantic codebase indexing and graph querying for AI agents.

Stars
45.7K
+177 today
Forks
3.8K
Watchers
184
Open issues
456
Open PRs
210
Contributors
~187
Commits
3.4K
Branches
519

CMITCreated Feb 24, 2026Last push todayLatest release v0.11.0+890 stars this week+3.7K this month

Quick answers

What is codebase-memory-mcp?
MCP server providing instant semantic codebase indexing and graph querying for AI agents.
What does codebase-memory-mcp do?
This tool indexes massive codebases in milliseconds using advanced tree-sitter AST analysis and a hybrid LSP implementation for precise semantic type resolution. It creates a persistent, highly structured knowledge graph of functions, classes, HTTP routes, and architectural decisions locally on your machine. By acting as an MCP server, it allows advanced AI coding agents like Claude Code or Cursor to query this complex graph instantly without relying on slow file-by-file text searches. This architectural approach significantly reduces expensive token usage and dramatically improves the structural accuracy of AI-generated code.
Who is codebase-memory-mcp for?
This tool is for software engineers and AI tool users working with large, complex codebases who need highly accurate context retrieval. It requires standard build tools and compatibility with MCP clients.
How do I get started with codebase-memory-mcp?
curl -fsSL https://raw.githubusercontent.com/DeusData/codebase-memory-mcp/main/install.sh | bash
How popular is codebase-memory-mcp on GitHub?
DeusData/codebase-memory-mcp has 45,740 stars and 3,760 forks on GitHub, and gained 890 stars in the last 7 days.
What license does codebase-memory-mcp use?
DeusData/codebase-memory-mcp is released under the MIT license.

Star history

since Jul 27, 2026
020K40KJul 2026Aug 2026Sep 2026Oct 2026
45.7K stars as of Oct 3, 2026. Measured daily since Jul 27, 2026; GitHub no longer exposes earlier star timestamps.

Contribution activity

commits per day, last 52 weeks
OctNovDecJanFebMarAprMayJunJulAugSepMonWedFri2025-10-04: 0 commits2025-10-05: 0 commits2025-10-06: 0 commits2025-10-07: 0 commits2025-10-08: 0 commits2025-10-09: 0 commits2025-10-10: 0 commits2025-10-11: 0 commits2025-10-12: 0 commits2025-10-13: 0 commits2025-10-14: 0 commits2025-10-15: 0 commits2025-10-16: 0 commits2025-10-17: 0 commits2025-10-18: 0 commits2025-10-19: 0 commits2025-10-20: 0 commits2025-10-21: 0 commits2025-10-22: 0 commits2025-10-23: 0 commits2025-10-24: 0 commits2025-10-25: 0 commits2025-10-26: 0 commits2025-10-27: 0 commits2025-10-28: 0 commits2025-10-29: 0 commits2025-10-30: 0 commits2025-10-31: 0 commits2025-11-01: 0 commits2025-11-02: 0 commits2025-11-03: 0 commits2025-11-04: 0 commits2025-11-05: 0 commits2025-11-06: 0 commits2025-11-07: 0 commits2025-11-09: 0 commits2025-11-10: 0 commits2025-11-11: 0 commits2025-11-12: 0 commits2025-11-13: 0 commits2025-11-14: 0 commits2025-11-15: 0 commits2025-11-16: 0 commits2025-11-17: 0 commits2025-11-18: 0 commits2025-11-19: 0 commits2025-11-20: 0 commits2025-11-21: 0 commits2025-11-22: 0 commits2025-11-23: 0 commits2025-11-24: 0 commits2025-11-25: 0 commits2025-11-26: 0 commits2025-11-27: 0 commits2025-11-28: 0 commits2025-11-29: 0 commits2025-11-30: 0 commits2025-12-01: 0 commits2025-12-02: 0 commits2025-12-03: 0 commits2025-12-04: 0 commits2025-12-05: 0 commits2025-12-06: 0 commits2025-12-07: 0 commits2025-12-08: 0 commits2025-12-09: 0 commits2025-12-10: 0 commits2025-12-11: 0 commits2025-12-12: 0 commits2025-12-13: 0 commits2025-12-14: 0 commits2025-12-15: 0 commits2025-12-16: 0 commits2025-12-17: 0 commits2025-12-18: 0 commits2025-12-19: 0 commits2025-12-20: 0 commits2025-12-21: 0 commits2025-12-22: 0 commits2025-12-23: 0 commits2025-12-24: 0 commits2025-12-25: 0 commits2025-12-26: 0 commits2025-12-27: 0 commits2025-12-28: 0 commits2025-12-29: 0 commits2025-12-30: 0 commits2025-12-31: 0 commits2026-01-01: 0 commits2026-01-02: 0 commits2026-01-03: 0 commits2026-01-04: 0 commits2026-01-05: 0 commits2026-01-06: 0 commits2026-01-07: 0 commits2026-01-08: 0 commits2026-01-09: 0 commits2026-01-10: 0 commits2026-01-11: 0 commits2026-01-12: 0 commits2026-01-13: 0 commits2026-01-14: 0 commits2026-01-15: 0 commits2026-01-16: 0 commits2026-01-17: 0 commits2026-01-18: 0 commits2026-01-19: 0 commits2026-01-20: 0 commits2026-01-21: 0 commits2026-01-22: 0 commits2026-01-23: 0 commits2026-01-24: 0 commits2026-01-25: 0 commits2026-01-26: 0 commits2026-01-27: 0 commits2026-01-28: 0 commits2026-01-29: 0 commits2026-01-30: 0 commits2026-01-31: 0 commits2026-02-01: 0 commits2026-02-02: 0 commits2026-02-03: 0 commits2026-02-04: 0 commits2026-02-05: 0 commits2026-02-06: 0 commits2026-02-07: 0 commits2026-02-08: 0 commits2026-02-09: 0 commits2026-02-10: 0 commits2026-02-11: 0 commits2026-02-12: 0 commits2026-02-13: 0 commits2026-02-14: 0 commits2026-02-15: 0 commits2026-02-16: 0 commits2026-02-17: 0 commits2026-02-18: 0 commits2026-02-19: 0 commits2026-02-20: 0 commits2026-02-21: 0 commits2026-02-22: 0 commits2026-02-23: 0 commits2026-02-24: 0 commits2026-02-25: 18 commits2026-02-26: 4 commits2026-02-27: 2 commits2026-02-28: 12 commits2026-03-01: 9 commits2026-03-02: 5 commits2026-03-03: 4 commits2026-03-04: 0 commits2026-03-05: 1 commit2026-03-06: 17 commits2026-03-07: 6 commits2026-03-08: 0 commits2026-03-09: 0 commits2026-03-10: 0 commits2026-03-11: 0 commits2026-03-12: 11 commits2026-03-13: 3 commits2026-03-14: 1 commit2026-03-15: 3 commits2026-03-16: 0 commits2026-03-17: 10 commits2026-03-18: 28 commits2026-03-19: 33 commits2026-03-20: 26 commits2026-03-21: 42 commits2026-03-22: 10 commits2026-03-23: 12 commits2026-03-24: 15 commits2026-03-25: 31 commits2026-03-26: 16 commits2026-03-27: 6 commits2026-03-28: 10 commits2026-03-29: 2 commits2026-03-30: 5 commits2026-03-31: 2 commits2026-04-01: 1 commit2026-04-02: 21 commits2026-04-03: 15 commits2026-04-04: 4 commits2026-04-05: 2 commits2026-04-06: 18 commits2026-04-07: 1 commit2026-04-08: 0 commits2026-04-09: 0 commits2026-04-10: 2 commits2026-04-11: 2 commits2026-04-12: 11 commits2026-04-13: 0 commits2026-04-14: 3 commits2026-04-15: 17 commits2026-04-16: 6 commits2026-04-17: 0 commits2026-04-18: 0 commits2026-04-19: 0 commits2026-04-20: 0 commits2026-04-21: 0 commits2026-04-22: 1 commit2026-04-23: 0 commits2026-04-24: 0 commits2026-04-25: 1 commit2026-04-26: 0 commits2026-04-27: 0 commits2026-04-28: 0 commits2026-04-29: 0 commits2026-04-30: 5 commits2026-05-01: 0 commits2026-05-02: 4 commits2026-05-03: 0 commits2026-05-04: 5 commits2026-05-05: 5 commits2026-05-06: 0 commits2026-05-07: 0 commits2026-05-08: 26 commits2026-05-09: 48 commits2026-05-10: 9 commits2026-05-11: 0 commits2026-05-12: 0 commits2026-05-13: 0 commits2026-05-14: 0 commits2026-05-15: 0 commits2026-05-16: 0 commits2026-05-17: 0 commits2026-05-18: 0 commits2026-05-19: 4 commits2026-05-20: 1 commit2026-05-21: 14 commits2026-05-22: 0 commits2026-05-23: 0 commits2026-05-24: 0 commits2026-05-25: 0 commits2026-05-26: 3 commits2026-05-27: 0 commits2026-05-28: 3 commits2026-05-29: 14 commits2026-05-30: 31 commits2026-05-31: 39 commits2026-06-01: 20 commits2026-06-02: 2 commits2026-06-03: 10 commits2026-06-04: 1 commit2026-06-05: 13 commits2026-06-06: 35 commits2026-06-07: 12 commits2026-06-08: 16 commits2026-06-09: 20 commits2026-06-10: 8 commits2026-06-11: 7 commits2026-06-12: 27 commits2026-06-13: 12 commits2026-06-14: 6 commits2026-06-15: 0 commits2026-06-16: 2 commits2026-06-17: 3 commits2026-06-18: 1 commit2026-06-19: 1 commit2026-06-20: 7 commits2026-06-21: 2 commits2026-06-22: 12 commits2026-06-23: 9 commits2026-06-24: 11 commits2026-06-25: 4 commits2026-06-26: 40 commits2026-06-27: 40 commits2026-06-28: 59 commits2026-06-29: 8 commits2026-06-30: 9 commits2026-07-01: 17 commits2026-07-02: 15 commits2026-07-03: 25 commits2026-07-04: 26 commits2026-07-05: 18 commits2026-07-06: 34 commits2026-07-07: 26 commits2026-07-08: 17 commits2026-07-09: 18 commits2026-07-10: 12 commits2026-07-11: 14 commits2026-07-12: 26 commits2026-07-13: 17 commits2026-07-14: 6 commits2026-07-15: 3 commits2026-07-16: 13 commits2026-07-17: 5 commits2026-07-18: 51 commits2026-07-19: 31 commits2026-07-20: 0 commits2026-07-21: 3 commits2026-07-22: 5 commits2026-07-23: 28 commits2026-07-24: 3 commits2026-07-25: 48 commits2026-07-26: 34 commits2026-07-27: 30 commits2026-07-28: 17 commits2026-07-29: 14 commits2026-07-30: 12 commits2026-07-31: 17 commits2026-08-01: 10 commits2026-08-02: 12 commits2026-08-03: 38 commits2026-08-04: 20 commits2026-08-05: 6 commits2026-08-06: 23 commits2026-08-07: 10 commits2026-08-08: 21 commits2026-08-09: 27 commits2026-08-10: 14 commits2026-08-11: 9 commits2026-08-12: 14 commits2026-08-13: 52 commits2026-08-14: 25 commits2026-08-15: 11 commits2026-08-16: 15 commits2026-08-17: 14 commits2026-08-18: 13 commits2026-08-19: 8 commits2026-08-20: 17 commits2026-08-21: 9 commits2026-08-22: 6 commits2026-08-23: 2 commits2026-08-24: 8 commits2026-08-25: 2 commits2026-08-26: 5 commits2026-08-27: 20 commits2026-08-28: 35 commits2026-08-29: 24 commits2026-08-30: 14 commits2026-08-31: 9 commits2026-09-01: 7 commits2026-09-02: 11 commits2026-09-03: 9 commits2026-09-04: 13 commits2026-09-05: 15 commits2026-09-06: 8 commits2026-09-07: 5 commits2026-09-08: 25 commits2026-09-09: 11 commits2026-09-10: 4 commits2026-09-11: 7 commits2026-09-12: 7 commits2026-09-13: 13 commits2026-09-14: 8 commits2026-09-15: 1 commit2026-09-16: 5 commits2026-09-17: 1 commit2026-09-18: 9 commits2026-09-19: 9 commits2026-09-20: 17 commits2026-09-21: 3 commits2026-09-22: 5 commits2026-09-23: 2 commits2026-09-24: 3 commits2026-09-25: 36 commits2026-09-26: 18 commits2026-09-27: 2 commits2026-09-28: 11 commits2026-09-29: 2 commits2026-09-30: 1 commit2026-10-01: 1 commit2026-10-02: 0 commits2026-10-03: 0 commits
2,404 commits in the last yearLessMore

Signals and awards

derived from tracked data
  • Widely adopted

    45,740 stars

  • Very active

    2,404 commits in 52 weeks

  • Community-driven

    ~187 contributors

  • Well documented

    High community health score

  • Permissive license

    MIT

  • Repeat trending

    29 trending appearances

What codebase-memory-mcp does

This tool indexes massive codebases in milliseconds using advanced tree-sitter AST analysis and a hybrid LSP implementation for precise semantic type resolution. It creates a persistent, highly structured knowledge graph of functions, classes, HTTP routes, and architectural decisions locally on your machine. By acting as an MCP server, it allows advanced AI coding agents like Claude Code or Cursor to query this complex graph instantly without relying on slow file-by-file text searches. This architectural approach significantly reduces expensive token usage and dramatically improves the structural accuracy of AI-generated code.

This tool is for software engineers and AI tool users working with large, complex codebases who need highly accurate context retrieval. It requires standard build tools and compatibility with MCP clients.

  • AST-based indexing: utilizes tree-sitter to parse code into a precise abstract syntax tree for semantic understanding.
  • Hybrid LSP integration: resolves complex type relationships and variable scopes using language server protocols.
  • Persistent knowledge graph: maintains a local, structured database of codebase architecture for instant querying.
  • MCP server architecture: exposes the index directly to compatible AI agents via standard Model-Context-Protocol.
  • Token-efficient retrieval: eliminates the need to load entire files into context by returning targeted structural data.

Where teams use it

Large Codebase Navigation

Developers working on enterprise monorepos who need their AI assistant to instantly understand global architectural dependencies.

Context-Aware Code Generation

Engineers relying on AI to generate complex features that require deep knowledge of existing internal APIs and type definitions.

Token Optimization

Teams looking to reduce API costs by providing AI agents with highly targeted architectural graphs instead of full text dumps.

Automated Refactoring

Agents tasked with executing large-scale refactors that require a perfect understanding of function call graphs and references.

Getting started: curl -fsSL https://raw.githubusercontent.com/DeusData/codebase-memory-mcp/main/install.sh | bash

README

main branch

codebase-memory-mcp

GitHub Release License CI Tests Languages Hybrid LSP Agents Pure C Platform OpenSSF Scorecard SLSA 3 VirusTotal arXiv

The fastest and most efficient code intelligence engine for AI coding agents. Full-indexes an average repository in milliseconds, the Linux kernel (28M LOC, 75K files) in 3 minutes. Answers structural queries in under 1ms. Ships as a native executable with a small verified runtime-asset set for macOS, Linux, and Windows — download, run install, done.

High-quality parsing through tree-sitter AST analysis across all 162 languages, enhanced with Hybrid LSP semantic type resolution for Python, TypeScript / JavaScript / JSX / TSX, PHP, C#, Go, C, C++, Java, Kotlin, Rust, and Perl — producing a persistent knowledge graph of functions, classes, call chains, HTTP routes, and cross-service links. 17 MCP tools. No language runtime, hosted service, or API key. Plug and play across 45 supported automatic/conditional client surfaces.

Research — The design and benchmarks behind this project are described in the preprint Codebase-Memory: Tree-Sitter-Based Knowledge Graphs for LLM Code Exploration via MCP (arXiv:2603.27277). Evaluated across 31 real-world repositories: 83% answer quality, 10× fewer tokens, 2.1× fewer tool calls vs. file-by-file exploration.

Security & Trust — This tool reads your codebase and writes to your agent configuration files. That is what it is designed to do. If you prefer to audit before running, the full source is here. For each release product, three behaviourally identical executable candidates (unstripped, debug-stripped, stripped) are submitted to VirusTotal before testing; the selected candidate is then packaged with its SHA-256 unchanged. Release notes link every measured candidate result. Publication permits only the narrowly documented single-Microsoft !ml tolerance in SECURITY.md. All processing happens 100% locally; your code never leaves your machine. Found a security issue? We want to know — see SECURITY.md. Security is Priority #1 for us.

Graph visualization UI showing the codebase-memory-mcp knowledge graph
Built-in 3D graph visualization — explore your knowledge graph at localhost:9749

Why codebase-memory-mcp

  • Extreme indexing speed — Linux kernel (28M LOC, 75K files) in 3 minutes. RAM-first pipeline: LZ4 compression, in-memory SQLite, fused Aho-Corasick pattern matching. Memory released after indexing.
  • Plug and play — native executable plus authenticated release-owned assets for macOS (arm64/amd64), Linux (arm64/amd64), and Windows (amd64). The native install needs no Docker, language runtime, or API keys. Download → install → restart agent → done.
  • 162 languages — vendored tree-sitter grammars compiled into the binary. Nothing to install, nothing that breaks.
  • 120x fewer tokens — 5 structural queries: ~3,400 tokens vs ~412,000 via file-by-file search. One graph query replaces dozens of grep/read cycles.
  • 45 supported automatic/conditional client surfaces — install configures detected clients and safely activates conditional clients only when their documented platform, marker, or explicit existing config path is present. See Multi-Agent Support for the complete matrix and manual/UI-only boundaries.
  • Built-in graph visualization — 3D interactive UI at localhost:9749, served from the binary itself.
  • Infrastructure-as-code indexing — Dockerfiles, Kubernetes manifests, and Kustomize overlays indexed as graph nodes with cross-references. Resource nodes for K8s kinds, Module nodes for Kustomize overlays with IMPORTS edges to referenced resources.
  • 17 MCP tools — search, trace, architecture, impact analysis, targeted index-coverage checks, Cypher queries, dead code detection, cross-service HTTP linking, ADR management, and more.

Quick Start

One-line install (macOS / Linux):

curl -fsSL https://raw.githubusercontent.com/DeusData/codebase-memory-mcp/main/install.sh | bash

With graph visualization UI:

curl -fsSL https://raw.githubusercontent.com/DeusData/codebase-memory-mcp/main/install.sh | bash

Windows (PowerShell):

# 1. Download the installer
Invoke-WebRequest -Uri https://raw.githubusercontent.com/DeusData/codebase-memory-mcp/main/install.ps1 -OutFile install.ps1

# 2. (Optional but recommended) Inspect the script
notepad install.ps1

# 3. Unblock the downloaded file (removes Mark-of-the-Web restriction added by browsers/Invoke-WebRequest)
Unblock-File .\install.ps1

# 4. Run it
.\install.ps1

Note: If you see a script execution policy error, run Set-ExecutionPolicy -Scope Process Bypass first, or invoke with PowerShell -ExecutionPolicy Bypass -File .\install.ps1.

Options: --skip-config (binary only, no agent setup), --dir=<path> (custom location).

Antivirus note: Microsoft Defender may flag a release binary as Trojan:Script/Wacatac.B!ml. This is a known false positive — typically 61 of ~62 engines return clean, and the same detection family hits gh, llama.cpp, Godot and Microsoft's own Go toolchain. See Antivirus False Positives for the evidence, how to verify the artifacts yourself, and how to report it if you think we are wrong.

Restart your coding agent. Say "Index this project" — done.

Manual install
  1. Download the archive for your platform from the latest release:

    • codebase-memory-mcp-<os>-<arch>.tar.gz (macOS/Linux) or .zip (Windows)
  2. Extract and install (each archive includes install.sh or install.ps1):

    macOS / Linux:

    tar xzf codebase-memory-mcp-*.tar.gz
    ./install.sh

    Windows (PowerShell):

    Expand-Archive codebase-memory-mcp-windows-amd64.zip -DestinationPath .
    Unblock-File .\install.ps1
    .\install.ps1
  3. Restart your coding agent.

The install command automatically strips macOS quarantine attributes and ad-hoc signs the binary — no manual xattr/codesign needed.

The install command auto-detects installed coding agents and configures their documented MCP entries plus durable instructions, skills, and lifecycle hooks where supported.

Session Coordination Daemon

CBM automatically shares one per-account coordination daemon across Claude Code, Codex, OpenCode, and every other configured client. There is no opt-in setting for MCP servers or hook clients: the first daemon-backed CBM session starts it, each session registers its own work, and the final session shuts it down. The daemon owns long-lived background services such as watchers, shared indexing jobs, and the optional UI. Closing one session cancels work owned only by that session, while work still needed by another session continues.

The detached daemon does not depend on an MCP frontend's stderr. It keeps owner-only durable records under the canonical ${CBM_CACHE_DIR}/logs directory (default ~/.cache/codebase-memory-mcp/logs):

File Contents
cbm-daemon.log Daemon lifecycle, watcher/indexing, UI, resource, and error events.
daemon-conflicts.ndjson Exact-build, coordination-ABI, and cache-root admission conflicts.
activation-events.ndjson Install/update/uninstall activation progress and outcomes.

Thin frontends still write immediate startup and session-specific errors to their own stderr; MCP JSON-RPC stdout remains clean.

All active CBM processes must run the exact same version, executable build, coordination ABI, and canonical cache root. Equivalent CBM_CACHE_DIR aliases resolve to the same root; a genuinely different root is rejected while any CBM process is active. MCP servers, hooks, one-shot CLI commands, temporary index workers, and the daemon share a crash-safe OS admission barrier; starting an ordinary conflicting process fails before doing work and records an explicit conflict in ${CBM_CACHE_DIR}/logs/daemon-conflicts.ndjson.

The native install, update, and uninstall commands are the deliberate exception to that conflict rule. Download, verification, and private same-filesystem staging happen first so a bad candidate never disrupts active work. Activation then publishes account-wide maintenance intent, asks the daemon and every temporary local operation to cancel, and waits to a finite deadline for all coordinated CBM processes to exit. It holds the admission and lifetime barriers exclusively while changing the active binary, configuration, PATH, or indexes. New CBM work cannot enter during this window. Activation progress and results are recorded in ${CBM_CACHE_DIR}/logs/activation-events.ndjson, and a successful command tells you to restart open coding-agent sessions so they launch the activated build.

Package-manager setup (npm, PyPI, or Go) verifies and publishes a coherent private cached runtime set. Sidecars are replaced before the executable with per-file atomic renames; an interrupted multi-file publication is detected and repaired on the next launch rather than being described as one crash-atomic filesystem transaction. It does not replace the active native installation and therefore does not stop running CBM sessions. When that cached binary is executed, it still enters the same exact-build admission barrier. The shell and PowerShell installers invoke the verified candidate's native install command, so they do receive the full account-wide activation guarantee.

The ordinary cli mode runs one command locally, but it is not disconnected from the daemon above: it connects to the shared coordination daemon — starting one if none is already running — for that same admission barrier plus per-project locks on graph mutations. Its connection is a cli_session: it never registers with the background watcher and never starts a UI, and it holds the admission lease only for the command's lifetime. If the command's own connection is what started the daemon, that daemon exits again once the command closes and no other session is attached; if a daemon was already running, the command simply joins and leaves it exactly as found. While the command is running, a temporary monitor separately lets activation cancel that operation and its supervised worker safely; the monitor exits with the command and never becomes a standing daemon. See CLI Mode for details.

Graph Visualization UI

The graph UI is built into the binary — every install on every channel has it. Then run it:

codebase-memory-mcp --ui=true --port=9749

Open http://localhost:9749 in your browser. The UI is owned by the shared coordination daemon, so concurrent agent sessions do not start duplicate HTTP servers.

Auto-Index

Enable automatic indexing on MCP session start:

codebase-memory-mcp config set auto_index true

When enabled, new projects are indexed automatically on first connection. Previously-indexed projects are registered with the background watcher for ongoing git-based change detection. Configurable file limit: config set auto_index_limit 50000.

Watcher registration is controlled separately by auto_watch (default true). Set config set auto_watch false to keep a session from registering its project with the background watcher — useful when working across many projects and you want each session contained to explicit indexing.

To turn the watcher off entirely, set config set watcher_enabled false (default true): the background poll thread never starts and no project is registered, while auto_index and manual index_repository keep working. Unlike auto_watch — which is consulted per session — watcher_enabled is read once when the background daemon starts, so run codebase-memory-mcp daemon stop after changing it; reconnecting your MCP client alone will not restart the daemon. See docs/CONFIGURATION.md.

Keeping Up to Date

Updates run from the install script on every platform, not from inside the running binary. codebase-memory-mcp update validates your flags and then prints the exact command to run:

# macOS / Linux
bash "<install-dir>/install.sh"
# Windows
powershell -ExecutionPolicy Bypass -File "<install-dir>\install.ps1"

The install script is placed next to the binary at install time, so the printed path resolves beside the executable. It is idempotent, so re-running it is the update: it stops the daemon, retires the running binary, installs the new one, and cleans up.

Why it works this way. On Windows it is a hard requirement — a running executable cannot replace its own image, so the swap has to happen from a process that is not the binary being replaced. On macOS and Linux it is a deliberate choice: an in-process updater is structurally a downloader (fetch an archive, verify it, unpack it, mark a file executable, run it), and shipping that composite in every binary to serve a command most people run a handful of times is a poor trade. The release archives now carry no download URLs at all, and cbm makes no network request of its own accord — it does not check for new versions in the background, and nothing phones home. You find out about releases from the install script, your package manager, or GitHub.

If PowerShell refuses to run the script because the file came from the internet, Unblock-File it first.

Installed through npm or pip? Update with your package manager on every platform (npm install -g codebase-memory-mcp@latest / pip install -U codebase-memory-mcp).

Uninstall

codebase-memory-mcp uninstall

Removes owned agent config entries, skills, hooks, instructions, and the installed binary. Existing graph indexes are listed and deleted only after confirmation.

The install script placed beside the binary is reported, not deleted — uninstall prints its path and the rm command for it. It is left alone on purpose: it may be your own copy, a symlink into a checkout, or managed by a package manager, and an uninstaller should not delete a file it cannot prove it owns.

Features

Graph & analysis

  • Architecture overview: get_architecture returns languages, packages, entry points, routes, hotspots, boundaries, layers, and clusters in a single call
  • Architecture Decision Records: manage_adr persists architectural decisions across sessions
  • Louvain community detection: Discovers functional modules by clustering call edges
  • Git diff impact mapping: detect_changes maps uncommitted changes to affected symbols with risk classification
  • Call graph: Resolves function calls across files and packages (import-aware, type-inferred)
  • Dead code detection: Finds functions with zero callers, excluding entry points
  • Cypher-like queries: MATCH (f:Function)-[:CALLS]->(g) WHERE f.name = 'main' RETURN g.name

Search

  • Semantic search (the semantic_query parameter of search_graph, not a separate tool): vector search across the entire graph, powered by bundled Nomic nomic-embed-code embeddings (40K tokens, 768d int8) compiled into the binary — no API key, no Ollama, no Docker. 11-signal combined scoring (TF-IDF, RRI, API/Type/Decorator signatures, AST profiles, data flow, Halstead-lite, MinHash, module proximity, graph diffusion).
  • BM25 full-text search via SQLite FTS5 with cbm_camel_split tokenizer (camelCase / snake_case aware)
  • Structural search (search_graph): regex name patterns, label filters, min/max degree, file scoping
  • Code search (search_code): graph-augmented grep over indexed files only

Cross-service linking

  • HTTP route ↔ call-site matching with confidence scoring
  • gRPC, GraphQL, tRPC service detection with protobuf Route extraction
  • Channel detection (EMITS / LISTENS_ON) for Socket.IO, EventEmitter, and generic pub-sub patterns across 8 languages with constant resolution

Cross-repo intelligence

  • CROSS_* edges link nodes across multiple repos indexed under the same store
  • Multi-galaxy 3D UI layout for cross-repo architecture visualization
  • Cross-repo architecture summary combining services, routes, and dependencies across the indexed fleet

Edge types (selected)

  • CALLS — a callable is invoked at the source site
  • CALL_REFERENCE — a callable is used at a supported reference site (for example, a direct value argument) and resolves to one exact target
  • USAGE — an identifier is used, but a unique callable target is not proven (including ambiguous or complex expressions)
  • IMPORTS, DEFINES, IMPLEMENTS, INHERITS
  • HTTP_CALLS, ASYNC_CALLS (cross-service)
  • EMITS, LISTENS_ON (channels)
  • DATA_FLOWS with arg-to-param mapping + field access chains
  • SIMILAR_TO (MinHash + LSH near-clone detection, Jaccard scored)
  • SEMANTICALLY_RELATED (vocabulary-mismatch, same-language, score ≥ 0.80)

Indexing pipeline

  • 158 vendored tree-sitter grammars compiled into the binary
  • Generic package / module resolution — bare specifiers like @myorg/pkg, github.com/foo/bar, use my_crate::foo resolved via manifest scanning (package.json, go.mod, Cargo.toml, pyproject.toml, composer.json, pubspec.yaml, pom.xml, build.gradle, mix.exs, *.gemspec)
  • Infrastructure-as-code indexing — Dockerfiles, Kubernetes manifests, Kustomize overlays as graph nodes
  • Hybrid LSP semantic type resolution for Python, TypeScript / JavaScript / JSX / TSX, PHP, C#, Go, C, C++, Java, Kotlin, Rust, and Perl — a lightweight C implementation of language type-resolution algorithms, structurally inspired by and compatible with major language servers including tsserver / typescript-go, pyright, gopls, Roslyn, Eclipse JDT, and rust-analyzer (parameter binding, return-type inference, generic substitution, JSX component dispatch, JSDoc inference for plain JS files, namespace + trait + late-static-binding resolution for PHP, file-scoped namespaces + records + LINQ method syntax for C#, class-hierarchy + overload + lambda resolution for Java, extension-function + scope-function resolution for Kotlin, trait-method + UFCS resolution for Rust)
  • RAM-first pipeline: LZ4 compression, in-memory SQLite, single dump at end. Memory released after.

Distribution & operation

  • Native runtime set, zero infrastructure services: SQLite-backed, persists to ~/.cache/codebase-memory-mcp/
  • Auto-sync: Background watcher detects file changes and re-indexes automatically
  • Route nodes: REST endpoints are first-class graph entities
  • CLI mode: codebase-memory-mcp cli search_graph '{"project": "my-project", "name_pattern": ".*Handler.*"}'
  • Available on: npm, PyPI, Homebrew, Scoop, Winget, Chocolatey, AUR, go install

Team-Shared Graph Artifact

Commit a single compressed file to your repo and your teammates skip the reindex.

.codebase-memory/graph.db.zst is a zstd-compressed snapshot of the knowledge graph that lives next to your source. The artifact is opt-in: index_repository writes it only with persistence: true (the default is false), and once it exists later indexes refresh it; when a teammate clones the repo and runs codebase-memory-mcp for the first time, the artifact is decompressed and incremental indexing fills in their local diff.

  • Format: SQLite database, indexes stripped, VACUUM INTO compacted, then zstd 1.5.7 compressed (8–13:1 ratio typical)
  • Two tiers:
    • Best (zstd -9 + index strip + VACUUM INTO) — written by index_repository with persistence: true
    • Fast (zstd -3) — refreshes an existing artifact on every other index (including the watcher's low-latency incremental updates)
  • Bootstrap: when no local DB exists but the artifact is present, index_repository imports the artifact first, then runs incremental indexing — avoiding the full reindex cost
  • No merge pain: a .codebase-memory/.gitattributes line with merge=ours is auto-created on first export, so concurrent edits don't produce conflicts on the binary artifact
  • Commit it deliberately: the artifact is rewritten on every index, including the watcher's Fast tier, and git stores each rewrite as a full new blob. Committing every refresh is what turns a 20 MB file into gigabytes of history — one team reached ~6 GB across ~350 commits of this single path. Pick a cadence (a release, a milestone, a nightly job) rather than committing every save.
  • Git LFS, if it must move on every commit: track it from the repo-root .gitattributes and leave the auto-created .codebase-memory/.gitattributes in place — the nearer file goes on supplying merge=ours, and only filter comes from the root:
    .codebase-memory/graph.db.zst filter=lfs diff=lfs merge=lfs -text
    Track only the .zst; artifact.json is small and carries the schema version. The attribute applies to future commits only, so a repo that already has the blobs in history needs git-filter-repo to rewrite them first. Two costs to weigh before adopting it: GitHub meters LFS storage and bandwidth, and its objects cannot be pruned without contacting support; and every teammate needs git lfs install — without it their checkout leaves a pointer file where the artifact should be, the integrity-checked import refuses it, and they fall back to a full reindex.
  • Optional: never committed unless you want it. Add .codebase-memory/ to .gitignore if you prefer everyone to reindex from scratch.

The result is similar in spirit to graphify's graphify-out/ directory, but as a single compressed file with explicit two-tier export, integrity-checked import, and zero merge friction.

How It Works

codebase-memory-mcp is a structural analysis backend — it builds and queries the knowledge graph. It does not include an LLM. Instead, it relies on your MCP client (Claude Code, or any MCP-compatible agent) to be the intelligence layer.

You: "what calls ProcessOrder?"

Agent calls: trace_path(function_name="ProcessOrder", direction="inbound")

codebase-memory-mcp: executes graph query, returns structured results

Agent: presents the call chain in plain English

Why no built-in LLM? Other code graph tools embed an LLM for natural language → graph query translation. This means extra API keys, extra cost, and another model to configure. With MCP, the agent you're already talking to is the query translator.

Performance

Benchmarked on Apple M3 Pro:

Operation Time Notes
Linux kernel full index 3 min 28M LOC, 75K files → 4.81M nodes, 7.72M edges
Linux kernel fast index 1m 12s 1.88M nodes
Django full index ~6s 49K nodes, 196K edges
Cypher query <1ms Relationship traversal
Name search (regex) <10ms SQL LIKE pre-filtering
Dead code detection ~150ms Full graph scan with degree filtering
Trace call path (depth=5) <10ms BFS traversal

RAM-first pipeline: All indexing runs in memory (LZ4 HC compressed read, in-memory SQLite, single dump at end). Memory is released back to the OS after indexing completes.

Token efficiency: Five structural queries consumed ~3,400 tokens via codebase-memory-mcp versus ~412,000 tokens via file-by-file grep exploration — a 99.2% reduction.

To measure comparable quality, latency, and agent-efficiency metrics on your own workload, see Measuring quality, latency, and agent savings. Exact reproduction of the figures above requires the original inputs and raw artifacts.

Troubleshooting & Diagnostics

codebase-memory-mcp runs 100% locally and collects no telemetry — your code, queries, environment, and usage never leave your machine. That privacy guarantee also means that when you hit something we can't reproduce on our side (a slow memory climb over hours, a performance regression, a leak that only appears after days of real use), we have no data at all unless you choose to send it. Here is how to capture it yourself.

Capture a diagnostics log

Set CBM_DIAGNOSTICS=1 before the first daemon-backed MCP session starts, then reproduce the problem (let it run as long as it takes — a slow leak needs time to show in the trend). The shared daemon captures this setting from the session that starts it. If it is already running, close all daemon-backed sessions so it exits before changing the setting. The daemon creates a fresh owner-private cbm-diagnostics-<pid>-<random> directory below the system temp directory ($TMPDIR or /tmp on macOS/Linux, %TEMP% on Windows). The exact paths are recorded by the diagnostics.start event in ${CBM_CACHE_DIR}/logs/cbm-daemon.log:

File What it is
trajectory.ndjson The memory trajectory — one JSON line every 5 s with rss, committed (Windows commit charge), peak_*, page_faults, fd, and queries. This is the file we need for memory/leak reports — the trend over time is what pinpoints a leak. It is kept on disk after the server exits (so you can grab it post-mortem) and rotates to trajectory.ndjson.1 past ~8 MB.
snapshot.json The latest snapshot only — handy for a quick live check. Removed on clean exit.

The private randomized directory prevents another local account from pre-placing a link or special file at a predictable diagnostics path. Its <pid> component is the shared daemon's process ID, also recorded by the daemon.start event. Set the variable consistently in the env block of each agent's MCP server config, or export it before launching the first session.

What to share

When you open a memory/performance issue, attach the .ndjson trajectory — it contains no source code or query text, only resource counters. If you'd rather not attach a file, paste it (or an agent's summary of it) into the issue: your assistant can read the NDJSON directly and report whether rss/committed grow monotonically, how fast, and relative to query count — which is exactly what we need to find the cause.

Installation

Pre-built Binaries

Platform Archive
macOS (Apple Silicon) codebase-memory-mcp-darwin-arm64.tar.gz
macOS (Intel) codebase-memory-mcp-darwin-amd64.tar.gz
Linux (x86_64) codebase-memory-mcp-linux-amd64.tar.gz
Linux (ARM64) codebase-memory-mcp-linux-arm64.tar.gz
Windows (x86_64) codebase-memory-mcp-windows-amd64.zip

Every release includes checksums.txt with SHA-256 hashes. The executable is self-contained — no adjacent data file is required. Linux -portable archives contain the fully static builds; ordinary platform archives use their native system ABI.

Windows note: SmartScreen may show a warning for unsigned software. Click "More info" → "Run anyway". Verify integrity with checksums.txt.

Setup Scripts

Automated download + install

macOS / Linux:

curl -fsSL https://raw.githubusercontent.com/DeusData/codebase-memory-mcp/main/scripts/setup.sh | bash

Windows (PowerShell):

irm https://raw.githubusercontent.com/DeusData/codebase-memory-mcp/main/scripts/setup-windows.ps1 | iex

AUR (Arch Linux)

yay -S codebase-memory-mcp-bin
paru -S codebase-memory-mcp-bin

The codebase-memory-mcp-bin package is available at: https://aur.archlinux.org/packages/codebase-memory-mcp-bin

Nix (flake)

The flake exposes two server packages plus the standalone frontend:

Package Contents
default (codebase-memory-mcp) Standard server, no UI
codebase-memory-mcp-ui Server with the graph UI embedded (--ui=true works)
graph-ui Just the built frontend assets (dist/)

Run directly without installing:

# Standard server
nix run github:DeusData/codebase-memory-mcp

# Server with the embedded graph UI
nix run github:DeusData/codebase-memory-mcp#codebase-memory-mcp-ui -- --ui=true --port=9749
# then open http://127.0.0.1:9749

Or build a binary into ./result/bin/codebase-memory-mcp:

nix build github:DeusData/codebase-memory-mcp                          # standard
nix build github:DeusData/codebase-memory-mcp#codebase-memory-mcp-ui   # with UI

Working in a clone? Use . in place of the flake URL, e.g. nix run .#codebase-memory-mcp-ui -- --ui=true, or drop into a shell that puts the binary on PATH with nix shell .#codebase-memory-mcp-ui.

Note: launched by hand (not from an MCP client) the server exits as soon as stdin closes — that's normal MCP behaviour. Keep stdin open while testing the UI, e.g. sleep infinity | codebase-memory-mcp --ui=true --port=9749. The codebase-memory-mcp-ui package embeds the UI at build time; nix run'ing the standard default package with --ui=true will refuse to start the HTTP server.

Install via Claude Code

You: "Install this MCP server: https://github.com/DeusData/codebase-memory-mcp"

Build from Source

Prerequisites: C compiler + zlib
Requirement Check Install
C compiler (gcc or clang) gcc --version or clang --version macOS: xcode-select --install, Linux: apt install build-essential
C++ compiler g++ --version or clang++ --version Same as above
zlib — macOS: included, Linux: apt install zlib1g-dev
Git git --version Pre-installed on most systems
git clone https://github.com/DeusData/codebase-memory-mcp.git
cd codebase-memory-mcp
scripts/build.sh --with-ui          # the shipped composition (graph UI embedded)
scripts/build.sh                    # without the UI (development only)
# Binary at: build/c/codebase-memory-mcp   (codebase-memory-mcp.exe on Windows)

Every platform ships one self-contained executable: the graph UI and the agent integration templates are linked into the binary, so an extracted archive is immediately complete.

Run the test suite (8,060 tests across 141 suites):

scripts/test.sh                     # full: clean sanitizer build + all suites + guards
scripts/test.sh --suites <name>     # one suite, incremental, seconds
build/c/test-runner --list-suites   # what is available

scripts/test.sh is the same entry the CI gates run, so a local pass means the same thing a CI pass does. The canonical local artifact-flow check builds both stripped/unstripped candidates, defaults to the stripped candidate for this explicitly unscanned local run, packages those exact bytes, extracts the archive, and smokes it:

scripts/ci/smoke-artifact.sh <linux|darwin|windows> <amd64|arm64>

scripts/package-release.sh is intentionally a lower-level immutable boundary: it accepts only an already-final --selected-binary plus its --expected-sha256; it never builds, strips, signs, or relinks the executable.

Manual MCP Configuration

If you prefer not to use the install command

Add to ~/.claude.json (user scope) or project .mcp.json:

{
  "mcpServers": {
    "codebase-memory-mcp": {
      "command": "/path/to/codebase-memory-mcp",
      "args": []
    }
  }
}

Restart your agent. Verify with /mcp — you should see codebase-memory-mcp with 17 tools.

Multi-Agent Support

install configures 45 client surfaces: 39 detected automatically and 6 conditional or explicit. “Conditional” means the installer writes only when the documented platform or an explicit, already-existing config path proves the target is active. It never flips experimental feature flags, enables plugins, YOLO modes, global permission bypasses, or third-party instruction trust.

Where a client has a documented custom-agent format, the installer creates three exact-owned definitions from one canonical contract:

  • Scout (Tier 1) — about 3–4 narrow calls for fast positive, provisional discovery; no absence, exhaustive-impact, or dead-code claims.
  • Verify (Tier 2, default) — task-directed graph evidence, exact source checks, path coverage for every cited file, and scope coverage before negative claims.
  • Auditor (Tier 3) — bounded scope, current index generation, complete relevant pagination, broader relationship checks, and explicit unresolved limitations.

Every direct tier batches check_index_coverage for its evidence paths and reads flagged ranges or skipped/excluded files directly. A clean coverage result means only “no recorded gap,” never proof of completeness. Clients without safe child MCP access receive the same three tiers as parent-handoff agents; the parent must supply project, generation, pagination state, graph evidence, and coverage results. Updates migrate only byte-identical prior Verify definitions and never overwrite user-modified agents.

Agent Activation MCP config Durable context / augmentation
Claude Code Detected ~/.claude.json Skill + three exact-tool graph agents; SessionStart, SubagentStart, non-blocking PreToolUse for Grep/Glob/Bash, and post-Read coverage
Codex CLI Detected $CODEX_HOME/config.toml Managed AGENTS.md activation pointer, skill, three read-only agents; SessionStart + SubagentStart
Gemini CLI Detected .gemini/settings.json GEMINI.md, three explicit read/graph-tool subagents; BeforeTool, AfterTool read_file coverage, and SessionStart
Zed Detected platform settings.json (JSONC) AGENTS.md + shared skill
OpenCode Detected $OPENCODE_CONFIG or resolved global config AGENTS.md, skill, three deny-by-default read-only agents; plugin adds grep/glob graph lookup, post-read coverage, first-tool-result session context, and post-compaction reinjection
Antigravity Detected .gemini/config/mcp_config.json .gemini/GEMINI.md
Aider Detected — CONVENTIONS.md via .aider.conf.yml
KiloCode Detected .config/kilo/kilo.jsonc Rule + three graph-tool subagents with deny-by-default permissions
VS Code Detected platform Code/User/mcp.json ~/.copilot/skills, three read-only agents, sessionStart + subagentStart
Cursor Detected .cursor/mcp.json Skill + three read-only parent-handoff agents; context hooks withheld because session injection races and readonly blocks MCP
Windsurf Detected ~/.codeium/windsurf/mcp_config.json Always-on global_rules.md
Augment / Auggie Detected ~/.augment/settings.json Rule, three read-only handoff subagents, SessionStart + post-view coverage
OpenClaw Detected $OPENCLAW_CONFIG_PATH or state openclaw.json Active-workspace AGENTS.md + TOOLS.md; compaction reinjection
Kiro Detected $KIRO_HOME/settings/mcp.json Steering, skill, three JSON agents with isolated Scout/Analysis-profile MCP and explicit graph-tool selectors (includeMcpJson: false)
Junie Detected .junie/mcp/mcp.json Skill + three graph subagents for EAP-capable builds; Scout and Analysis server aliases hard-limit the tier tool surfaces; no ineffective EAP SessionStart hook
Hermes Detected $HERMES_HOME/config.yaml Skill + fail-open pre_llm_call context augmentation
OpenHands Detected .openhands/mcp.json Shared .agents/skills/codebase-memory/SKILL.md
Cline Detected ~/.cline/mcp.json + ${CLINE_DATA_DIR:-~/.cline/data}/settings/cline_mcp_settings.json Rule + skill; automatic file hooks withheld because they auto-activate and their output is not reliably consumed; child agents cannot use MCP
Warp Detected, skill only UI, Warp Drive, or per invocation (manual) Shared ~/.agents/skills/codebase-memory/SKILL.md
Qwen Code Detected .qwen/settings.json QWEN.md, skill, three explicit read/graph-tool agents; SessionStart, SubagentStart, and post-ReadFile coverage
GitHub Copilot CLI Detected $COPILOT_HOME/mcp-config.json Instructions, skill, three read-only agents; sessionStart + subagentStart
Factory Droid Detected .factory/mcp.json AGENTS.md, skill, three droids with exact per-tier graph-tool lists (without additive whole-server exposure); SessionStart + post-Read coverage on macOS/Linux, withheld on Windows
Crush Detected .config/crush/crush.json Managed context path with explicit parent-to-child handoff
Goose Detected .config/goose/config.yaml .goosehints
Mistral Vibe Detected $VIBE_HOME/config.toml AGENTS.md, skill, and three matched agent/prompt pairs with explicit read-only graph-tool allowlists
Grok Build Detected $GROK_HOME/config.toml Owned rules/codebase-memory.md, skill, three graph agents with named-server mcpInheritance and exact server__tool dispatcher ids; context hooks withheld because its passive hook events discard stdout
Qoder CLI Detected ~/.qoder/settings.json Skill, three directly MCP-attached agents with named-server scoping and exact per-tier graph-tool lists; SessionStart, SubagentStart, and post-Read coverage, including documented PowerShell execution on Windows
Kimi Code CLI Detected $KIMI_CODE_HOME/mcp.json (default ~/.kimi-code) Same-root AGENTS.md + skill; fail-open UserPromptSubmit hook in config.toml
GitLab Duo CLI Detected $GLAB_CONFIG_DIR/duo/mcp.json or platform fallback Fail-open user SessionStart on macOS/Linux; hook withheld on Windows; no experimental global skill enablement
Rovo Dev CLI Detected configured override or ~/.rovodev/mcp.json Global AGENTS.md, skill + three read-only handoff subagents; no undocumented hook
Amp Detected ~/.config/agents/skills/codebase-memory/mcp.json Colocated skill + ~/.config/amp/AGENTS.md; no plugin
Devin CLI / Local Detected ~/.config/devin/config.json (platform app-data path on Windows) Same-root AGENTS.md + skill; macOS/Linux UserPromptSubmit + PostCompaction, and SessionStart only when Claude does not already provide it; hooks withheld on Windows
Tabnine Detected ~/.tabnine/mcp_servers.json MCP only; no experimental/YOLO setting
Continue / cn Conditional Existing ~/.continue/config.yaml or $CBM_CONTINUE_CONFIG_PATH MCP only
Visual Studio Conditional, Windows ~/.mcp.json MCP only
TRAE Conditional Existing $CBM_TRAE_CONFIG_PATH MCP only
Roo Code Conditional Existing $CBM_ROO_CONFIG_PATH MCP only
Amazon Q Developer IDE Detected ~/.aws/amazonq/default.json (preserves an existing agents/default.json or legacy mcp.json) MCP only
CodeBuddy Code CLI Detected ~/.codebuddy/.mcp.json (preserves an active deprecated/legacy file) CODEBUDDY.md, skill, three read-only graph agents; beta hooks are not auto-installed
IBM Bob Shell Detected by bob ~/.bob/mcp_settings.json Shared rule; no invented hook or agent
Pochi Detected ~/.pochi/config.jsonc (mcp) README.pochi.md, skill, and three readFile-only parent-handoff agents
Pi Detected — ~/.pi/agent/AGENTS.md + skill; MCP/subagents require an explicit reviewed extension
IBM Bob IDE Conditional Existing ~/.bob/mcp.json Shared rule + IDE skill; no invented hook or agent
Oh My Pi (omp) Detected Effective agent directory (OMP_PROFILE / PI_CODING_AGENT_DIR; default ~/.omp/agent/mcp.json) Skill and three direct-MCP graph-tool subagents (Scout/Verify/Auditor); preserves user AGENTS.md
Sourcegraph Cody Explicit opt-in Existing $CBM_CODY_CONFIG_PATH MCP only

For Codex, install keeps only a tiny managed activation pointer in global $CODEX_HOME/AGENTS.md; all detailed behavior lives in the installed codebase-memory skill. Fresh installs create the pointer, upgrades replace the legacy full managed block while preserving all user-owned bytes, and uninstall removes only the managed pointer.

Sessions, compaction, and subagents

Hooks installed by this project are fail-open and context-only. Claude Code's PreToolUse observes Grep/Glob/Bash and injects matching graph symbols as additionalContext; PostToolUse on Read adds targeted coverage context when the graph could not fully parse or index that file. It never denies or replaces the requested tool call.

Claude Code, Codex CLI, Qwen Code, GitHub Copilot CLI, and VS Code's Copilot runtime receive paired session/subagent context where the vendor exposes a documented context-output contract. Codex users must review and trust installed hooks through /hooks; changing a hook definition changes its trust hash, so an update can require re-trust. Qoder uses SessionStart, SubagentStart, and post-Read coverage, including its documented PowerShell executor on Windows. Kimi uses UserPromptSubmit, while Hermes uses pre_llm_call; both retain their documented Windows execution paths. Devin installs UserPromptSubmit and PostCompaction on macOS/Linux and adds SessionStart only when Claude's equivalent managed hook is not present. GitLab Duo gets a narrowly scoped macOS/Linux user SessionStart entry on its experimental hook surface. GitLab Duo, Devin, and Factory hooks are withheld on Windows because those vendors do not document a deterministic shell/executor contract there. Gemini CLI, Factory Droid, and Augment also add documented post-read/view coverage context but expose no equivalent documented child-start context.

For runtimes without a stable context-producing lifecycle event, durable files carry the contract across fresh sessions and compaction: verify the graph project and index freshness, query structural facts in the parent, then pass the project, qualified symbols, paths, and call-chain evidence in every delegated task. Claude, Codex, Gemini, Kiro, Qwen, Copilot, CodeBuddy, OpenCode, Kilo, Vibe, Qoder, Junie, Factory, and Grok Build receive Scout, Verify, and Auditor graph profiles. Kiro embeds this MCP server with --tool-profile scout for Scout and --tool-profile analysis for Verify/Auditor. Junie registers equivalent named server aliases because its subagent schema filters by server rather than by individual tool. Both process profiles use positive allowlists: Scout exposes seven fast inspection tools, Analysis exposes eleven, and future or mutating tools remain unavailable until explicitly reviewed. If either Junie alias collides with user configuration, the installer preserves it and installs parent-handoff profiles instead. Qoder combines its documented named-server selection with exact tier-specific MCP tool IDs. Factory uses exact registered MCP tool IDs without its additive mcpServers field, which would expose the whole server. Codex, Kilo, Vibe, and other capable formats likewise enumerate the narrowest supported tool set. Rovo, Cursor, Augment, Pochi, and Cline use parent handoff where direct child MCP is unavailable or unsafe; Pochi is limited to readFile, and Cline child agents cannot use MCP.

Cline's file hooks auto-activate when present, and current Cline does not reliably consume their context output, so automatic adapters are withheld and older owned adapters are cleaned up. CodeBuddy's beta, version-gated hooks are not auto-installed. Junie's EAP SessionStart output is documented as ignored, so no context hook is installed. Junie custom agents remain EAP-dependent. Qoder can resolve higher-priority project or plugin agents before user agents with the same name; reload the client after installation or profile changes. Cursor context hooks are withheld: session context injection has a known race, subagentStart is control-only, and read-only subagents cannot safely receive MCP access. Grok Build's passive hook events (SessionStart, SubagentStart, PostToolUse) discard stdout and PreToolUse honors only deny/rewrite decisions, so its context hooks are withheld; Grok also reads Claude and Cursor MCP, skill, and hook files through its compat layer, and the native config.toml entry shadows that copy by name. Rovo has no documented session context-output hook, and Bob documents neither a suitable hook nor a custom-agent surface. Those surfaces are not approximated with invented augmentation. Kimi plugins, Amp plugins, and GitLab experimental global skills remain opt-in.

OpenClaw reinjects the Codebase Knowledge Graph (codebase-memory-mcp) AGENTS section after compaction and places the same guidance in TOOLS.md, the bootstrap files inherited by its subagents. Automatic augmentation covers the active/default workspace. Separate agents.list[].workspace directories require making that workspace active for installation or copying the managed block there.

The installed Claude shim is named cbm-code-discovery-gate for backward compatibility; despite the legacy name, it never gates or blocks.

Manual or UI-managed integrations

These are intentionally not counted as automatic installs: Qodo MCP is added through its UI and may be governed by enterprise allowlists; Warp MCP is managed through Warp Drive/UI or per invocation (only the shared skill is automatic); JetBrains AI Assistant / ACP is IDE-managed; GitHub Copilot coding agent, Jules, and CodeRabbit are cloud/repository-managed; Replit exposes a remote/service integration rather than a stable local user-global client; BLACKBOX AI does not document a stable arbitrary user-global MCP/instruction/agent schema; Plandex has no stable global registry safe to mutate; and SWE-agent uses explicit YAML and is no longer a suitable automatic global target.

CLI Mode

Every MCP tool can be invoked as a local, one-shot command. CLI tools connect to the shared coordination daemon — starting one if none is already running — to get a crash-safe exact-build admission lease for the command's lifetime; they never register with the background watcher, and a daemon a command had to start itself exits again once the command's connection closes and no other session is using it. index_repository is the only exception internally: it starts a temporary, exact-build supervised worker for the index, then stops that worker before the CLI command exits; the worker holds its own lease until exit.

Commands that mutate graph data use shared OS-backed, per-project locks. This serializes conflicting work from CLI and MCP sessions on the same project while allowing unrelated projects to proceed independently.

When stderr is an interactive terminal, the CLI automatically shows lifecycle and indexing progress. Pass --progress to force the same feedback when stderr is redirected or the command is run non-interactively. Pass --quiet to disable automatic terminal progress and ordinary diagnostics while retaining errors; it cannot be combined with --progress or outer cli --verbose. Routine informational logs are quiet by default; pass outer cli --verbose to include them. Progress and logs use stderr while stdout remains reserved for the command result. Read tools return a compact tree by default; pass a tool's --format json for machine-readable payload JSON, or outer --json for the full MCP envelope.

Large compact-tree tables may start with a response-local <section>_refs directory and an explicit <section>_ref_rule. A cell such as @0+handler.go reconstructs to ref 0's prefix plus handler.go. References are local to that sibling <section> table and expansion is non-recursive: entries inside <section>_refs are always literal prefixes. This is limited to declared path and qualified-name columns and activates only when the exact rendered table is at least 15% and 64 bytes smaller and a conservative model-neutral token-shape proxy also improves by at least 1%. Search and trace likewise render direct and prefix-grouped tree shapes and keep the smaller complete representation, so singleton or scattered answers do not pay directory overhead. Keys are declared once per table but never cryptically abbreviated, and --format json keeps stable literal strings for machine consumers. Both gates are deterministic; exact token counts still depend on the caller's tokenizer.

Lean responses truncate semantically, never by cutting arbitrary bytes from code or identifiers. Ranked graph rows are retained ahead of raw grep rows and diagnostic summaries; omitted rows/sections report totals, has_more, and a strictly advancing continuation offset or cursor. If even the first whole row cannot fit, CBM asks for a higher budget and emits no self-looping cursor. max_output_tokens is model-neutral sizing guidance: CBM enforces a deterministic ceiling of four UTF-8 bytes per requested token, so it is not a tokenizer-exact count. Detail flags such as diagnostics, source_mode, and detail opt into heavier fields. search_code pages ranked rows with result_limit/result_offset (limit remains a compatibility alias), raw rows with raw_limit/raw_offset, and directory summaries with directory_limit/directory_offset. Raw lines default to a UTF-8-safe match-centered preview; each row reports content_start_byte, returned/total byte counts, match byte bounds when known, and a content continuation offset. Pass raw_content_offset to page the original line without moving the raw-row cursor. match_limit and source_max_lines bound per-result details, with exact omission metadata. detect_changes pages changed files, impacted symbols, and module summaries independently; prefer its snapshot-bound *_cursor continuations, which reject changed commits, worktree bytes, graph generation, or semantic arguments instead of silently skipping or duplicating rows.

Every response is standard UTF-8. Identifiers, paths, and raw search previews preserve POSIX byte-string identities: a preserved value containing malformed UTF-8 is emitted reversibly as @bytes:<lowercase hex of every original byte>. A valid preserved value that literally begins with the reserved @bytes: or @utf8: prefix is emitted as @utf8:<original value>, so decoding is unambiguous: strip one @utf8: prefix for literal UTF-8, or hex-decode one @bytes: prefix for original bytes. Ordinary valid UTF-8 is unchanged and pays no output-token overhead. To keep code readable, source bodies replace malformed UTF-8 with U+FFFD; use the pageable raw search preview when byte-exact source inspection is required.

Use cli <tool> --help to see the flags generated from that tool's input schema:

codebase-memory-mcp cli index_repository --repo-path /path/to/repo
codebase-memory-mcp cli list_projects

# Use the "name" returned by list_projects as the project value.
codebase-memory-mcp cli search_graph --project my-project --name-pattern '.*Handler.*' --label Function
codebase-memory-mcp cli trace_path --project my-project --function-name Search --direction both
codebase-memory-mcp cli query_graph --project my-project --query 'MATCH (f:Function) RETURN f.name LIMIT 5'

# Force human-readable progress without contaminating stdout.
codebase-memory-mcp cli --progress index_repository --repo-path /path/to/repo
# Suppress automatic terminal progress and non-error diagnostics.
codebase-memory-mcp cli --quiet list_projects --format json
codebase-memory-mcp cli search_graph --project my-project --label Function --format json
codebase-memory-mcp cli list_projects --format json --detail stats | jq '.projects[].name'

JSON arguments can also be piped on stdin, for tools that take arguments. A tool whose input schema declares none — list_projects — never reads stdin, so it stays responsive when it inherits a pipe the caller never closes (the default for child_process.spawn and similar wrappers). Inline JSON remains accepted for backward compatibility but is deprecated in favor of flags, --args-file, or stdin.

MCP Tools

Indexing

Tool Description
index_repository Index a repository into the graph. Auto-sync keeps it fresh after that. Waits for the whole index by default; pass async: true to start it in the daemon and return at once, then poll with status: true (see below).
list_projects List all indexed projects with node/edge counts.
delete_project Remove a project and all its graph data.
index_status Check indexing status of a project.
check_index_coverage Check whether exact paths or a scope are indexed and fresh. A clean result means no recorded gap, not proof of completeness.

Long indexes and client call deadlines. A synchronous index_repository on a large repository can take longer than an MCP client allows one tool call (some IDE clients give up after a fixed deadline). When a client cancels or disconnects, the daemon cancels an index that nobody else is waiting for, so retrying the same blocking call never finishes. Use the async mode instead:

  1. index_repository(repo_path="/abs/path", async: true) starts the index in the daemon (or joins the one already running for that project) and returns immediately with state (queued/running). The job keeps running even if the client cancels, times out or disconnects; only stopping the daemon ends it.
  2. index_repository(repo_path="/abs/path", status: true) reports state (queued, running, cancelling, succeeded, failed, cancelled), started_at, finished_at and an error summary. Poll it until the state is succeeded, failed or cancelled. Pass the same repo_path (and name, if the index call used one).

async and status are exclusive; async does not apply to cross-repo-intelligence. Both need the daemon-backed server (the default codebase-memory-mcp entry point). A temporary daemon (started on demand rather than by codebase-memory-mcp daemon start) stops, and cancels its jobs, when its last client disconnects. A connected MCP session keeps it alive, so async from your editor works. A one-shot codebase-memory-mcp cli index_repository --async that is the daemon's only client is refused with a clear error, because the job would die the moment the command exits: run codebase-memory-mcp daemon start first, keep an MCP session open, or call without --async. status works everywhere. When a synchronous call was cut short, the next index_repository or status call for that project carries a notice suggesting the async mode. index_status keeps describing the published graph and its freshness.

Querying

Tool Description
search_graph Structural, BM25, and semantic search. Page structural rows with offset/limit and ranked semantic rows independently with semantic_offset/semantic_limit.
trace_path BFS traversal — who calls a function and what it calls (alias: trace_call_path). Depth 1-5.
detect_changes Map git diff to affected symbols + blast radius with risk classification.
query_graph Execute Cypher-like graph queries (read-only).
get_graph_schema Node/edge counts, relationship patterns, property definitions per label. Run this first.
compare_graphs Compare two indexed snapshots: node/edge additions and removals between a base and a target.
get_code_snippet Read source code for a function by qualified name.
get_file_outline Declaration outline of one repository-relative file in source order, with optional label filter and paging.
get_architecture Codebase overview: languages, packages, routes, hotspots, clusters, ADR.
search_code Grep-like text search within indexed project files.
manage_adr CRUD for Architecture Decision Records (get reads, update replaces the whole document, set_sections rewrites only the named sections and leaves every other byte untouched, sections lists headings). Query modes do not wait behind a same-project reindex; writes remain serialized.
ingest_traces Ingest runtime traces to validate HTTP_CALLS edges.

manage_adr(mode='set_sections') writes one or more sections by name and splices them into the stored document, so text outside the named sections — including a preamble, code fences and section ordering — is preserved byte-for-byte. Any ## Heading works, not just the conventional PURPOSE / STACK / ARCHITECTURE / PATTERNS / TRADEOFFS / PHILOSOPHY set; names match exactly, including case. Writing the same section twice is a no-op, so a retry after a lost response cannot duplicate content.

manage_adr query modes (get and sections) use the server's cached query store so they can proceed while a same-project reindex is running. If another process publishes a replacement store during reindexing, they can return the pre-publicatio

(README truncated)

View on GitHub

Recent activity

commits and pull requests

Releases and announcements

47 total
  1. v0.11.0v0.11.0Sep 15, 2026128.4K downloads

    # v0.11.0 A large release, and an unusually community-heavy one: **171 pull requests** merged since v0.10.8 (9 of them dependency bumps), **76 of them from contributors outside the maintainer**. Thank you — this release is mostly your work. It is a minor version rather than another 0.10.x patch because the index format moves (one rebuild, below) and the tool output contract changes. The reason v0.11.0 exists is install, uninstall and daemon-startup reliability, and memory: if cbm ever refused to install, refused to uninstall cleanly, died at startup without telling you why, or blew through the memory budget on a large repository, this is the release to take. Two things to know before you upgrade, and one thing you will notice. ## Highlights ### The first run after upgrading rebuilds your index once This is expected. It is not an error, and nothing is lost. PR #1104 (`feb72080`, by **@LA-10**) completes the File-node change from #1108: a File node's qualified name now keeps its file extension, so `auth.py` and `auth.ts` in the same directory are finally distinct nodes instead of colliding on one name. That moves the on-disk index format boundary, so an index built by v0.10.8

  2. v0.10.8v0.10.8Aug 19, 2026295.6K downloads

    # v0.10.8 > **Note on v0.10.7:** this release supersedes v0.10.7, which was lost to a release-pipeline > publishing error (published under the tag `0.10.7` instead of `v0.10.7`; package installers > resolve the v-prefixed tag, and release immutability makes the name unrecoverable). The npm > and PyPI 0.10.7 packages are deprecated/yanked for that reason — their binaries were fine, > their download URLs were not. v0.10.8 carries the identical code content plus the pipeline > hardening that prevents a recurrence. A community-heavy patch release: 19 pull requests merged since v0.10.6, most from contributors. Thank you all! ## Graph correctness - **Cypher aggregates no longer undercount** (#1196). Both truncation mechanisms are fixed: unlabeled scans stopped collecting candidates at max_rows *before* aggregation ran (#1323, @Enferlain), and relationship-expansion buffers were capped so aggregation never saw rows beyond an internal growth limit (#1698). `count()`/`collect()` now see the complete match set; `max_rows` limits only the rows returned, as documented. - **Python aliased from-imports resolve to the real definition** (#1371, @Joseph-MingEn). `from .gate import exe

  3. 0.10.70.10.7Aug 18, 2026pre-release2.2K downloads

    > [!WARNING] > **Broken for npm/PyPI installs — superseded by v0.10.8.** A publishing error released this under the tag `0.10.7` instead of `v0.10.7`. The npm/PyPI package installers resolve their downloads via the v-prefixed tag, which cannot be created retroactively (release immutability tombstones the name). **Direct downloads from this page work normally** — the binaries themselves are fine and fully verified. Use **v0.10.8** or newer for package-manager installs, or `scripts/setup.sh`. ## What's Changed * fix(extract): converge Function/Method is_test with the tests/ path filter by @Yyunozor in https://github.com/DeusData/codebase-memory-mcp/pull/1308 * fix(hooks): scope pre-commit clang-tidy to staged changes (#1264) by @Yyunozor in https://github.com/DeusData/codebase-memory-mcp/pull/1310 * fix(mcp): isolate semantic-only JSON search by @JJordan0C in https://github.com/DeusData/codebase-memory-mcp/pull/1319 * fix(search): preserve compound requested fields by @Enferlain in https://github.com/DeusData/codebase-memory-mcp/pull/1325 * fix(cypher): scan all unlabeled query candidates by @Enferlain in https://github.com/DeusData/codebase-memory-mcp/pull/1323 * fix(registry): dro

  4. v0.10.6v0.10.6Aug 17, 202621K downloads

    # codebase-memory-mcp v0.10.6 Two stories in one release: **the 0.10.x indexing slowdown is gone**, and **the install failures that survived v0.10.5 are fixed** — including every construct from the configs you sent us. If cbm got slower for you since 0.9.0, or `install` still refused your Hermes, goose, OpenCode, or Codex config, this is the release to take. ## The indexing regression program (#1669) Since 0.10.0, indexing large repos had drifted from slower to unusable — java 6× worse, C# 2.6×, TypeScript 2×. The cause was not one bug but a family: per-file work that scaled with the whole corpus. All of it is fixed, measured on the same host against the same corpora as the reports: - **Java 477 s → 86 s** (elasticsearch): cross-file resolution rebuilt a registry of every definition in the corpus **per file**. It is now built once and shared, with a per-file overlay for local symbols. - **C# 1211 s → 450 s** (dotnet/runtime), now with **48% more edges** than 0.9.0: three corpus-proportional scans eliminated, plus an import-context bug that had been silently suppressing C# usage edges — one 147 KB generated file went from 490 s to 6.8 s. - **TypeScript 37 s → ~24 s** (mi

  5. v0.10.5v0.10.5Aug 15, 202626.9K downloads

    # codebase-memory-mcp v0.10.5 An install-and-startup release. If v0.10.4 refused to install for you, refused to write your config, or told you something that turned out not to be true, this is the one to take. Several of these are cases where **cbm refused its own work** — an installer directory our own binary then rejected, a config entry we wrote ourselves and later called foreign, an error message that named the wrong directory and sent people to inspect a file that was fine. ## Windows: installs that refused themselves **The installer was creating a directory our own binary then rejected.** `install.ps1` made its staging directory with `New-Item`, which inherits whatever `%TEMP%` carries. The downloaded binary validates its own directory and refuses inherited cross-account mutation grants — so we handed our own check a directory we had just made wrong. Measured on a Windows VM: a fresh staging directory came up unprotected with **five inherited ACEs**; it now carries a single owner-only entry. That is the `acl-grants-cross-account-mutation to S-1-5-21-…` failure. Reported by **@RoccoZero**, **@aecesr**, **@Kiborgik** and **@nasodaengineer**, whose corrections stopped us fi

Code frequency

additions and deletions
+20.2M-20.2MWeek of 2026-02-22: +31,490 linesWeek of 2026-02-22: -3,195 linesWeek of 2026-03-01: +20,154,582 linesWeek of 2026-03-01: -16,658 linesWeek of 2026-03-08: +77,667 linesWeek of 2026-03-08: -814 linesWeek of 2026-03-15: +555,261 linesWeek of 2026-03-15: -150,077 linesWeek of 2026-03-22: +22,579 linesWeek of 2026-03-22: -5,086 linesWeek of 2026-03-29: +151,029 linesWeek of 2026-03-29: -37,557 linesWeek of 2026-04-05: +88,562 linesWeek of 2026-04-05: -105,552 linesWeek of 2026-04-12: +15,090,470 linesWeek of 2026-04-12: -1,494,450 linesWeek of 2026-04-19: +44 linesWeek of 2026-04-19: -6 linesWeek of 2026-04-26: +604 linesWeek of 2026-04-26: -97 linesWeek of 2026-05-03: +104,675 linesWeek of 2026-05-03: -10,598 linesWeek of 2026-05-10: +12,078 linesWeek of 2026-05-10: -40 linesWeek of 2026-05-17: +10,233 linesWeek of 2026-05-17: -549 linesWeek of 2026-05-24: +3,797 linesWeek of 2026-05-24: -3,970 linesWeek of 2026-05-31: +7,338,807 linesWeek of 2026-05-31: -4,772,316 linesWeek of 2026-06-07: +54,440 linesWeek of 2026-06-07: -1,691,048 linesWeek of 2026-06-14: +5,460 linesWeek of 2026-06-14: -299 linesWeek of 2026-06-21: +2,067,972 linesWeek of 2026-06-21: -1,560 linesWeek of 2026-06-28: +791,546 linesWeek of 2026-06-28: -2,423 linesWeek of 2026-07-05: +20,630 linesWeek of 2026-07-05: -6,499 linesWeek of 2026-07-12: +176,056 linesWeek of 2026-07-12: -21,913 linesWeek of 2026-07-19: +22,854 linesWeek of 2026-07-19: -2,739 linesWeek of 2026-07-26: +30,273 linesWeek of 2026-07-26: -31,322 linesWeek of 2026-08-02: +34,531 linesWeek of 2026-08-02: -5,092 linesWeek of 2026-08-09: +33,915 linesWeek of 2026-08-09: -19,376 linesWeek of 2026-08-16: +10,985 linesWeek of 2026-08-16: -1,377 linesWeek of 2026-08-23: +1,733,905 linesWeek of 2026-08-23: -465,290 linesWeek of 2026-08-30: +7,735 linesWeek of 2026-08-30: -1,380 linesWeek of 2026-09-06: +11,385 linesWeek of 2026-09-06: -839 linesWeek of 2026-09-13: +20,408 linesWeek of 2026-09-13: -3,500 linesWeek of 2026-09-20: +613,303 linesWeek of 2026-09-20: -188,236 linesWeek of 2026-09-27: +1,443 linesWeek of 2026-09-27: -449 linesFeb 22, 2026Sep 27, 2026
+49.3M lines added, -9M removed over the last year.

Commits per week

last 52 weeks
1590Week of 2025-10-04: 0 commitsWeek of 2025-10-11: 0 commitsWeek of 2025-10-18: 0 commitsWeek of 2025-10-25: 0 commitsWeek of 2025-11-01: 0 commitsWeek of 2025-11-09: 0 commitsWeek of 2025-11-16: 0 commitsWeek of 2025-11-23: 0 commitsWeek of 2025-11-30: 0 commitsWeek of 2025-12-07: 0 commitsWeek of 2025-12-14: 0 commitsWeek of 2025-12-21: 0 commitsWeek of 2025-12-28: 0 commitsWeek of 2026-01-04: 0 commitsWeek of 2026-01-11: 0 commitsWeek of 2026-01-18: 0 commitsWeek of 2026-01-25: 0 commitsWeek of 2026-02-01: 0 commitsWeek of 2026-02-08: 0 commitsWeek of 2026-02-15: 0 commitsWeek of 2026-02-22: 36 commitsWeek of 2026-03-01: 42 commitsWeek of 2026-03-08: 15 commitsWeek of 2026-03-15: 142 commitsWeek of 2026-03-22: 100 commitsWeek of 2026-03-29: 50 commitsWeek of 2026-04-05: 25 commitsWeek of 2026-04-12: 37 commitsWeek of 2026-04-19: 2 commitsWeek of 2026-04-26: 9 commitsWeek of 2026-05-03: 84 commitsWeek of 2026-05-10: 9 commitsWeek of 2026-05-17: 19 commitsWeek of 2026-05-24: 51 commitsWeek of 2026-05-31: 120 commitsWeek of 2026-06-07: 102 commitsWeek of 2026-06-14: 20 commitsWeek of 2026-06-21: 118 commitsWeek of 2026-06-28: 159 commitsWeek of 2026-07-05: 139 commitsWeek of 2026-07-12: 121 commitsWeek of 2026-07-19: 118 commitsWeek of 2026-07-26: 134 commitsWeek of 2026-08-02: 130 commitsWeek of 2026-08-09: 152 commitsWeek of 2026-08-16: 82 commitsWeek of 2026-08-23: 96 commitsWeek of 2026-08-30: 78 commitsWeek of 2026-09-06: 67 commitsWeek of 2026-09-13: 46 commitsWeek of 2026-09-20: 84 commitsWeek of 2026-09-27: 17 commitsOct 4, 2025Sep 27, 2026
2.4K commits in the last 52 weeks.

When work happens

weekday and hour
SunMonTueWedThuFriSat036912151821Sun 0:00 — 23 commitsSun 1:00 — 16 commitsSun 2:00 — 13 commitsSun 3:00 — 7 commitsSun 4:00 — 6 commitsSun 5:00 — 4 commitsSun 6:00 — 6 commitsSun 7:00 — 14 commitsSun 8:00 — 8 commitsSun 9:00 — 11 commitsSun 10:00 — 9 commitsSun 11:00 — 9 commitsSun 12:00 — 17 commitsSun 13:00 — 23 commitsSun 14:00 — 26 commitsSun 15:00 — 16 commitsSun 16:00 — 27 commitsSun 17:00 — 18 commitsSun 18:00 — 32 commitsSun 19:00 — 31 commitsSun 20:00 — 22 commitsSun 21:00 — 22 commitsSun 22:00 — 14 commitsSun 23:00 — 9 commitsMon 0:00 — 19 commitsMon 1:00 — 17 commitsMon 2:00 — 12 commitsMon 3:00 — 7 commitsMon 4:00 — 9 commitsMon 5:00 — 6 commitsMon 6:00 — 9 commitsMon 7:00 — 1 commitsMon 8:00 — 4 commitsMon 9:00 — 4 commitsMon 10:00 — 5 commitsMon 11:00 — 11 commitsMon 12:00 — 11 commitsMon 13:00 — 10 commitsMon 14:00 — 14 commitsMon 15:00 — 23 commitsMon 16:00 — 14 commitsMon 17:00 — 20 commitsMon 18:00 — 15 commitsMon 19:00 — 18 commitsMon 20:00 — 14 commitsMon 21:00 — 18 commitsMon 22:00 — 17 commitsMon 23:00 — 15 commitsTue 0:00 — 23 commitsTue 1:00 — 14 commitsTue 2:00 — 6 commitsTue 3:00 — 4 commitsTue 4:00 — 7 commitsTue 5:00 — 1 commitsTue 6:00 — 0 commitsTue 7:00 — 1 commitsTue 8:00 — 6 commitsTue 9:00 — 4 commitsTue 10:00 — 7 commitsTue 11:00 — 9 commitsTue 12:00 — 2 commitsTue 13:00 — 9 commitsTue 14:00 — 4 commitsTue 15:00 — 8 commitsTue 16:00 — 8 commitsTue 17:00 — 9 commitsTue 18:00 — 10 commitsTue 19:00 — 13 commitsTue 20:00 — 15 commitsTue 21:00 — 17 commitsTue 22:00 — 24 commitsTue 23:00 — 24 commitsWed 0:00 — 16 commitsWed 1:00 — 16 commitsWed 2:00 — 4 commitsWed 3:00 — 4 commitsWed 4:00 — 1 commitsWed 5:00 — 1 commitsWed 6:00 — 3 commitsWed 7:00 — 4 commitsWed 8:00 — 0 commitsWed 9:00 — 6 commitsWed 10:00 — 22 commitsWed 11:00 — 3 commitsWed 12:00 — 11 commitsWed 13:00 — 15 commitsWed 14:00 — 10 commitsWed 15:00 — 16 commitsWed 16:00 — 16 commitsWed 17:00 — 18 commitsWed 18:00 — 10 commitsWed 19:00 — 3 commitsWed 20:00 — 14 commitsWed 21:00 — 18 commitsWed 22:00 — 19 commitsWed 23:00 — 20 commitsThu 0:00 — 31 commitsThu 1:00 — 11 commitsThu 2:00 — 19 commitsThu 3:00 — 15 commitsThu 4:00 — 2 commitsThu 5:00 — 1 commitsThu 6:00 — 2 commitsThu 7:00 — 4 commitsThu 8:00 — 8 commitsThu 9:00 — 2 commitsThu 10:00 — 16 commitsThu 11:00 — 17 commitsThu 12:00 — 15 commitsThu 13:00 — 27 commitsThu 14:00 — 17 commitsThu 15:00 — 14 commitsThu 16:00 — 19 commitsThu 17:00 — 19 commitsThu 18:00 — 25 commitsThu 19:00 — 21 commitsThu 20:00 — 10 commitsThu 21:00 — 19 commitsThu 22:00 — 17 commitsThu 23:00 — 15 commitsFri 0:00 — 15 commitsFri 1:00 — 13 commitsFri 2:00 — 9 commitsFri 3:00 — 5 commitsFri 4:00 — 6 commitsFri 5:00 — 3 commitsFri 6:00 — 2 commitsFri 7:00 — 3 commitsFri 8:00 — 6 commitsFri 9:00 — 11 commitsFri 10:00 — 10 commitsFri 11:00 — 7 commitsFri 12:00 — 13 commitsFri 13:00 — 19 commitsFri 14:00 — 23 commitsFri 15:00 — 13 commitsFri 16:00 — 12 commitsFri 17:00 — 16 commitsFri 18:00 — 54 commitsFri 19:00 — 22 commitsFri 20:00 — 42 commitsFri 21:00 — 30 commitsFri 22:00 — 36 commitsFri 23:00 — 41 commitsSat 0:00 — 22 commitsSat 1:00 — 33 commitsSat 2:00 — 28 commitsSat 3:00 — 15 commitsSat 4:00 — 4 commitsSat 5:00 — 29 commitsSat 6:00 — 4 commitsSat 7:00 — 4 commitsSat 8:00 — 12 commitsSat 9:00 — 8 commitsSat 10:00 — 13 commitsSat 11:00 — 20 commitsSat 12:00 — 23 commitsSat 13:00 — 27 commitsSat 14:00 — 31 commitsSat 15:00 — 40 commitsSat 16:00 — 32 commitsSat 17:00 — 28 commitsSat 18:00 — 40 commitsSat 19:00 — 30 commitsSat 20:00 — 16 commitsSat 21:00 — 8 commitsSat 22:00 — 25 commitsSat 23:00 — 29 commits
Commit volume by weekday and hour (UTC). Larger dots mean more commits.

Who is committing

last 52 weeks
Maintainer commits1,973 (59%)
Community commits1,379 (41%)

3,352 commits in total over the last year.

DateListRankStars gained
Sep 24, 2026daily#12+201
Sep 23, 2026daily#12+201
Jul 30, 2026monthly#15+17,707
Jul 29, 2026monthly#15+17,707
Jul 28, 2026monthly#11+19,689
Jul 27, 2026monthly#6+20,672
Jul 26, 2026daily#18+3
Jul 13, 2026daily#18+3
Jul 8, 2026daily#23+4
Jul 6, 2026daily#19+5
Jul 5, 2026daily#22+18
Jul 4, 2026daily#18+23
Jul 3, 2026daily#13+12
Jul 2, 2026daily#17+23
Jul 1, 2026daily#14+20
  • affaan-m/ECC

    The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

    272.8K stars · JavaScript

  • NousResearch/hermes-agent

    The agent that grows with you

    251.2K stars · Python

  • n8n-io/n8n

    Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

    206.7K stars · TypeScript

  • DietrichGebert/ponytail

    Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.

    154.6K stars · JavaScript

  • Genymobile/scrcpy

    Display and control your Android device

    151K stars · C

  • x1xhlol/system-prompts-and-models-of-ai-tools

    FULL Augment Code, Claude Code, Cluely, CodeBuddy, Comet, Cursor, Devin AI, Junie, Kiro, Leap.new, Lovable, Manus, NotionAI, Orchids.app, Perplexity, Poke, Qoder, Replit, Same.dev, Trae, Traycer AI, VSCode Agent, Warp.dev, Windsurf, Xcode, Z.ai Code, Dia & v0. (And other Open Sourced) System Prompts, Internal Tools & AI Models

    144K stars