# codebase-memory MCP server

> Indexes codebases into a knowledge graph to enable structural, semantic, and cross-repository search for coding agents.

- Repository: https://github.com/octacity-org/codebase-memory-mcp
- Page: https://hostedmcp.org/servers/octacity-org/codebase-memory-mcp
- Transport: —
- Stars: 8
- License: MIT

## Tools (15)

- `index_repository`
- `index_status`
- `check_index_coverage`
- `list_projects`
- `delete_project`
- `get_graph_schema`
- `get_architecture`
- `search_graph`
- `search_code`
- `trace_path`
- `get_code_snippet`
- `get_file_outline`
- `query_graph`
- `detect_changes`
- `compare_graphs`

## FAQ

### How do I index a project?

Open a repository in your coding agent and ask it to 'Index this project.'

### Does it require an LLM or API key for semantic search?

No, it is a structural backend that uses a bundled model for semantic search without needing an API key or external model service.

### How does it handle large repositories that exceed system RAM?

The server uses a memory budget and spills extraction results to disk to prevent large repositories from exhausting system memory.
