Cody alternative: trace-mcp vs Sourcegraph Cody

TL;DR. Cody was Sourcegraph’s AI coding assistant — chat, completions and edits with context pulled from your whole codebase through their Search API, local and remote. Read the status notice first: Cody Free, Pro and Enterprise Starter were discontinued on July 23, 2025, the sourcegraph/cody repository itself returns 404, and what remains is Cody Enterprise for existing enterprise customers (plus an archived public snapshot at 3.8K stars) while Sourcegraph’s individual-developer energy moved to Amp. trace-mcp is the opposite bet: a persistent code graph (tree-sitter across 81 languages, 88 framework integrations, SQLite + FTS5) on your own machine — no account, no key, no per-seat bill, no code leaving the workstation.

If your organisation already pays for Sourcegraph and wants one vendor indexing every repo, Cody Enterprise is the zero-setup answer. If you want the index to live with the code, read on.

Head-to-head

Capability trace-mcp Cody
GitHub stars 175 3.8K (archived snapshot)
License MIT Apache-2.0 (snapshot); commercial Enterprise
Written in TypeScript TypeScript (snapshot)
What it is persistent local graph over MCP cloud assistant on hosted code search
Where the index lives your machine (SQLite) Sourcegraph Cloud or self-hosted
Needs account / key ✗ ✓ Enterprise plan
Remote multi-repo search ✓ cross-repo subprojects (local) ✓ local + remote via Search API
Framework-aware edges ✓ 88 integrations not verified on reading date
Impact analysis ✓ reverse dependency traversal not verified on reading date
MCP tools advertised (default) 29 (~11.6K tok); 182 on full not verified on reading date
Refactoring write path ✓ AST rename, move, extract, codemod ✓ agent edits; batch changes for migrations
Security scanning ✓ OWASP Top-10 taint, SARIF 2.1.0 ✗ (not its lane)
Session memory ✓ code-linked decisions, staleness-checked conversation-scoped, not verified as code-linked
Works offline ✓ ✗ by design
Availability actively maintained Enterprise-only; repo 404 as of 2026-09-26

Verified on September 26, 2026: sourcegraph/cody returns 404 on both web and API; stars and language from the archived sourcegraph/cody-public-snapshot via the GitHub API; plan status from Sourcegraph docs, changelog and Wikipedia (Free/Pro/Starter discontinued July 23, 2025; Amp spin-off December 2025). Cody’s MCP surface and framework depth were not verifiable from the sources read on that date, so those cells read “not verified” rather than a guess.

When to pick Cody

When to pick trace-mcp

The honest caveat

Cody Enterprise at org scale is the single thing on this site a local tool cannot do: search and assist across every repository a company owns, with access controls, operated by someone else. If that is the job, this page is not going to talk you out of it.

And the standing caveat on our side: our default tool surface costs ~11.6K tokens before the agent asks anything, and our security scanning ceiling (line-based CFG, lexical taint, type-aware pruning — not a dataflow engine) is stated on the comparisons page, not hidden here.

FAQ

Is Sourcegraph Cody still available? Only as Cody Enterprise for existing enterprise customers. Free, Pro and Starter ended July 23, 2025; the repo is a 404 with an archived snapshot; Amp carries the individual-developer effort. Check current pricing before adopting.

What is the core difference between Cody and trace-mcp? Hosted search-plus-assistant versus a persistent local index. Cody pulls context from Sourcegraph infrastructure; trace-mcp stores the graph on your machine and serves it over MCP.

When is Cody the better pick? Org-wide remote search, enterprise controls, zero own infrastructure, batch migrations — with someone else operating it.

Does Cody work offline? No, by design. Ours does, entirely — 81 tree-sitter languages with no toolchain and no network.

Next steps

Last updated: September 26, 2026