
semble
by MinishLab·★ 823·Score 54
High-performance code search library that runs as an MCP server with 98% fewer tokens than grep+read.
Overview
Semble is a fast and accurate code search library designed specifically for AI agents. It returns the exact code snippets needed instantly, using significantly fewer tokens than traditional grep+read approaches. The solution indexes and searches a full codebase in under a second, with ~200x faster indexing and ~10x faster queries than code-specialized transformer models, while maintaining 99% of retrieval quality. Everything runs on CPU with no API keys, GPU, or external services required.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose Semble when you need fast, accurate code search for AI agents with minimal token usage, especially for large codebases where traditional grep approaches are inefficient.
When NOT to choose this
Don't choose Semble if you need exhaustive literal text searches, require very recent features from a project with only a few months of active development, or need write access to code (it's read-only).
Tools this server exposes
2 tools extracted from the READMEsearchSearch a codebase with a natural-language or code query.
find_relatedGiven a file path and line number, return chunks semantically similar to the code at that location.
Comparable tools
Installation
Installation
- Install Semble:
pip install semble[mcp]
# or
uv tool install semble- Add to Claude Desktop:
{
"mcpServers": {
"semble": {
"command": "uvx",
"args": ["--from", "semble[mcp]", "semblable"]
}
}
}- Add to Codex config (
~/.codex/config.toml):
[mcp_servers.semble]
command = "uvx"
args = ["--from", "semblable[mcp]", "semblable"]FAQ
- How does Semble compare to traditional grep+read?
- Semble uses approximately 98% fewer tokens than grep+read by returning only the relevant code chunks rather than entire files.
- What agents support Semble as an MCP server?
- Semble works with Claude Code, Cursor, Codex, OpenCode, and any other MCP-compatible agent.
On Hacker News
Recent discussion from the developer community.
- Story by Bibabomas · 2026-05-17
- Story by stephantul · 2026-05-03
- Story by stephantul · 2026-04-26
Compare semble with
Last updated · Auto-generated from public README + GitHub signals.