$ 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 library built for AI agents. It takes natural language queries and returns exact code snippets from a codebase, using approximately 98% fewer tokens than traditional grep-and-read approaches. The tool indexes and searches full codebases end-to-end in under a second, achieving roughly 200x faster indexing and 10x faster queries than code-specialized transformer models while maintaining 99% of their retrieval quality. It runs entirely on CPU with no external API keys, GPU, or remote services required.

Who it's for

Semble is built for coding agents—Claude Code, Cursor, Codex, OpenCode, and similar tools—and the developers who rely on them to navigate large codebases. It's useful anywhere an agent needs instant, precise code references without iterative file reading and grepping.

Common use cases

  • Query a codebase in natural language to locate specific implementation patterns (e.g., "authentication flow," "error handling").
  • Search remote repositories cloned on demand via git URL.
  • Filter results by content type—code (default), docs, config, or all files.
  • Find code snippets related to a known file and line number using semantic similarity.
  • Integrate code search directly into agent workflows as an MCP server, CLI tool, or dedicated sub-agent.

Setup pitfalls

  • Requires filesystem write access to cache indexes automatically; provide a persistent cache directory if running sandboxed.
  • Makes network calls to fetch remote repositories; ensure outbound git and HTTPS connectivity are available.
  • Respects .gitignore and .sembleignore patterns; verify that key files aren't accidentally excluded from indexing.
  • The interactive installer (semble install) autodetects agents; manual MCP configuration is required if auto-detection fails.
▣ 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"
      ]
    }
  }
}
⚙ 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 updated9h 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