프로토타입 · 미리 보기: 공식 레지스트리의 모든 서버를 담고 있으며 30분마다 동기화해요. 리뷰와 계정 기능은 다음 단계에서 열려요.
PopNx MCPAI를 쓰는 사람을 위한 MCP 서버 · 쉬운 말로 설명해요

Deeprepo

제작자: abhishek2432001버전 1.0.0i★ –i–
레지스트리 이름io.github.abhishek2432001/deeprepo

설치

개요

제작자가 쓴 설명(영어 원문)

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

PopNx MCP의 세 기둥

이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.

할 수 있는 일

이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.

  • 연결 방식: –
  • 전송 방식:
  • 카테고리: 검색 및 AI 기억

설치

쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.

설치하기 전에

  • 기본 점검: 1개 중 1개 통과
  • 내 컴퓨터에서 내 사용자 계정의 권한(파일, 네트워크, 앱)으로 실행돼요.
  • 레지스트리에 입력해야 할 키가 나와 있지 않아요.

제작자가 레지스트리에 설치 정보를 올리지 않았어요. 아래 제작자의 README를 확인하세요.

할 수 있는 일

내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.

기본 점검i

누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 8일 점검

  • ✓ 통과

    제작자와 저장소 일치

    레지스트리 이름이 GitHub 계정 abhishek2432001 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요

  • … 아직 점검 안 함

    계속 관리되고 있음

    아직 GitHub에서 이 저장소를 읽어 오지 않았어요

  • … 아직 점검 안 함

    라이선스 있음

    아직 GitHub에서 이 저장소를 읽어 오지 않았어요

  • – 해당 없음

    엔드포인트 응답

    내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요

  • – 해당 없음

    OAuth로 로그인

    내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요

  • … 아직 점검 안 함

    도구 설명에 숨겨진 지시 없음

    내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요

검색 및 AI 기억 카테고리의 다른 서버와 비교i

  • 이 카테고리의 다른 서버 5689개 중 0%보다 스타가 많아요
  • 이 카테고리의 다른 서버 5689개 중 2%보다 최근에 레지스트리에 공개됐어요
  • 기본 점검 결과가 이 카테고리의 다른 서버 5689개 중 100%와 같거나 더 좋아요

레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.

자주 묻는 질문

Deeprepo, 안전한가요?

해당하는 기본 점검 1개 중 1개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.

어떤 키나 코드가 필요한가요?

레지스트리에 필수 키가 나와 있지 않아요. 다만 처음 쓸 때 로그인을 요구하는 서버도 있어요.

내 컴퓨터에서 실행되나요, 클라우드에서 실행되나요?

내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).

아직 관리되고 있나요?

GitHub 저장소는 마지막으로 – 변경됐고, 최신 버전(1.0.0)은 10개월 전 레지스트리에 올라왔어요.

어떤 앱에서 쓸 수 있나요?

Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요.

대신 쓸 수 있는 건 뭐가 있나요?

같은 카테고리에는: Context7, Codebase Memory, Exa

대안

같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.

카드 보는 법:↓ 주간 다운로드i★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i

Context7

Up-to-date docs for AI agents

제작자: upstash널리 사용됨↓ 97.3만/주★ 6.4만그저께 업데이트

컴퓨터 또는 클라우드

Codebase Memory

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

제작자: DeusData널리 사용됨↓ 1.8만/주★ 4.8만22일 전 업데이트

내 컴퓨터에서 실행

Exa

Connect AI agents to Exa for web search, content fetching, and multi-step research.

제작자: exa-labs성장 중★ 5.2천2개월 전 업데이트

클라우드에서 실행✓ exa.ai

제작자의 README

README 열기

제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.

DeepRepo — Local RAG Engine for Codebases

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

What It Does

DeepRepo ingests a codebase and builds three things simultaneously:

LayerWhat it storesUsed for
Code Knowledge GraphClasses, functions, imports, call edges (SQLite)Symbol lookup, blast-radius analysis
Embeddings + FTS indexSemantic vectors + full-text searchRelevant code retrieval
Hierarchical WikiPlain-English .md files per moduleAI explanations, chat context

A smart query router classifies every question and picks the cheapest context strategy, reducing LLM token usage by 5–50x compared to naive RAG.


Features

  • Zero dependencies on heavy frameworks — pure Python, SQLite-backed
  • Multiple AI providers — Ollama (free/local), OpenAI, Anthropic, Gemini, HuggingFace
  • CLI-first — deeprepo ingest . / deeprepo serve / deeprepo query "…"
  • Wiki viewer — browsable, searchable HTML wiki with in-page chat (deeprepo serve)
  • 7 focused MCP tools — drop DeepRepo into Cursor / Claude Desktop as an MCP server
  • Branch isolation — per-branch SQLite databases with copy-on-write from base branches
  • 3-tier retrieval — Embeddings → FTS → Graph fallback for resilient search
  • Incremental ingestion — unchanged files are skipped; only deltas re-processed

Quick Start

1. Install
cd deeprepo_core

pip install -e .

For MCP server support:

pip install -e ".[mcp]"
2. Install Ollama (free, local — recommended)
# macOS

brew install ollama ollama serve # keep this running

ollama pull nomic-embed-text # embedding model ollama pull llama3.1:8b # LLM

3. Ingest your codebase
cd /path/to/your/project

deeprepo ingest .

4. Browse the wiki
deeprepo serve                        # opens http://localhost:8080
5. Ask questions
deeprepo query "how does authentication work?"

deeprepo query "what breaks if I change auth.py?"


CLI Reference

deeprepo <command> [options]
CommandWhat it does
deeprepo initDetect provider setup, print the ingest command
deeprepo ingest [PATH]Scan repo → build graph + wiki + embeddings
deeprepo wiki [PATH]Regenerate wiki pages only (skip re-indexing)
deeprepo serveLaunch wiki viewer + in-page chat at port 8080
deeprepo query "QUESTION"Ask a question, get an AI answer
deeprepo statusShow branch isolation & cache freshness
Common flags (all commands)
--llm ollama|openai|anthropic|gemini|huggingface   # LLM provider

--embed ollama|openai|huggingface # embedding provider (default: same as --llm) --branch-isolation # enable per-branch databases --base-branch main # seed feature-branch cache from main --wiki-dir .deeprepo/wiki # override wiki output directory

ingest flags
--chunk-size N      # chars per text chunk (default: 1000)

--overlap N # overlap between chunks (default: 100) --workers N # wiki parallel workers (default: 3) --no-wiki # skip wiki generation

serve flags
--port N            # HTTP port (default: 8080)
Examples
# Ollama (free, fully local)

deeprepo ingest .

OpenAI embeddings + Anthropic LLM

deeprepo ingest . --embed openai --llm anthropic

Branch isolation for a feature branch

deeprepo ingest . --branch-isolation --base-branch main

Serve wiki with chat on a custom port

deeprepo serve --llm openai --port 9000

Query with specific top-k results

deeprepo query "where is AuthService defined?" --top-k 3


Python API

from deeprepo import DeepRepoClient

Single provider (backward-compatible shorthand)

client = DeepRepoClient(provider_name="ollama")

Split providers — Anthropic LLM + OpenAI embeddings

client = DeepRepoClient( embedding_provider_name="openai", llm_provider_name="anthropic", )

Branch isolation (team workflow)

client = DeepRepoClient( provider_name="ollama", branch_isolation=True, base_branches=["main"], )

Ingest (incremental — unchanged files are skipped)

result = client.ingest("/path/to/your/code") print(f"Files: {result['files_scanned']}, Wiki pages: {result['wiki_generated']}")

Query — smart routing selects the cheapest context strategy

response = client.query("How does authentication work?") print(response['answer']) print(f"Intent: {response['intent']}, Strategy: {response['strategy']}") print(f"Sources: {response['sources']}") # list of file paths

Browse the generated wiki

print(f"Wiki at: {client.get_wiki_dir()}")

query() return shape
{

"answer": str, # LLM-generated answer "sources": list[str], # file paths used as context "intent": str, # navigate | impact | explain | debug | review | general "strategy": str, # e.g. symbol_lookup, blast_radius, wiki_plus_skeleton, … "retrieval": str, # embeddings | fts | graph "token_estimate": int, # estimated tokens consumed "history": list[dict], # conversation history (last N exchanges) }


Supported AI Providers

ProviderCostSetupBest For
OllamaFREE, unlimitedInstall app + ollama pullLocal dev, privacy, offline
OpenAIPaidOPENAI_API_KEYProduction, best quality
AnthropicPaidANTHROPIC_API_KEYProduction, excellent reasoning
GeminiFree tierGEMINI_API_KEYExperimentation
HuggingFaceFree tierHUGGINGFACE_API_KEYCloud embeddings, no GPU needed

Note: Anthropic has no embeddings API. Pair it with another provider:

`python

client = DeepRepoClient(embedding_provider_name="openai", llm_provider_name="anthropic")

`


Architecture

deeprepo_core/src/deeprepo/

├── client.py # Main facade — branch isolation, freshness, provider wiring ├── graph.py # SQLite store: graph nodes/edges, embeddings, wiki index, state ├── graph_builder.py # Tree-sitter AST parser → code knowledge graph ├── wiki.py # Hierarchical wiki engine — bottom-up LLM synthesis ├── router.py # Intent classifier + 6 context strategy selectors ├── ingestion.py # File scanner, chunker, language detection ├── interfaces.py # Abstract base classes (EmbeddingProvider, LLMProvider) ├── registry.py # @register_embedding / @register_llm decorator system ├── ui.py # Wiki viewer (HTTP server + mermaid renderer + chat) ├── mcp/ │ └── server.py # 7 MCP tools for AI assistants (Cursor, Claude Desktop) └── providers/ ├── ollama_v.py ├── openai_v.py ├── anthropic_v.py ├── gemini_v.py └── huggingface_v.py

.deeprepo/ # Generated (gitignore this) ├── default.db # SQLite: graph + embeddings + wiki index + state ├── .db # Per-branch database when branch_isolation=True └── wiki/ # Browsable .md wiki files ├── overview.md # Whole-repo narrative overview └── *.md # One page per module

Storage

Everything lives in a single SQLite file per branch — no Redis, no Postgres, no Chroma.

TableContents
nodesFiles, classes, functions with metadata
edgesImport / call relationships between nodes
embeddingsFloat vectors for semantic search
wiki_pagesGenerated wiki markdown (key → content)
wiki_ftsFull-text search index over wiki
statePer-file SHA-256 hashes for incremental updates
Design Patterns
  • Facade — DeepRepoClient is the single entry point; internals are hidden
  • Strategy — LLMProvider / EmbeddingProvider abstract interfaces; providers are swappable
  • Registry — @register_llm("ollama") decorator auto-registers providers at import time
  • Bottom-up synthesis — wiki pages generated leaves-first; parent pages consume child summaries
  • 3-tier fallback — Embeddings → FTS → Graph; queries work even when embeddings are cold
  • Copy-on-write branching — feature branches start from base-branch cache, then delta-update

MCP Server (AI Assistant Integration)

Connect DeepRepo as an MCP server so Cursor, Claude Desktop, or any MCP-compatible AI assistant can call it directly — without ever reading raw files.

Setup
pip install deeprepo[mcp]

Cursor — create ~/.cursor/mcp.json:

{

"mcpServers": { "deeprepo": { "command": "python", "args": ["-m", "deeprepo.mcp.server"], "env": { "LLM_PROVIDER": "ollama" } } } }

Claude Desktop — add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{

"mcpServers": { "deeprepo": { "command": "deeprepo-mcp", "env": { "EMBEDDING_PROVIDER": "openai", "LLM_PROVIDER": "anthropic", "OPENAI_API_KEY": "sk-...", "ANTHROPIC_API_KEY": "sk-ant-..." } } } }

Available MCP Tools (7 tools)
ToolWhen to useToken cost
ingest_codebaseOne-time setup — index a repo directory—
find_symbol"Where is X defined / what line is X on"~50 tokens
get_file_structure"Show me the API / functions in X"~150 tokens
explain_file"How does X work / explain X / what does X do"~300 tokens
find_change_impact"What breaks if I change X"~300 tokens
ask_codebaseAny open-ended question about the code~600–2000 tokens
get_project_overview"Give me an overview / what does this project do"~600 tokens
Token Reduction vs Naive RAG
Query typeNaive RAGDeepRepoReduction
"where is X defined"~4 000 tokens~80 tokens50x
"what breaks if I change X"~4 000 tokens~300 tokens13x
"how does X work"~4 000 tokens~600 tokens7x
"fix the bug in X"~4 000 tokens~900 tokens4x
CLAUDE.md tip

Add this to your project's CLAUDE.md so Claude automatically uses DeepRepo:

## Code navigation

Before reading any source file directly, use these MCP tools:

  • find_symbol(name) to locate a class or function
  • get_file_structure(filepath) to see a file's API without reading it
  • explain_file(filepath) to understand what a file does
  • find_change_impact(filepath) before editing any file
  • ask_codebase(question) for open-ended questions
  • get_project_overview() at the start of a new session

Only call Read/Grep on a file after the above tools have been tried.


Configuration

Environment Variables
VariableDefaultDescription
LLM_PROVIDERopenaiLLM provider name
EMBEDDING_PROVIDERsame as LLM_PROVIDEREmbedding provider name
OPENAI_API_KEY—Required for OpenAI
ANTHROPIC_API_KEY—Required for Anthropic
GEMINI_API_KEY—Required for Gemini
HUGGINGFACE_API_KEY / HF_TOKEN—Required for HuggingFace
OLLAMA_MODELllama3.1:8bOllama LLM model name
OLLAMA_EMBED_MODELnomic-embed-textOllama embedding model
OLLAMA_BASE_URLhttp://localhost:11434Ollama server URL
OLLAMA_TIMEOUT300LLM response timeout (seconds)

Testing

# Full end-to-end test suite (runs ingest + all checks)

python3 test_deeprepo_flow.py

Skip ingest, use cached index (faster iteration)

앞부분만 보여 드려요. 나머지는 저장소에서 읽어 보세요

PopNx에게 묻기