Comparison

Serena vs Sourcegraph

A like-for-like, spec-level comparison. Both entries are verified against their docs and repo.

Serena

LSP-based semantic code tools for agents, as an MCP toolkit.

  • + Language-server-precise symbol and reference operations
  • + Agent-first, high-level abstractions over raw line-number tools
  • − Needs a language server per project
  • − Heavier to set up than plain search

Sourcegraph

Enterprise code intelligence, search, and agent context.

  • + Precise SCIP indexing and cross-repository search
  • + Enterprise-grade code understanding at scale
  • − Proprietary and enterprise-priced
  • − Heavier deployment than a local MCP
Spec Serena Sourcegraph
Role Code intelligence Code intelligence
Tags code-intelligence code-intelligence
License MIT Proprietary
Open source Yes No
Self-hostable Yes No
MCP support Yes Yes
Pricing free paid
Price Free Custom
Usage cost No model cost Included
Models multi multi
Languages python
GitHub stars 26.1k
Last activity 2026-07-03