Code RAG

•
5
•

Perform understanding-based code searches across your codebase, replacing traditional text-based search tools with semantic capabilities.

Code RAG is an MCP (Model Context Protocol) server designed to revolutionize how developers search their code. By leveraging semantic search capabilities powered by local embedding models (via LM Studio), it enables finding code based on conceptual understanding rather than exact text matches. It integrates seamlessly with popular developer environments like Claude Code and Zed, offers multi-language support for a wide range of programming languages, and provides a fast, efficient in-memory indexing system with Qdrant.

主要功能

01Multi-language Support: Indexes Go, Python, JS/TS, Terraform, YAML, and more.
024 GitHub stars
03Semantic Search: Find code by concept, not just by text patterns.
04MCP Integration: Compatible with Claude Code and Zed for enhanced AI-assisted development.
05HTTP API: Facilitates automatic re-indexing via Git hooks and offers programmatic access.
06Local Embeddings: Utilizes LM Studio for on-device embeddings, no external API required.

使用案例

01Identifying similar code snippets or understanding code context and dependencies for explanations.
02Replacing traditional text search (grep/ripgrep) with concept-based code discovery.
03Finding specific code patterns or functionalities (e.g., 'authentication middleware') across large codebases.