# deusdata/codebase-memory-mcp

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/deusdata-codebase-memory-mcp).**

_How this analysis was created: the description and tags below were written by an AI model that read this project's README and public documentation pages; stars, license and language come straight from the GitHub API. The model does not read the source code._

48,292 stars · 3,992 forks · C · MIT

## Links

- GitHub: https://github.com/DeusData/codebase-memory-mcp
- Homepage: https://deusdata.github.io/codebase-memory-mcp/
- awesome-repositories: https://awesome-repositories.com/repository/deusdata-codebase-memory-mcp.md

## Topics

`aider` `ast` `claude-code` `code-analysis` `code-intelligence` `codex` `cursor` `cypher` `developer-tools` `gemini-cli` `graph-visualization` `kilocode` `knowledge-graph` `mcp` `mcp-server` `model-context-protocol` `opencode` `sqlite` `tree-sitter` `windsurf`

## Description

codebase-memory-mcp is a Model Context Protocol server that indexes source repositories into a persistent code knowledge graph, giving AI coding agents a queryable map of symbols, call paths and architecture so they read fewer files. Parsing uses bundled tree-sitter grammars covering more than 160 languages, and a built-in type layer links calls to their true definitions without a separate language server. Everything runs locally, with no cloud service or API key.

Beyond the core graph, it offers read-only Cypher-style queries that return clear errors for unsupported syntax, and semantic code search that combines bundled embeddings, full-text ranking and structural filters. It maps code changes to affected symbols and their blast radius, finds dead code, and selects which tests a change reaches, falling back to broader runs when evidence is weak. It also links services across repositories over HTTP, gRPC, GraphQL, tRPC and messaging channels, and connects Kubernetes, Terraform, Docker and similar configuration back to source.

Agent setup is automated: the tool detects supported coding clients and installs their server connections, instructions, skills, profiles and fail-open hooks that never block a tool call. A shared per-account background daemon watches files and re-indexes only what changed, while any tool can also be run as a one-shot command-line call with compact or JSON output. Teams can commit a compressed graph snapshot beside the source so teammates index only their local differences.

Additional features include architecture summaries with functional clustering, persistent architecture decision records, documentation linked to the code it mentions, index coverage reporting, and a local browser interface for exploring source, call paths and architecture maps.

## Tags

### Data & Databases

- [Code Knowledge Graphs](https://awesome-repositories.com/f/data-databases/knowledge-graph-indexing-engines/code-knowledge-graphs.md) — Stores source symbols, calls and relationships in a persistent graph that agents query for structure instead of rereading raw files.
- [Tree-Sitter Parsers](https://awesome-repositories.com/f/data-databases/document-extraction-tools/code-symbol-extractors/tree-sitter-parsers.md) — Parses source files in more than 160 languages into syntax trees using bundled tree-sitter grammars, with no external language servers.
- [Graph Database Queries](https://awesome-repositories.com/f/data-databases/database-query-execution/graph-database-queries.md) — Runs read-only Cypher-style graph queries with filtering, aggregation and variable-length paths, returning clear errors for unsupported syntax. ([source](https://github.com/deusdata/codebase-memory-mcp#readme))
- [Git-Backed Snapshot Sharing](https://awesome-repositories.com/f/data-databases/git-backed-snapshot-sharing.md) — Exports a compressed graph snapshot beside the source so teammates import a shared baseline and index only their local differences.
- [Cypher Engines](https://awesome-repositories.com/f/data-databases/query-engines/cypher-engines.md) — Runs a read-only openCypher-style engine with filters, aggregation and variable-length paths, rejecting writes and unsupported syntax with clear errors.
- [Code Search](https://awesome-repositories.com/f/data-databases/semantic-search/code-search.md) — Finds symbols and code with structural filters, keyword ranking and embedding-based queries, returning ranked results with surrounding context. ([source](https://github.com/deusdata/codebase-memory-mcp#readme))
- [Semantic Code Search Engines](https://awesome-repositories.com/f/data-databases/semantic-search/semantic-code-search-engines.md) — Runs meaning-based and structural code search locally using bundled embeddings and full-text ranking, with no cloud service or API key.

### Artificial Intelligence & ML

- [Code Context Servers](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/integration-deployment/ai-agent-tooling/coding-agents/code-context-servers.md) — Serves a live index of the codebase to coding agents through MCP, command-line calls and hooks so they read fewer files.
- [AI Coding Agent Platforms](https://awesome-repositories.com/f/artificial-intelligence-ml/ai-coding-agent-platforms.md) — Gives AI coding agents a persistent, queryable map of symbols, call paths and architecture so they read fewer files.
- [Non-Blocking Agent Context Hooks](https://awesome-repositories.com/f/artificial-intelligence-ml/non-blocking-agent-context-hooks.md) — Offers optional agent hooks that add matching graph symbols as context and never block a tool call, even on failure.
- [Hybrid Semantic Search Tools](https://awesome-repositories.com/f/artificial-intelligence-ml/vector-embeddings/hybrid-semantic-search-tools.md) — Combines bundled semantic embeddings with full-text ranking and structural filters so meaning-based code search runs fully on the local machine.

### Development Tools & Productivity

- [Change Impact Analysis](https://awesome-repositories.com/f/development-tools-productivity/dependency-analysis-tools/change-impact-analysis.md) — Maps code changes to affected symbols and their blast radius, and selects which tests a change reaches. ([source](https://github.com/deusdata/codebase-memory-mcp#readme))
- [Model Context Protocol Servers](https://awesome-repositories.com/f/development-tools-productivity/ai-coding-assistants/model-context-protocol-servers.md) — Detects supported coding clients and installs server connections, instructions, skills, profiles and fail-open hooks automatically.
- [Shared Code Index Daemons](https://awesome-repositories.com/f/development-tools-productivity/developer-utilities-libraries/developer-tools/version-control-ecosystems/github-integrations/automated-pull-request-reviewers/pull-request-analysis-agents/interactive-code-q-a/shared-code-index-daemons.md) — Runs one per-account background daemon shared by all connected agents, owning file watchers and indexing jobs and re-indexing only changed files. ([source](https://github.com/DeusData/codebase-memory-mcp/blob/4ff6feeab639c4668da0f491930326ed5ec63093/README.md))
- [Cross-Repository Indexes](https://awesome-repositories.com/f/development-tools-productivity/developer-utilities-libraries/developer-tools/version-control-ecosystems/github-integrations/automated-pull-request-reviewers/pull-request-analysis-agents/interactive-code-q-a/shared-code-index-daemons/cross-repository-indexes.md) — Matches HTTP routes, gRPC, GraphQL and publish-subscribe channels to their callers and joins multiple indexed repositories into one cross-repository view. ([source](https://github.com/deusdata/codebase-memory-mcp#readme))
- [Local Code Indexers](https://awesome-repositories.com/f/development-tools-productivity/local-code-indexers.md) — Runs a local background indexer that builds a persistent, searchable graph of code structure, with all analysis on the local machine.
- [Source Code Call Path Tracing](https://awesome-repositories.com/f/development-tools-productivity/source-code-call-path-tracing.md) — Follows callers, callees, data flow and cross-service paths through the graph to show how a symbol is reached and what it depends on. ([source](https://github.com/deusdata/codebase-memory-mcp#readme))
- [Multi-Language Code Parsers](https://awesome-repositories.com/f/development-tools-productivity/structural-code-navigation/multi-language-code-parsers.md) — Parses source code across more than 160 languages into structural symbols and syntax trees, with no external language servers needed.

### DevOps & Infrastructure

- [Infrastructure-to-Code Mapping](https://awesome-repositories.com/f/devops-infrastructure/infrastructure-to-code-mapping.md) — Connects Kubernetes, Helm, Terraform, Docker, Compose and CI configuration to source code so a service can be traced to the program its container runs. ([source](https://github.com/deusdata/codebase-memory-mcp#readme))

### Networking & Communication

- [Service Boundary Detection](https://awesome-repositories.com/f/networking-communication/service-boundary-detection.md) — Matches HTTP routes to call sites and detects gRPC, GraphQL, tRPC and publish-subscribe channels to connect services into one cross-service graph. ([source](https://github.com/DeusData/codebase-memory-mcp/blob/4ff6feeab639c4668da0f491930326ed5ec63093/README.md))

### Software Engineering & Architecture

- [Codebase Architecture Visualizers](https://awesome-repositories.com/f/software-engineering-architecture/codebase-architecture-visualizers.md) — Produces a compact architecture overview of languages, packages, routes, hotspots and cycles, grouping code into functional modules via community detection. ([source](https://github.com/deusdata/codebase-memory-mcp#readme))
- [Cross-Repository Service Linking](https://awesome-repositories.com/f/software-engineering-architecture/cross-repository-service-linking.md) — Connect multiple indexed repositories and trace service relationships over HTTP, gRPC, GraphQL, tRPC, and asynchronous patterns, optionally adding relationships observed in runtime traces. ([source](https://deusdata.github.io/codebase-memory-mcp/))
- [Call-to-Definition Binding](https://awesome-repositories.com/f/software-engineering-architecture/generic-type-definitions/generic-type-resolution/call-to-definition-binding.md) — Provides a built-in type layer covering imports, generics and inheritance that links each call to its true definition without a language server.

### System Administration & Monitoring

- [Cross-Repository Dependency Mapping](https://awesome-repositories.com/f/system-administration-monitoring/cross-repository-dependency-mapping.md) — Links services across repositories over HTTP, gRPC, GraphQL, tRPC and messaging channels, tracing how they communicate and affect each other.

### Testing & Quality Assurance

- [Change-Based Test Selection](https://awesome-repositories.com/f/testing-quality-assurance/software-testing/testing-frameworks/test-frameworks/browser-and-ui-testing/change-based-test-selection.md) — Selects affected tests by combining static reachability, changed tests and per-test coverage, falling back to a full run when evidence is doubtful. ([source](https://deusdata.github.io/codebase-memory-mcp/))

### Part of an Awesome List

- [Context Delivery & Compaction](https://awesome-repositories.com/f/awesome-lists/devtools/context-delivery-compaction.md) — Code intelligence MCP server full-indexing repositories into a knowledge graph.
- [Agent Context and Memory](https://awesome-repositories.com/f/awesome-lists/productivity/agent-context-and-memory.md) — High-performance codebase intelligence engine and MCP server.
