$ timeahead.in
/ servers/pypi/semble
pypi

semble

Fast and Accurate Code Search for Agents. Uses ~98% fewer tokens than grep+read

5k stars37k/wkupdated 1d agogithub ↗
93excellent
▣ Overview

What it does

Semble is a code search engine designed for agents. It accepts natural-language queries about a codebase and returns only the relevant code snippets, using roughly 98% fewer tokens than traditional grep-and-read approaches. The tool indexes local or remote repositories on CPU with no external services, API keys, or GPU required. Search latency averages 1.5 milliseconds per query after an initial index build, which takes about 250 milliseconds for a typical codebase. It operates as an MCP server compatible with Claude Code, Cursor, Codex, and similar agents, as well as a standalone CLI tool.

Who it's for

Agents and developers using Claude Code, Cursor, Codex, or other MCP-compatible tools who need fast code discovery. Particularly useful when working with large or unfamiliar codebases where token budgets are tight or latency matters. The token-efficiency gain translates directly to lower API costs and faster agent responses in token-constrained environments.

Common use cases

  • Query a local codebase in natural language and get exact snippets without manual file hunting.
  • Integrate Semble as an MCP tool in Claude Code or Cursor to enable agents to search repositories during code analysis.
  • Search remote repositories by git URL, cloning them on demand for one-shot queries.
  • Find code similar to a known file and line number via the find-related subcommand.
  • Index and search documentation, configuration, or other non-code content alongside source code.

Setup pitfalls

  • Filesystem access required: Semble reads and indexes all files matching your codebase patterns; index data is cached locally. Verify your sandboxing or permissions align with this.
  • Index caching: Indexes are built automatically on first run and cached; changes to tracked files invalidate the cache. This is usually transparent but can be unintuitive if index freshness is critical.
  • .sembleignore and .gitignore rules: Files excluded from git are also excluded from indexing by default. Override with .sembleignore if you need to index files git ignores.
  • Network calls: Remote git URLs require network access; ensure your environment allows git clones if you plan to search repositories by URL.
▣ Score BreakdownMCPScore = Σ(raw × weight)
DimensionRawWeighted
Security
35%
100
35.0
Freshness
25%
100
25.0
Adoption
20%
92
18.3
Quality
10%
100
10.0
Trust
10%
50
5.0
Total
93.3
⚿ Capabilities & Risk Explainer
fs readfs writenetworkexecsecrets
◆ Risk level: high
fs read + fs write + network + exec + secrets active — can execute code, access credentials, and make external network calls.
⚙ Install config
Claude Desktop · Cursor · Windsurf · VS Code (Copilot) · Claude Code
add to your MCP client config:
{
  "mcpServers": {
    "semble-1": {
      "command": "uvx",
      "args": [
        "semble"
      ]
    }
  }
}
📈 Score historylast 27 snapshots
5/10/20266/6/2026 · 27 snapshots
⚙ Maintenance health
67/ 100 · is this project alive?
contributors (1y)5
top contributor share67%
releases (1y)16
last release0d ago
ci✓ passing
⛁ Raw data
weekly downloads37k
github stars5k
forks203
open issues3
license✓ present
readme length12548 chars
last publish0d ago
last commit1d ago
last updated6h ago
install verified✓ pass · 18d ago
owner of this server? claim your listing to get a verified badgeclaim →
🔔 Score drop alerts
get notified by email when this server's score drops 5+ points