sourcebot-dev/sourcebot

Sourcebot is a self-hosted tool that helps humans and agents understand your codebase.

What it solves

Sourcebot provides a centralized code context layer that allows humans and AI agents to search, navigate, and understand large sets of repositories across different hosting providers without needing to clone every repository locally.

How it works

It indexes repositories from GitHub, GitLab, Bitbucket, Azure DevOps, or local Git directories. It then exposes this indexed code via a web app for humans and an MCP (Model Context Protocol) server for AI agents. This allows agents to perform code search, read files, and and find symbol definitions and references. It also includes an "Ask Sourcebot" feature that uses a user-configured language model provider to answer questions about the codebase, utilizing connectors to integrate with tools like Jira or Linear.

Who it’s for

Developers and AI agent users who need to navigate and understand complex, multi-repository codebases across various platforms.

Highlights

  • Multi-host indexing: Supports GitHub, GitLab, Bitbucket, Azure DevOps, and local Git.
  • MCP Server: Enables AI agents (like Claude Code or Cursor) to search and read code from remote repositories.
  • Cross-repo search: Supports regular expressions and boolean queries across all indexed repos and branches.
  • BYOK LLM: Users provide their own language model keys for the "Ask" feature, maintaining control over data flow.
  • Permission syncing: Access control is based on the original code host's repository permissions.

Related

  • Project
  • Project
  • Project
  • Project
  • Project