About Semble
Semble is an MCP server published by MinishLab in the RAG category: fast and Accurate Code Search for Agents. Uses 99% fewer tokens than grep+read. Conduid read 2 tools from its source: find_related and search. It is published to PyPI as semble and runs with uvx.
The repository has 6.5K stars and 297 forks, is licensed MIT, and its last commit was on 28 Nov 2026. The latest release is v0.7.3 (8 Nov 2026). It follows v0.7.2 (3 Nov 2026), and the 5 most recent releases go back to v0.6.2 (5 Oct 2026). It passes all 5 static checks Conduid ran on the repository. Its topics include code-search, embeddings and retrieval.
Install
uvx semblepip install semblegit clone https://github.com/MinishLab/sembleTools (2)
find_relatedGiven a file path and line number, return chunks semantically similar to the code at that location.| Parameter | Type | Description |
|---|---|---|
| content | any | Content containing the related file. Defaults to the MCP server configuration. |
| file_path * | string | Path to the file as stored in the index (use file_path from a search result). |
| line * | integer | Line number (1-indexed). |
| max_snippet_lines | integer | Lines of source per result. Default 10 = signature + first body lines. 0 = location only. None = full chunk. |
| repo * | any | |
| top_k | integer | Number of similar chunks to return. |
searchSearch a codebase with a natural-language or code query. Pass `repo` as a local path or an https:// git URL (or a list of them to search several repos together) and `content` as `code`, `docs`, `config`, or `all` (default: `code`).| Parameter | Type | Description |
|---|---|---|
| content | any | Content to search. Defaults to the MCP server's configured content. |
| max_snippet_lines | integer | Lines of source to include per result. Default (10): function/class signature + first body lines, enough to confirm the location. 0: file path and line range only. None: full chunk (~10-20 lines). If the snippet does not contain enough context to confirm you have the right location, call again with max_snippet_lines=None. |
| query * | string | Natural language or code query. |
| repo * | any | |
| top_k | integer | Number of results to return. |
Security checks
Static checks derived from the repository 7 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 2.2K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by uv.lock.
- ✓No dynamic code executionScanned 29 source files and found no eval, dynamic Function or shell execution.
1 check has not been run yet.
What the source scan found
- Transport
- stdio and Streamable HTTPsrc/semble/mcp.py:198, src/semble/mcp.py:200
- Starts other programs
- 1 callsrc/semble/index/index.py:250
- Outbound network calls
- No outbound network calls
- Writes or deletes files
- 13 callssrc/semble/cli.py:253, src/semble/index/index.py:394, src/semble/index/index.py:406
- Lockfile
- uv.lock
Pattern matches on the source text of 29 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 2.2K words, fetched 7 days ago. The original in the repository is authoritative.
Read full README