# deeprepo [Health: Active]

**Category:** 🤖 Coding Agents  
**Repository:** https://github.com/abhishek2432001/deeprepo  
**GitHub Stars:** 0  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/deeprepo

## Description
Productivity-boosting RAG engine for codebases with multi-provider AI support and semantic search.

## Tools
Capabilities this server exposes over MCP:

- **ingest_codebase** — —
- **find_symbol** — ~50 tokens
- **get_file_structure** — ~150 tokens
- **explain_file** — ~300 tokens
- **find_change_impact** — ~300 tokens
- **ask_codebase** — ~600–2000 tokens
- **get_project_overview** — ~600 tokens

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "deeprepo": {
    "command": "uvx",
    "args": ["deeprepo"]
  }
}
```

## Documentation

## What deeprepo MCP server does

The deeprepo MCP server exposes a local codebase knowledge base to MCP-compatible AI assistants. It is designed for repositories that have already been indexed with DeepRepo’s ingestion process. The server provides seven tools:

- `ingest_codebase` to ingest a codebase.
- `find_symbol` to locate symbols.
- `get_file_structure` to inspect a file’s structure.
- `explain_file` to request an explanation of a file.
- `find_change_impact` to investigate likely effects of a change.
- `ask_codebase` to ask broader questions about the repository.
- `get_project_overview` to retrieve a project-level overview.

The underlying library parses code into a SQLite-backed graph containing files, classes, functions, imports, and call relationships. It also maintains embeddings, a full-text index, and hierarchical Markdown wiki pages. These data sources support navigation, explanations, retrieval, and impact analysis without requiring an external vector database.

## How it works

DeepRepo scans a local repository and records its structure in a database under `.deeprepo`. By default, the generated data includes a SQLite database and a wiki directory. Incremental ingestion uses stored file hashes, so unchanged files can be skipped during later runs.

Queries can use three retrieval layers: embeddings, full-text search, and graph data. A query router classifies the question and selects a context strategy, including symbol lookup, blast-radius analysis, or wiki and code context. The Python query response includes an answer, source paths, detected intent, retrieval strategy, retrieval method, estimated token use, and conversation history.

The deeprepo MCP server can use Ollama, OpenAI, Anthropic, Gemini, or HuggingFace providers through the library’s provider configuration. Anthropic can provide the language model, but embeddings must come from another supported provider because Anthropic is not listed as an embeddings provider.

## Setup and configuration

Install the core package from the repository, then install MCP support with the optional `mcp` extra. In the target repository, run the ingestion command before using the assistant-facing tools. The command-line interface also supports serving the generated wiki and querying the indexed codebase directly.

Ollama is the documented local option for both language generation and embeddings. Cloud provider choices require their corresponding setup and API keys. Configuration can select separate language-model and embedding providers, set ingestion chunk size and overlap, choose worker count, and specify a wiki directory. Branch isolation can create per-branch databases seeded from a base branch.

Connect the process to an MCP client such as Cursor or Claude Desktop using that client’s MCP configuration.

## Tools and capabilities

The available tools cover repository ingestion, symbol navigation, file structure inspection, file explanation, change-impact analysis, general codebase questions, and project overviews. Token estimates in the listing range from about 50 tokens for symbol lookup to roughly 600–2,000 tokens for broader codebase questions.

The deeprepo MCP server is suited to local development workflows where an agent needs repository-aware answers, especially when questions involve where code is defined, how modules relate, or what may be affected by a change.

## Limitations and notes

DeepRepo is local-first, but cloud providers remain available as configuration choices. Using Ollama requires the Ollama application and selected models to be installed separately. The generated knowledge is based on the indexed repository state; run ingestion again when the codebase changes.

The system stores its indexes, graph, embeddings, wiki data, and state in local SQLite-backed files. The material does not document hosted deployment, authentication, or remote repository synchronization for the MCP server. Anthropic cannot be used alone for embeddings according to the provider notes, so it must be paired with a supported embedding provider.

_Full upstream README: https://allmcps.com/mcp/deeprepo/readme_

