For an MCP server for codebase context access, the strongest matches are zilliztech/claude-context (zilliztech/claude-context is an MCP-compliant codebase indexer that combines keyword), idosal/git-mcp (This MCP server transforms Git repositories into structured context) and yamadashy/repomix (Repomix is an MCP server that bundles your codebase). colbymchenry/codegraph and yichuan-w/leann round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.
We curate open-source GitHub repositories matching “codebase memory mcp”. Results are ranked by relevance to your query — pick filters below to narrow, or refine with AI.
Claude-context is a retrieval-augmented generation pipeline and semantic code search tool. It functions as an LLM codebase indexer and RAG context provider, designed to index local directories and retrieve relevant code files to provide context for large language models. The system operates as a hybrid search engine that combines keyword matching with dense vector search. This allows for the retrieval of code snippets and logic using natural language queries based on meaning rather than exact text matches. The project covers codebase indexing and search index management, utilizing asynchrono
zilliztech/claude-context is an MCP-compliant codebase indexer that combines keyword and vector search to retrieve relevant code files for LLMs, directly matching the need for an MCP server that provides code-aware conversational context.
git-mcp is a Model Context Protocol server that transforms Git repositories and static sites into structured context providers for AI assistants. It functions as a documentation retrieval tool and repository indexer, exposing codebases and project files as standardized tools to reduce hallucinations in large language model responses. The project converts raw repository files, READMEs, and external URLs into formats optimized for token consumption. It enables AI agents to perform query-based code searches and retrieve specific sections of project documentation to maintain up-to-date technical
This MCP server transforms Git repositories into structured context for AI assistants, enabling query-based code searches and file retrieval, which is exactly the codebase-aware memory tool you are looking for.
Repomix is an AI-focused development utility designed to prepare local and remote codebases for analysis, review, and automated interaction. It functions as a codebase context bundler and a Model Context Protocol server, aggregating project files into structured documents that are optimized for ingestion by large language models. By serving as a bridge between local repositories and external intelligence agents, the tool facilitates real-time codebase inspection and automated development workflows. The system distinguishes itself through rigorous repository token management and security-consc
Repomix is an MCP server that bundles your codebase into structured documents for LLM consumption, directly enabling code-aware conversations with support for file retrieval, git integration, and configurable ignore patterns.
Codegraph is a local codebase indexer and static analysis graph database that serves as a context provider for AI agents. It parses multiple programming languages into a searchable knowledge graph of symbols and dependencies, exposing these relationships to AI tools through the Model Context Protocol. The project distinguishes itself by aggregating relevant code snippets and symbol flows to reduce token usage for large language models. It automates the configuration of server settings and steering instructions across various AI agent platforms and command line editors to enable automatic code
Codegraph is an MCP-compliant codebase indexer that parses multiple languages into a searchable knowledge graph of symbols and dependencies, providing rich code context to AI agents to support code-aware conversations.
LEANN is a framework for local retrieval augmented generation and vector indexing. It functions as a system for building local knowledge bases and source code search engines that combine large language models with retrieved private data to generate context-aware responses. The project distinguishes itself through a vision-model based document layout extractor for parsing complex PDF figures and diagrams, and a source code search engine that employs structure-aware chunking to preserve function and class boundaries. It also implements the Model Context Protocol to integrate real-time data sour
LEANN is a local RAG framework that implements the Model Context Protocol and includes a structure-aware source code search engine, fitting your need for a codebase-context MCP server, though it does not explicitly cover git integration or live index updates.
OpenGrok is a Java-based source code search engine and indexer designed to process large source trees and binaries into a searchable index. It functions as a version control browser, allowing for the exploration and searching of revision histories integrated with version control systems. The system provides symbol-based cross-referencing to link code definitions and usages, enabling navigation across a codebase. It utilizes an inverted-index search engine to perform full-text retrieval of source code. The application supports periodic source synchronization and reindexing to keep local data
OpenGrok is a source code search and indexing engine that can index codebases and retrieve files, but it does not implement the Model Context Protocol (MCP) to serve that context to an LLM assistant, so it's a related tool rather than an MCP server for code-aware conversations.
mcp-go is a Go implementation of the Model Context Protocol (MCP) providing an SDK and framework for building servers that connect large language model applications to external tools and data sources. It serves as a developer kit for implementing bidirectional communication and structured data exchange between AI clients and servers. The framework enables the creation of executable tools with structured output schemas, reusable prompt templates, and data resource exposure via URI templates. It supports multiple transport layers, including stdio, HTTP, and Server-Sent Events, using a transport
mcp-go is an SDK and framework for building MCP servers, not a ready-to-use server for codebase context — it provides the protocol plumbing but lacks the codebase indexing, file retrieval, and semantic search features this search requires.
Refact is an autonomous AI software engineering system and code assistant. It functions as an agent orchestrator capable of planning, executing, and managing multi-step development workflows to complete complex software tasks independently. The system distinguishes itself through agentic state management, using isolated worktrees and versioned checkpoints to allow autonomous agents to experiment with code changes and roll back to stable states if tasks fail. It further extends its capabilities via the Model Context Protocol, connecting the AI engine to external databases, version control syst
Refact is an autonomous AI coding agent that uses the Model Context Protocol to connect to external resources, but it is not itself an MCP server for codebase context; it is an agent orchestrator that would consume such servers.
Forgecode is an AI agent orchestrator, shell integration tool, and terminal-based pair programmer. It enables the deployment of specialized AI roles for research, planning, and implementation, while providing a semantic code search tool to index project files for meaning-based retrieval. The system integrates as a Model Context Protocol client to extend AI capabilities via external servers and supports multi-provider model orchestration to switch between different large language model APIs. It transforms natural language into functional shell commands and allows for the execution of AI prompt
Forgecode is an AI agent orchestrator and MCP client, not an MCP server; while it includes codebase indexing and semantic search, it does not expose a codebase memory server that an LLM assistant would connect to directly, so it is a related but different category.
The Model Context Protocol C# SDK is a library for building clients and servers that implement the Model Context Protocol to integrate AI tools and resources. It provides an AI tool integration framework and a multi-modal content handler to exchange text, images, and binary resources between AI models and external context providers. The SDK utilizes a JSON-RPC communication library to manage bidirectional data exchange. It features a transport-agnostic communication layer that supports standard input and output, HTTP, and in-memory pipes, with specific integration for ASP.NET Core hosting. T
This is the official C# SDK for building MCP clients and servers, not a ready-to-use MCP server that indexes codebases and provides code-aware memory — it gives you the tools to build such a server rather than delivering the codebase context functionality you need.
This project is a tool for integrating existing HTTP APIs with AI agents by translating standard web endpoints into the Model Context Protocol. It provides a framework for constructing and managing libraries of functions that allow large language models to execute tasks and retrieve data. The system functions as an AI gateway that manages tool hosting, authentication, and routing. It includes capabilities for monetizing tool access through usage-based billing and payment processor integration, as well as the ability to publish service definitions to a gateway for commercial productization. T
This project translates existing HTTP APIs into Model Context Protocol tools, but it does not index or provide memory of a codebase — it is a generic MCP gateway for external APIs, not a codebase-context server for code-aware LLM conversations.
This project is a Model Context Protocol server that connects large language models to the Xiaohongshu social media platform. It acts as a connector and API wrapper, enabling language models to programmatically search, read, and publish media and text. The system provides automation for content discovery and publishing, allowing for the creation of image and video posts with associated titles and descriptions. It also facilitates social engagement by managing the posting of comments and tracking engagement metrics for specific entries. The tool covers data retrieval for user profiles, post d
This is an MCP server but built for social media content discovery and publishing on Xiaohongshu, not for indexing or providing memory of a codebase to enable code-aware conversations.
| Repository | Stars | Language | License | Last push |
|---|---|---|---|---|
| zilliztech/claude-context | 5.4K | TypeScript | mit | |
| idosal/git-mcp | 7.6K | TypeScript | apache-2.0 | |
| yamadashy/repomix | 26.5K | TypeScript | MIT | |
| colbymchenry/codegraph | 50.2K | TypeScript | MIT | |
| yichuan-w/leann | 12K | Python | MIT | |
| oracle/opengrok | 4.9K | Java | NOASSERTION | |
| mark3labs/mcp-go | 8.8K | Go | MIT | |
| smallcloudai/refact | 3.5K | Rust | bsd-3-clause | |
| tailcallhq/forgecode | 7.4K | Rust | Apache-2.0 | |
| modelcontextprotocol/csharp-sdk | 3.9K | C# | other |