
shebe
by shebe-oss·★ 32·Score 43
Fast BM25 code search tool with 14 MCP tools for AI coding agents to find references and search codebases.
Overview
Shebe is a high-performance local code search tool that uses BM25 algorithm instead of embeddings or GPU acceleration. It provides fast indexing (2k-12k files/sec) with 2ms query latency and full UTF-8 support. The project includes 14 MCP tools designed specifically for coding agents to perform tasks like finding references, searching code, and analyzing codebases. It's positioned as a complement to structural tools like Serena MCP, providing ranked results for large codebases with polyglot search capabilities.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose Shebe when working with large codebases (1k+ files) where you need fast, ranked code search without cloud dependencies or GPU resources.
When NOT to choose this
Don't choose Shebe if you need semantic search capabilities, remote repository search, or if you're working exclusively with small codebases where simpler tools like ripgrep suffice.
Tools this server exposes
12 tools extracted from the READMEfind_referencesFind all references to a symbol in the codebase
search_codeSearch for code patterns across the repository
index_repositoryIndex a repository for code search
find_fileFind files by pattern in the repository
read_fileRead the complete contents of a file
preview_chunkPreview a file with context around a specific match
reindex_sessionUpdate an existing index with new files
list_sessionsList all available indexed repositories
get_session_infoGet information about a specific indexed repository
upgrade_sessionUpgrade an older session to the latest schema
list_dirList files in a directory with matching pattern
delete_sessionDelete an indexed repository
Note: Tool names extracted from the table and text references, but detailed documentation is in a separate file not provided here.
Comparable tools
Installation
Installation
**Homebrew (macOS and Linux):**
brew tap shebe-oss/tap
brew install shebe**Manual download (Linux x86_64):**
export SHEBE_VERSION=v0.5.8
curl -LO "https://github.com/shebe-oss/shebe-releases/releases/download/${SHEBE_VERSION}/shebe-${SHEBE_VERSION}-linux-x86_64.tar.gz"
curl -LO "https://github.com/shebe-oss/shebe-releases/releases/download/${SHEBE_VERSION}/shebe-${SHEBE_VERSION}-linux-x86_64.tar.gz.sha256"
sha256sum -c shebe-${SHEBE_VERSION}-linux-x86_64.tar.gz.sha256
tar -xzf shebe-${SHEBE_VERSION}-linux-x86_64.tar.gz
sudo mv shebe shebe-mcp /usr/local/bin/**Claude Desktop Configuration:** Add to your claude_desktop_config.json:
{
"mcpServers": {
"shebe": {
"command": "shebe-mcp",
"args": []
}
}
}FAQ
- What makes Shebe different from other code search tools?
- Shebe uses BM25 algorithm instead of embeddings or GPU acceleration, making it extremely fast with low resource requirements. It provides ranked results and is optimized for large codebases with 2ms query latency.
- Does Shebe support remote code repositories?
- No, repositories must be cloned locally before indexing. This is a trade-off for speed and privacy, as it doesn't require network access during search operations.
Compare shebe with
Last updated · Auto-generated from public README + GitHub signals.