# Codebase memory MCP

> Codebase memory MCP is an open-source agent skill for knowledge and memory. Use when exploring unfamiliar code, mapping architecture, finding symbols or relationships, tracing callers, callees, data flow or dependenc. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/github/awesome-copilot/tree/main/skills/codebase-memory-mcp
- **Repository:** https://github.com/github/awesome-copilot
- **GitHub stars:** 41,254
- **License:** MIT
- **Skill name:** codebase-memory-mcp
- **Collection:** https://github.com/github/awesome-copilot
- **Categories:** knowledge and memory
- **Listing updated:** 2026-11-17

## About

Use when exploring unfamiliar code, mapping architecture, finding symbols or relationships, tracing callers, callees, data flow or dependencies, assessing impact, auditing dead or complex code, or handling explicit Codebase Memory requests. Otherwise skip tasks confined to a supplied known file, tiny one-file check, exact literal, configuration value, error string, or non-code text.

## When your agent uses it

> Use when exploring unfamiliar code, mapping architecture, finding symbols or relationships, tracing callers, callees, data flow or dependencies, assessing impact, auditing dead or complex code, or handling explicit Codebase Memory requests. Otherwise skip tasks confined to a supplied known file, tiny one-file check, exact literal, configuration value, error string, or non-code text.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/github/awesome-copilot/tree/HEAD/skills/codebase-memory-mcp)
- [License: MIT](https://github.com/github/awesome-copilot/tree/HEAD/skills/codebase-memory-mcp)

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/codebase-memory-mcp` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/github/awesome-copilot.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/codebase-memory-mcp &&
cp -R "$tmp/skills/codebase-memory-mcp" ~/.claude/skills/codebase-memory-mcp &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/codebase-memory-mcp` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/codebase-memory-mcp` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/github/awesome-copilot.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/codebase-memory-mcp &&
cp -R "$tmp/skills/codebase-memory-mcp" ~/.agents/skills/codebase-memory-mcp &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/codebase-memory-mcp` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/codebase-memory-mcp` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/github/awesome-copilot.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/codebase-memory-mcp &&
cp -R "$tmp/skills/codebase-memory-mcp" ~/.cursor/skills/codebase-memory-mcp &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/codebase-memory-mcp` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/github/awesome-copilot.git --path skills/codebase-memory-mcp
```

Or copy the folder to `~/.gemini/skills/codebase-memory-mcp` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/codebase-memory-mcp`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/github/awesome-copilot.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/codebase-memory-mcp &&
cp -R "$tmp/skills/codebase-memory-mcp" ~/.copilot/skills/codebase-memory-mcp &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/codebase-memory-mcp` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/github/awesome-copilot.git
```

Then copy `awesome-copilot/skills/codebase-memory-mcp` into your agent's skills folder as `codebase-memory-mcp`. Agents that support SKILL.md read one folder per skill.

## FAQ

### How do I install Codebase memory MCP in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/codebase-memory-mcp to use it in all your projects, or to .claude/skills/codebase-memory-mcp in one project.

### Does Codebase memory MCP run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Codebase memory MCP?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Codebase memory MCP?

The closest alternatives to Codebase memory MCP are Claude API, Qdrant horizontal scaling, Pinecone rag, Qdrant memory usage optimization and Qdrant scaling query volume.

## Alternatives

- [Claude API](https://ai-powered.com/skills/claude-api): Claude API is an agent skill for ai models and llm tooling.
- [Qdrant horizontal scaling](https://ai-powered.com/skills/qdrant-horizontal-scaling): Qdrant horizontal scaling is an open-source agent skill for knowledge and memory.
- [Pinecone rag](https://ai-powered.com/skills/pinecone-rag): Pinecone rag is an open-source agent skill for knowledge and memory.
- [Qdrant memory usage optimization](https://ai-powered.com/skills/qdrant-memory-usage-optimization): Qdrant memory usage optimization is an open-source agent skill for knowledge and memory.
- [Qdrant scaling query volume](https://ai-powered.com/skills/qdrant-scaling-query-volume): Qdrant scaling query volume is an open-source agent skill for knowledge and memory.
- [Qdrant search quality diagnosis](https://ai-powered.com/skills/qdrant-search-quality-diagnosis): Qdrant search quality diagnosis is an open-source agent skill for knowledge and memory.
- [Qdrant vertical scaling](https://ai-powered.com/skills/qdrant-vertical-scaling): Qdrant vertical scaling is an open-source agent skill for knowledge and memory.
- [Qdrant monitoring setup](https://ai-powered.com/skills/qdrant-monitoring-setup): Qdrant monitoring setup is an open-source agent skill for knowledge and memory.

---
Source: https://ai-powered.com/skills/codebase-memory-mcp
