MCP Catalogs
Homeshebe screenshot

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.

developer-toolssearchai-llm
3
Forks
0
Open issues
3 mo ago
Last commit
2d ago
Indexed

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:

you:Finding all references to a symbol in large codebases for refactoring
you:Searching polyglot codebases for specific patterns or functions
you:Impact analysis before making changes to unfamiliar repositories
you:What makes Shebe different from other code search tools?
you:Does Shebe support remote code repositories?

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 README
  • find_references

    Find all references to a symbol in the codebase

  • search_code

    Search for code patterns across the repository

  • index_repository

    Index a repository for code search

  • find_file

    Find files by pattern in the repository

  • read_file

    Read the complete contents of a file

  • preview_chunk

    Preview a file with context around a specific match

  • reindex_session

    Update an existing index with new files

  • list_sessions

    List all available indexed repositories

  • get_session_info

    Get information about a specific indexed repository

  • upgrade_session

    Upgrade an older session to the latest schema

  • list_dir

    List files in a directory with matching pattern

  • delete_session

    Delete 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

serena-mcpripgrepgrepturbopuffertrynia

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

GitHub →

Last updated · Auto-generated from public README + GitHub signals.