# Sourcegraph

> Code understanding for humans and agents

Source: https://talira.ai/catalog/sourcegraph-gypwx5qd
Every listing: https://talira.ai/catalog.md

- Kind: Commercial software
- Types: Web app, API, Command-line tool, MCP server
- Categories: [developer tools / code search](https://talira.ai/categories/developer-tools/code-search), [developer tools / ai coding / context](https://talira.ai/categories/developer-tools/ai-coding/context)
- Platforms: web, cli[^1]
- Licence: proprietary[^1]
- Pricing: Contact sales[^1]
- Pricing notes: Enterprise plan starting at $16K minimum annual contract, including credits for AI features and scaling with team size. Public code search is free.
- Free tier: no[^1]
- Self-hostable: yes[^1]
- Cloud hosted: yes[^1]
- API: yes[^1]
- MCP server: yes[^1]
- Supports: [MCP](https://talira.ai/standards/mcp.md)[^1]
- Made by: [Sourcegraph](https://talira.ai/orgs/sourcegraph.md)

Sourcegraph is a code search and code intelligence platform for large organizations: it indexes every repository, branch and code host you connect and lets engineers and AI coding agents search it with regex, symbol and structural queries, navigate definitions and references across repositories, and ask natural-language questions with Deep Search, which gives cited answers. Batch Changes (now agentic) makes the same change across many repositories at once, Code Insights tracks metrics over the codebase, and Code Monitoring alerts on new matches. Agents reach it through its MCP server, GraphQL and REST APIs and CLI, and it works with Claude Code, Cursor, Codex and Amp. The Enterprise plan runs as single-tenant cloud or self-hosted, starting at $16K a year with credits for AI features; anyone can search 1M+ public repositories free on its public code search.

## Links

- Website: https://sourcegraph.com/
- Docs: https://sourcegraph.com/docs
- Pricing: https://sourcegraph.com/pricing

## Problems it solves

- search code across thousands of repositories on GitHub, GitLab and Bitbucket at once
- find every place a deprecated API is still called across the whole company
- give our AI coding agents context about code in other repositories
- make the same change across hundreds of repositories and track the pull requests
- go to definition and find references across repository boundaries in the browser
- get alerted when someone commits a pattern we've banned, like a hard-coded secret
- self-hosted code search for a large enterprise codebase

## Features

- code search with symbol search across all repositories, branches and code hosts
- cross-repository code navigation
- Deep Search: AI-powered, citation-backed answers about the codebase
- Agentic Batch Changes for multi-repository changes
- Code Insights and Code Monitoring
- MCP server, GraphQL and REST APIs, and CLI
- works with Claude Code, Cursor, Codex and Amp
- single-tenant cloud or self-hosted
- public code search over 1M+ public repositories

## Capabilities

- Has an API: plan not known
- Has a command line tool: plan not known
- Has an MCP server: plan not known

## Trust

Overall: 0.42 out of 1.
Signals: backing 0.30, extensibility 0.60.

- has an MCP server for agents

## Alternatives

- [Zoekt](https://talira.ai/catalog/zoekt-f1cky8mv.md): Fast trigram-based code search engine
- [Greptile](https://talira.ai/catalog/greptile-7m5bjnmd.md): The AI Code Reviewer
- [OpenGrok](https://talira.ai/catalog/opengrok-ncsn8b9r.md): A fast and usable source code search and cross reference engine
- [Hound](https://talira.ai/catalog/hound-4xkssqk1.md): Lightning fast code searching made easy
- [livegrep](https://talira.ai/catalog/livegrep-3exwmzp8.md): Fast interactive regex search over large source code repositories

## Sources

[^1]: https://sourcegraph.com/pricing (checked 23 Nov 2026)
