Sourcegraph

sourcegraph.com

KEEP IT

The value is the network, the data or the infrastructure. Keep paying.

Code search across every repository an organisation has, with precise cross-repository navigation and batch changes that open pull requests everywhere at once.

Promptfree, for everyone, and the only version there is
For a handful of repositories, local search wins. Past that, keep paying.

WHERE THE LINE IS
- Under about fifty repositories, a script and ripgrep beat any service
- Past that, indexing is the product and you should not build it

STACK FOR THE SMALL CASE
- A directory of cloned repositories, ripgrep, and a nightly fetch

SEARCHING
- rg with a type filter across the whole directory returns in under a second on most codebases
- Wrap it in a script that prints repository, file and line as a clickable path

KEEPING IT CURRENT
- A nightly job that clones anything new and fetches everything else
- Shallow clones unless you need history

BATCH CHANGES
- A script that iterates repositories, applies a codemod with comby or a sed script, runs the tests and opens a pull request
- Dry-run mode first, always: print the diff for every repository before touching any of them

Include the fetch job, the search wrapper and the batch script.

What you lose

  • Indexed search across thousands of repositories that stays fast, which is a serious infrastructure problem
  • Precise navigation across repository boundaries, built from compiler output rather than from text matching
  • Batch changes that open and track a pull request in every affected repository

If you would rather not build

  • GitHub code search, free and often enough

The escape hatch

open source · no votes, no paid placement

Zoekt

$0

The fast trigram index behind Sourcegraph, usable on its own.

sourcegraph/zoektfree · open source

ripgrep

$0

Fast enough across local clones that a service is unnecessary at small scale.

BurntSushi/ripgrepfree · open source

Why this verdict

our own opinion · changed only by a person

34/100

Verdict no at 34 above a certain size. Under fifty repositories ripgrep is genuinely better; the value appears exactly where building stops being feasible.

History

tracked since 10 Aug 2026 · nothing is ever overwritten

Interest · last 30 days

Nothing recorded yet. This chart fills in once the page has visitors, votes or prompt copies — it will not draw a flat line to look busy.

Questions about Sourcegraph

answered from the record above

Is Sourcegraph free?

No — the plan we track is $59 a month. Enterprise Starter from around $59 per user per month billed monthly; pricing above that is quoted.

Can you replace Sourcegraph by building your own?

KEEP IT. The value is the network, the data or the infrastructure. Keep paying. Replacement score 34 out of 100, build time longer than it saves. Read what you lose before you decide.

How much does Sourcegraph cost?

$59 a month on Enterprise Starter — $708 a year. Recorded 10 Aug 2026.

What do you lose by replacing Sourcegraph?

Indexed search across thousands of repositories that stays fast, which is a serious infrastructure problem; Precise navigation across repository boundaries, built from compiler output rather than from text matching; Batch changes that open and track a pull request in every affected repository. If any of those carry weight for you, keep paying.

Is there an open-source alternative to Sourcegraph?

Yes: Zoekt, ripgrep. The prompt on this page is for when you want it your way instead.

Related entries

same category first, most replaced first

All 36 in Dev tools

Coming soon

Every week, something stops being worth paying for.

New verdicts, prices that moved, entries added. One email a week. Unsubscribe in one click.

free forever · no tracking pixel · every prompt stays free on the site

Esc