MCP & integrations/GitHub/MCP
semble
by MinishLab·Last observed 2026-10-27
★ 6,307 stars⑂ 282 forks
Semble is a code-search library for agents, also exposed as a CLI and MCP server. It splits code into syntax-aware chunks, combines semantic embedding matches with BM25 identifier matches, then reranks results so an agent can retrieve relevant snippets from one or more repositories.
Useful for
- Ask “How is authentication handled?” across a local repository and receive the relevant code snippets without reading whole files.
Key features
- Searches code with natural-language or code queries and returns matching file snippets with paths and line ranges.
- Can index local directories, remote Git repositories, or merged repositories; cached indexes update incrementally when files change.
- Combines semantic embeddings and BM25 lexical retrieval, then applies code-aware reranking signals.
Requirements & limitations
- The first use downloads and caches the embedding model from Hugging Face, so that initial setup requires network access.
- Files larger than 1 MB are skipped by default during indexing; the limit can be changed with `SEMBLE_MAX_FILE_BYTES`.
Discussion
No comments yet.
Sign in with Google to comment. Browsing is open to everyone.