This Model Context Protocol (MCP) server seamlessly connects AI assistants with Sourcegraph, a powerful universal code search platform. It enables AI tools to perform advanced code searches across vast codebases, leveraging Sourcegraph's sophisticated query language for regex patterns, file filters, language filters, and boolean operators. Designed for Large Language Model (LLM) integration, it facilitates finding and understanding code patterns, discovering repositories, fetching file content, and providing context-aware guidance for effective search queries.
Key Features
01Repository Discovery and structure exploration
02Code Search with advanced query language
035 GitHub stars
04Content Fetching for files and directories
05Context-aware search prompt generation
06AI Integration for LLM-powered search