Codebeam

•
4
•

Provides a local-first, self-contained code search engine offering lexical, symbol, and structural search capabilities across various code repositories.

Codebeam is a powerful local-first code search engine designed for developers to efficiently navigate their codebase. It offers Sourcegraph-style functionality, enabling comprehensive lexical, symbol, and structural searches powered by Zoekt, ctags, and ast-grep respectively. This self-contained Go binary can index code from GitHub, GitLab, and local repositories, providing a web UI, a JSON API, and a Model Context Protocol (MCP) server for integration with coding agents, all while ensuring live freshness of local and remote repositories.

主要功能

01Integrated MCP server offering eight specialized tools for AI agent code retrieval, including `search_code`, `structural_search`, and `symbol_search`.
02Comprehensive search types: lexical (Zoekt), symbol (ctags), and structural (ast-grep) across codebases.
03Indexes GitHub, GitLab, and local repositories with live freshness for local changes and scheduled auto-indexing for remotes.
04Ships as a single, self-contained Go binary with an embedded web UI and no external runtime dependencies (beyond git and optional ctags).
05Supports flexible branch indexing, OAuth/PAT authentication, and provides a CLI client and JSON API for programmatic access.
060 GitHub stars

使用案例

01Integrating with AI coding agents (e.g., Claude, Cursor) to provide contextual, citation-style code snippets for enhanced agent understanding and code generation.
02Self-hosting a private, powerful code search solution for development teams to quickly find and understand code.
03Developers efficiently navigating large codebases, finding definitions, usages, or specific structural patterns across multiple local or remote repositories.