codeloom MCP server
2026년 10월 22일 커밋코드베이스로부터 쿼리 가능한 코드 그래프를 구축하여 AI agent에게 시맨틱 검색, 의존성 분석 및 구조적 이해 능력을 제공합니다.
다른 이름 algodesigner/codeloom
- 스타
- 2
- Tools
- 16
- 다운로드, 30일
- —
- 최신 버전
- —
- 마지막 커밋
- 2026년 10월 22일
- 라이선스
- MIT
codeloom MCP란?
codeloom은(는) MCP server입니다. 코드베이스로부터 쿼리 가능한 코드 그래프를 구축하여 AI agent에게 시맨틱 검색, 의존성 분석 및 구조적 이해 능력을 제공합니다. 16개 도구를 제공합니다. 예: search, search_keyword, search_vector.
프로젝트 README에서 생성된 요약
codeloom MCP server 정보
Codeloom은 쿼리 가능한 코드 그래프를 구축하여 AI 코딩 agent에게 코드베이스에 대한 깊은 구조적 이해를 제공합니다. 단순한 텍스트 검색에 의존하는 대신, 57가지의 다양한 언어와 형식을 지원하며 함수, 클래스, import, 호출 관계를 추출합니다. 이를 통해 agent는 단순히 일치하는 문자열을 찾는 것을 넘어 프로젝트의 서로 다른 부분들이 어떻게 연결되어 있는지 이해할 수 있습니다.
이 MCP server는 Python 3.10+를 사용하여 로컬에서 완전히 실행되며, API key나 클라우드 서비스가 필요하지 않습니다. SQLite, FAISS, sentence-transformers를 사용하여 로컬 머신에서 데이터를 관리합니다. 개발자는 간단한 설치 명령어를 통해 Claude Code, Cursor, Aider와 같은 다양한 클라이언트에 이를 통합할 수 있습니다. 설정이 완료되면 세션이 종료될 때 그래프를 자동으로 재구축하여 정보가 항상 최신 상태를 유지하도록 합니다.
MCP 인터페이스를 통해 이 server는 복잡한 작업을 위한 특화된 도구를 제공합니다. HybridRAG 및 벡터 검색과 같은 검색 기능뿐만 아니라, 호출자 찾기, 의존성 추적, 실행 흐름 추적과 같은 영향 분석 도구를 포함합니다. 또한 안전한 다중 파일 이름 변경 및 시각화를 위한 서브그래프 내보내기와 같은 리팩터링 작업도 지원합니다.
활용 사례
- 1코드 영향 분석특정 함수를 변경할 때 코드베이스의 어느 부분이 영향을 받는지 확인합니다.
- 2시맨틱 검색 수행정확한 키워드 일치가 아닌 개념적 유사성을 기반으로 코드를 찾습니다.
- 3실행 경로 추적호출 체인을 따라가며 시스템 내에서 데이터나 로직이 어떻게 흐르는지 이해합니다.
- 4안전한 리팩터링 실행심볼에 대한 모든 참조를 식별하여 여러 파일의 이름을 안전하게 변경합니다.
프로젝트의 README를 바탕으로 작성되었습니다. 모든 활용 사례는 해당 내용의 인용문과 대조하여 확인합니다.
codeloom MCP 도구 16
README에서 감지됨searchsearch_keywordsearch_vectorimpactdependenciescontextdetect_changesexplain_flowstatscommunitiesnoderename
| search | — | |
| search_keyword | — | |
| search_vector | — | |
| impact | — | |
| dependencies | — | |
| context | — | |
| detect_changes | — | |
| explain_flow | — | |
| stats | — | |
| communities | — | |
| node | — | |
| rename | — |
도구 16개 모두 보기도구 수 줄이기
export_subgraphlist_reposbuildwatch
| export_subgraph | — | |
| list_repos | — | |
| build | — | |
| watch | — |
자동 검사
2026년 11월 14일에 실행됨전체 보고서 →아직 인증되지 않았습니다. 서버는 80점 이상의 점수, 심각한 결함 없음, 그리고 검사에 충분한 데이터를 갖추어야 합니다. 검사 방식 · 점수를 높이기 위해 수정할 항목
- 소스 저장소 연결 및 접근 가능algodesigner/codeloom is public and reachablegithub.com/algodesigner/codeloom ↗통과
- 패키지가 이 저장소를 소스로 명시검사되지 않음
- 빌드 출처(Sigstore 증명)검사되지 않음
- 오픈 소스 라이선스 (OSI)MITspdx.org/licenses/MIT.html ↗통과
- 최근 1년 내 커밋 또는 릴리스Last commit or release 2026-10-22github.com/algodesigner/codeloom ↗통과
- OpenSSF Scorecard검사되지 않음
- 패키지 이름이 인기 패키지와 유사하지 않음검사되지 않음
- 패키지 및 해당 종속성에 중요한 보안 권고 없음검사되지 않음
- 모델에 대한 숨겨진 지침 없음16 tool descriptions and the README read; no override phrases, credential paths or hidden characters통과
- 파괴적인 도구에 라벨 표시됨No tool named like delete, drop or exec통과
- 원격 엔드포인트가 MCP 핸드셰이크에 응답검사되지 않음
README
GitHub에서 보기AI coding agents are powerful but fundamentally blind to your codebase structure. When your agent edits validate_token(), it has no idea that 47 callers depend on its return type. When it searches for "database connection", it greps blindly through every file. Without a code graph, your agent works like a surgeon operating without an X-ray, skilled but guessing at what's inside.
codeloom builds a queryable code graph from your entire codebase — extracting structure from 57 languages and formats, every function, class, import, call, and document — and exposes it to your AI agent. One install, and your agent stops grepping and starts understanding.
Quick Start
pip install codeloom
cd your-project/
codeloom install opencode # for OpenCode
# or: codeloom install claude # for Claude Code
Then tell your agent:
"Build a code graph for this project"
That's it. The graph auto-rebuilds when your session ends. No extra tokens, no extra commands, everything runs 100% locally.
What Changes
| Before (grep) | After (codeloom) |
|---|---|
| Finds exact strings, misses semantic connections | Finds conceptually related code via vector + keyword + graph |
| Returns a flat list of file matches | Returns seeds plus a subgraph showing how they connect |
| No way to know what depends on what | codeloom impact "validate_token", finds all 47 callers instantly |
| Agent operates blind, guesses at relationships | Agent sees the full picture before making edits |
Every search returns results like this:
seeds:
codeloom/core/pipeline.py:71
│ def run_pipeline(source_dir: Path, ...) -> PipelineResult:
│ """Run the full code graph build pipeline."""
storage/store.py:20
│ class KnowledgeStore:
edges:
codeloom/core/pipeline.py:71 -calls-> storage/store.py:20
codeloom/core/pipeline.py:0 -defines-> codeloom/core/pipeline.py:71
Seeds tell you where relevant code lives. Edges tell you how it connects. Together they give your agent the full picture, no separate Read calls needed.
16 MCP Tools at a Glance
Three categories, one MCP server.
Search
| Tool | What it does |
|---|---|
search |
5-signal HybridRAG, vector + keyword + graph + community fused into one ranking |
search_keyword |
FTS5 keyword-only (BM25), instant results for known names |
search_vector |
Semantic vector-only, finds conceptually similar code |
Analysis
| Tool | What it does |
|---|---|
impact |
Blast radius, every caller that depends on a symbol |
dependencies |
Upstream deps, what a symbol needs to function |
context |
360-degree view of a symbol, metadata, community, all edges, source snippet |
detect_changes |
Map unstaged git changes to affected graph nodes |
explain_flow |
Trace execution path through call chains |
stats |
Node/edge counts, kind distribution, god nodes |
communities |
Browse functional clusters (Leiden communities) |
node |
Details on a specific symbol with fuzzy name matching |
Refactoring & Admin
| Tool | What it does |
|---|---|
rename |
Find every location and reference for safe multi-file rename |
export_subgraph |
Export focused subgraph around a symbol as D3.js JSON |
list_repos |
List available code graphs with staleness status |
build |
Build or rebuild the code graph |
watch |
Watch files for changes and rebuild automatically |
All tools are available via MCP (stdin/stdout), no HTTP server, no network, no configuration.
Languages & Formats
Structural extraction (functions, classes, calls, imports)
Full tree-sitter tags.scm-based resolution for 19+ core languages. All 58 languages get module-level indexing, source snippets, and embeddings — structural detail depends on optional tree-sitter-<lang> packages.
| Ada | C | C# | C++ | Common Lisp | Elixir | Fortran | Go |
| Groovy | Haskell | Java | JavaScript | Julia | Kotlin | Lua | Nix |
| Objective-C | OCaml | Perl | PHP | PowerShell | Python | R | Ruby |
| Rust | Scala | Shell | Solidity | Swift | Terraform | TypeScript | Zig |
| Assembly |
Document & config extraction
| CMake | CSV | CSS | DjVu | Dockerfile | DOCX |
| GraphQL | HCL | HTML | JSON | Make | Markdown |
| ODP | ODS | ODT | Org | RST | |
| SQL | TOML | XLSX | XML | YAML |
Plus 100+ natural languages for search queries via multilingual-e5-small embeddings. Search in any language, find results in any language.
AI Agent Integrations
One command per platform:
| Agent | Install |
|---|---|
| Claude Code | codeloom install claude |
| OpenCode | codeloom install opencode |
| Codex CLI | codeloom install codex |
| Gemini CLI | codeloom install gemini |
| Cursor IDE | codeloom install cursor |
| Windsurf IDE | codeloom install windsurf |
| Cline | codeloom install cline |
| Aider CLI | codeloom install aider |
| Any MCP client | claude mcp add codeloom -- codeloom mcp |
Each install writes context rules and registers hooks where supported. For OpenCode, it installs a skill, adds context rules to AGENTS.md, and registers the codeloom MCP server. Remove with codeloom uninstall <agent>.
Features
Search Before Grepping
5-signal HybridRAG fuses code vector search, text vector search, graph expansion, FTS5 keyword, and community signals into one ranked result set with subgraph edges. --kind, --file, and --include-tests filters narrow results without re-running.
Edit With Confidence
Run impact before editing to find every caller. Run context for a full symbol overview, community, all relationships, source snippet. Run detect_changes after edits to see which nodes are affected.
Auto-Rebuild
Stop/SessionEnd hooks detect changed files via git diff and trigger an incremental rebuild. Lock files prevent concurrent rebuilds. Zero manual intervention, the graph stays fresh after every session.
Incremental & Fast
SHA-256 content hashing skips unchanged files. Hot-start PageRank reuses previous importance scores. Parallel extraction (ProcessPoolExecutor) speeds up full builds by 24-64%. Typical incremental build: ~0.4s for no changes, ~4s for changes, 95%+ faster than a full rebuild. Model warmup (--warmup, default on) preloads embedding models on MCP server start so the first search is fast — disable with --no-warmup to save ~150MB RAM.
100% Local + MIT
No cloud services, no API keys, no telemetry. SQLite + FAISS for storage, sentence-transformers for embeddings. All data stays on your machine. MIT licence, no commercial restrictions, no licensing friction.
Performance
Benchmarks on a 2023 MacBook Pro (M2 Pro, 32GB RAM). All builds use
parallel extraction (default: os.cpu_count() workers).
codeloom's own codebase (~3,500 lines, 90 files, 1,300 nodes)
| Operation | Time |
|---|---|
| Full build | ~14s |
| Incremental (changes) | ~4s |
| Incremental (no changes) | ~0.4s |
| Cold search (dual model) | ~2.8s |
Cold search (--fast) |
~0.2s |
| Warm search | ~0.08s |
| Cached search | <1ms |
Synthetic stress tests (no embeddings)
| Dataset | Files | Nodes | Build Time | Peak Memory |
|---|---|---|---|---|
| Tiny | 10 | 119 | 0.7s | 14 MB |
| Small | 100 | 4,109 | 2.3s | 16 MB |
| Medium | 1,000 | 101,009 | 53.1s | 393 MB |
| Large | 5,000 | 205,009 | 164.9s | 814 MB |
Parallel extraction delivers 24-64% faster builds. Compact node storage
(path interning, skipped empty attrs, RAM-free source snippets after
persist) reduces peak memory by 10-22%. See docs/SCALING.md for
detailed analysis.
- Embedding models: ~180MB, downloaded once to
~/.codeloom/models/ - Database: ~2MB (SQLite + FTS5 + FAISS indices)
Full CLI Reference
All commands output compact text by default (designed for AI agent consumption).
CLI Commands
| Command | Description |
|---|---|
build <dir> |
Build code graph (--incremental, --git) |
watch <dir> |
Real-time file system monitor |
search <query> |
5-signal HybridRAG with subgraph + snippets |
search-keyword <query> |
FTS5 keyword matching only |
search-vector <query> |
Vector similarity only |
search-graph <query> |
Graph expansion only (BFS from vector seeds) |
search-community <query> |
Community cluster matching only |
stats |
Graph statistics |
node <id> |
Node details with fuzzy matching |
communities |
List or search communities |
query |
Interactive search REPL |
export |
Export as JSON, GraphML, or D3.js |
visualize |
Interactive HTML visualization |
install [agent] |
Install codeloom integration for AI agents |
uninstall [agent] |
Remove codeloom integration for AI agents |
doctor |
Check installation health |
clean |
Remove .codeloom/ database |
mcp |
Start MCP server |
help [command] |
Show categorised help with usage examples |
MCP-Only Tools
These are available via codeloom mcp — see the MCP tools section above:
impact · dependencies · context · detect_changes · rename · explain_flow · export_subgraph · list_repos
Requirements
- Python 3.10+
- ~180MB disk for embedding models (cached on first use)
# Optional: PDF, DOCX, XLSX, ODF extraction
pip install codeloom[docs]
Development
pip install -e ".[dev]"
pytest
ruff check codeloom/
License
MIT License. See LICENSE for details.
Contributing
Contributions are welcome! See CONTRIBUTING.md for guidelines.
codeloom MCP 질문
codeloom MCP는 어떤 도구를 제공하나요?
16개 도구를 제공합니다. 예: search, search_keyword, search_vector, impact, dependencies.
리팩터링에 어떻게 도움이 되나요?
변경 사항의 영향을 파악하고, 실행 흐름을 추적하며, 안전하게 여러 파일을 동시에 이름을 변경할 수 있는 도구를 제공합니다.