Semcode

•
9
•

Provides hybrid semantic search over code across GitHub repositories by indexing code symbols and commit history with dense and sparse embeddings.

Semcode offers a robust Model Context Protocol (MCP) server for hybrid semantic search across your GitHub repositories. It intelligently leverages Tree-sitter to parse code symbols and git commit history, generating both dense semantic embeddings and sparse BM25 vectors. This innovative hybrid retrieval system, utilizing Reciprocal Rank Fusion, effectively balances deep semantic understanding with keyword precision, ensuring highly accurate results for both natural language queries and exact symbol lookups. With support for a wide array of programming languages and incremental indexing, Semcode delivers powerful code context to AI clients through its MCP and HTTP APIs.

주요 기능

01Hybrid semantic search combining dense embeddings with sparse BM25 vectors
02Indexes code symbols across 20+ programming languages using Tree-sitter
03Supports indexing of Git commit history and full diffs for contextual search
04Incremental indexing with automatic change detection and cleanup
05Pluggable embedding providers including Jina, Voyage, OpenAI, and Ollama
060 GitHub stars

사용 사례

01Enhancing AI client capabilities with deep code context and search
02Enabling natural language queries for code discovery and understanding
03Automating architectural overviews and system design documentation