{"repo":"najva-ai/sourcegraph-mcp","free":true,"listed":false,"github":"https://github.com/najva-ai/sourcegraph-mcp","clone":"git clone https://github.com/najva-ai/sourcegraph-mcp.git","description":"MCP server for Sourcegraph codesearch","language":"Python","stars":39,"topics":["ai","codesearch","mcp","sourcegraph"],"license":"MIT","category":"mcp-servers","readme_excerpt":"Sourcegraph MCP Server A Model Context Protocol (MCP) server that provides AI-enhanced code search capabilities using Sourcegraph. Table of Contents - Overview - Features - Prerequisites - Installation - Using UV (recommended) - Using pip - Using Docker - Configuration - Required Environment Variables - Optional Environment Variables - Usage with AI Tools - Cursor - MCP Tools - search - search prompt guide - fetch content - Development - Linting and Formatting Overview This MCP server integrates with Sourcegraph, a universal code search platform that enables searching across multiple repositories and codebases. It provides powerful search capabilities with advanced query syntax, making it ideal for AI assistants that need to find and understand code patterns across large codebases. Features - Code Search : Search across codebases using Sourcegraph's powerful query language - Advanced Query Language : Support for regex patterns, file filters, language filters, and boolean operators - Repository Discovery : Find repositories by name and explore their structure - Content Fetching : Browse repository files and directories - AI Integration : Designed for LLM integration with guided search prompts Prerequisites - Sourcegraph Instance : Access to a Sourcegraph instance (either sourcegraph.com or self-hosted) - Python 3.10+ : Required for running the MCP server - UV (optional): Modern Python package manager for easier dependency management Installation Using UV (recommended) Using pi","default_branch":null,"files":null,"tree":[],"storefront":"/r/najva-ai","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/najva-ai/sourcegraph-mcp/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}