Official Homebrew tap for Shebe - BM25 full-text code search for AI agents via MCP.
brew tap shebe-oss/tap
brew install shebeThis installs two binaries:
shebe- CLI for standalone useshebe-mcp- MCP server for editor integration
Index a repository:
# create/clone repo first
shebe index /path/to/your/repoSearch code:
shebe search "handleLogin"
shebe search "auth AND (session OR token)"Find symbol references:
shebe refs AuthorizationPolicyRegister shebe-mcp with your editor or AI agent. The server exposes 14 tools
including search_code, index_repository, find_references and read_file.
See the MCP Tools Reference for the full API.
Shebe works out-of-the-box with sensible defaults. For tuning, set environment
variables or create ~/.config/shebe/config.toml:
| Variable | Default | Description |
|---|---|---|
SHEBE_CHUNK_SIZE |
512 |
Characters per chunk (100-2000) |
SHEBE_OVERLAP |
64 |
Overlap between chunks |
SHEBE_DEFAULT_K |
10 |
Default search results count |
SHEBE_MAX_K |
100 |
Maximum results allowed |
SHEBE_DATA_DIR |
~/.local/share/shebe |
Index storage location |
See CONFIGURATION.md for the full reference.
brew update
brew upgrade shebe| Formula | Description | Version |
|---|---|---|
| shebe | BM25 full-text code search for AI agents via MCP | 0.5.7 |
| Platform | Architecture | Supported |
|---|---|---|
| macOS | ARM (Apple Silicon) | Yes |
| macOS | x86_64 (Intel) | Yes |
| Linux | x86_64 | Yes |
- Shebe - Source code and documentation
- shebe-releases - Editor extensions
MIT