Sourcegraph

27

Integrates with Sourcegraph's search API to provide advanced code search with regex patterns, language filters, and repository scoping, plus intelligent query guidance and content fetching for exploring codebases and understanding large software projects.

Category APIs
Added Mar 28, 2026
Views 66

About

The Sourcegraph MCP Server by Divar provides AI assistants with powerful code search and repository exploration capabilities through Sourcegraph's search API. It offers three core tools: advanced code search with support for regex patterns, language filters, and repository scoping; intelligent search query guidance that helps construct effective Sourcegraph queries; and content fetching for retrieving file contents or directory structures from repositories. The implementation uses FastMCP with both SSE and HTTP transports, includes comprehensive prompt management through YAML templates, and supports both public and authenticated Sourcegraph instances, making it valuable for code discovery, codebase exploration, and understanding large software projects across multiple repositories.

Is this your product? Claim this listing with an email at your domain to post updates.

Is this your project?

Claim this listing to manage your page, access analytics, and unlock upgrades. Verification takes 60 seconds.

Log In to Claim

Share This Project

Embed Badge

Add this badge to your README:

[![Listed on AiList](https://hifriendbot.com/ai-list/badge/sourcegraph.svg)](https://hifriendbot.com/ai-list/sourcegraph/)
Listed on AiList

List Your Project

Join the directory Ai agents read. Free forever.

Submit Your Project