Deeprepo MCP Server

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

Local serverstdioPython

What is the Deeprepo MCP server?

Connect Deeprepo to Claude, Cursor or any other MCP client and it stops being a tab you switch to. Productivity-boosting RAG engine for codebases with multi-provider AI support and semantic search. The deeprepo mcp server is what makes that connection.

What the server does

A production-grade Python library for performing RAG (Retrieval Augmented Generation) on local codebases. No heavy frameworks, no external vector DBs, no cloud required.

Installation

The server ships on PyPI as deeprepo, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • ingest_codebase — One-time setup — index a repo directory
  • find_symbol — "Where is X defined / what line is X on"
  • get_file_structure — "Show me the API / functions in X"
  • explain_file — "How does X work / explain X / what does X do"
  • find_change_impact — "What breaks if I change X"
  • ask_codebase — Any open-ended question about the code
  • get_project_overview — "Give me an overview / what does this project do"
  • Examples — The Examples tool exposed by this server
  • Storage — Everything lives in a single SQLite file per branch — no Redis, no Postgres, no Chroma
  • Setup — The Setup tool exposed by this server

Credentials and setup notes

Configuration is passed through the environment: LLM_PROVIDER, EMBEDDING_PROVIDER, OPENAI_API_KEY, ANTHROPIC_API_KEY, GEMINI_API_KEY, HUGGINGFACE_API_KEY, OLLAMA_BASE_URL. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 10 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Deeprepo.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Where it fits

Plenty of database access servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Deeprepo's toolset — ingest_codebase, find_symbol, get_file_structure and 7 more — is a fair guide to whether it matches your workflow. It is maintained by abhishek2432001; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Available tools

ToolWhat it does
ingest_codebaseOne-time setup — index a repo directory
find_symbol"Where is X defined / what line is X on"
get_file_structure"Show me the API / functions in X"
explain_file"How does X work / explain X / what does X do"
find_change_impact"What breaks if I change X"
ask_codebaseAny open-ended question about the code
get_project_overview"Give me an overview / what does this project do"
ExamplesThe Examples tool exposed by this server.
StorageEverything lives in a **single SQLite file per branch** — no Redis, no Postgres, no Chroma.
SetupThe Setup tool exposed by this server.

How to install the Deeprepo MCP server

{
  "mcpServers": {
    "deeprepo": {
      "command": "uvx",
      "args": ["deeprepo"],
      "env": {
        "LLM_PROVIDER": "your-value",
        "EMBEDDING_PROVIDER": "your-value",
        "OPENAI_API_KEY": "your-value",
        "ANTHROPIC_API_KEY": "your-value",
        "GEMINI_API_KEY": "your-value",
        "HUGGINGFACE_API_KEY": "your-value",
        "OLLAMA_BASE_URL": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
LLM_PROVIDERConfiguration value read at startup.Optional
EMBEDDING_PROVIDERConfiguration value read at startup.Optional
OPENAI_API_KEYCredential the server authenticates with.Yes
ANTHROPIC_API_KEYCredential the server authenticates with.Yes
GEMINI_API_KEYCredential the server authenticates with.Yes
HUGGINGFACE_API_KEYCredential the server authenticates with.Yes
OLLAMA_BASE_URLEndpoint or connection string the server talks to.Yes

Example prompts to try

  • Use Deeprepo to ingest codebase.
  • Use Deeprepo to find symbol.
  • Use Deeprepo to get file structure.

Frequently asked questions

It connects Deeprepo to MCP-compatible AI assistants such as Claude and Cursor, exposing 10 tools (ingest_codebase, find_symbol, get_file_structure, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Deeprepo directly.