# Graphify vs Sourcegraph MCP Server

> Graphify scores 69 (B) to Sourcegraph's 57.5 (C) for code repositories. Prices, MCP, x402, uptime and agent notes side by side.

- Canonical: https://www.anchorterminal.com/compare/graphify-vs-sourcegraph-mcp
- Markdown: https://www.anchorterminal.com/compare/graphify-vs-sourcegraph-mcp.md (~2,250 tokens)
- Slim: https://www.anchorterminal.com/compare/graphify-vs-sourcegraph-mcp.min.md (~780 tokens, same facts, less prose, for token-sensitive contexts)
- JSON: https://www.anchorterminal.com/compare/graphify-vs-sourcegraph-mcp.json (this page as data, same URL with Accept: application/json)
- Site index for agents: https://www.anchorterminal.com/llms.txt (full text: https://www.anchorterminal.com/llms-full.txt)
- API: https://www.anchorterminal.com/api/v1/index.json
- MCP: https://www.anchorterminal.com/mcp (the whole catalogue as tools, no key)
- Licence: CC BY 4.0, credit Anchor Terminal and link this page (https://www.anchorterminal.com/terms/#data)
- Updated: 2026-10-26

Graphify scores 69 (B) on agent readiness against Sourcegraph MCP Server's 57.5 (C), and leads in 5 of 7 scored categories. Sourcegraph MCP Server leads on security & auth. Both do code repositories.

- Graphify: grade B, 69/100, rank #217 of 1211. Markdown https://www.anchorterminal.com/tools/graphify.md · JSON https://www.anchorterminal.com/api/v1/tools/graphify.json
- Sourcegraph MCP Server: grade C, 57.5/100, rank #695 of 1211. Markdown https://www.anchorterminal.com/tools/sourcegraph-mcp.md · JSON https://www.anchorterminal.com/api/v1/tools/sourcegraph-mcp.json
- Best code, repository and documentation tools for AI agents: https://www.anchorterminal.com/best/code/index.md
- All 22 code comparisons: https://www.anchorterminal.com/compare/code/index.md

## Which one, for what

### Graphify (B)

Good for: A person or team who wants a coding agent to query a structural map of a repository, with docs and papers folded in, before grepping.

Ahead on:
- Reliability, 58 against 25
- Schema & documentation, 77 against 71
- Agent ergonomics, 77 against 72
- Payments & pricing, 60 against 15
- Transparency & trust, 83 against 78

Also in its favour:
- No key needed to call it
- Runs on your own machine
- Free to start without a card
- Open source

Watch for: Headless extraction sends docs to whichever cloud provider's key is set, Gemini first and Kimi in China second, unless `GRAPHIFY_BACKEND` is set

### Sourcegraph MCP Server (C)

Good for: A company that already runs Sourcegraph and wants agents to search and navigate many repositories with compiler-accurate definitions and references.

Ahead on:
- Security & auth, 76 against 66

Watch for: Enterprise plans only, from a $16,000 minimum annual contract through sales. A Cloud trial is by request and subject to eligibility


## Score by category

| Category | Weight | Graphify | Sourcegraph MCP Server | Edge |
| --- | --- | --- | --- | --- |
| Reliability | 16% (20 this run) | 58 | 25 | Graphify +33 |
| Performance | 10%, pending | pending | pending | not scored in this run |
| Schema & documentation | 13% (16.2 this run) | 77 | 71 | Graphify +6 |
| Agent ergonomics | 13% (16.2 this run) | 77 | 72 | Graphify +5 |
| Security & auth | 14% (17.5 this run) | 66 | 76 | Sourcegraph MCP Server +10 |
| Payments & pricing | 10% (12.5 this run) | 60 | 15 | Graphify +45 |
| Task success | 10%, pending | pending | pending | not scored in this run |
| Maintenance & community | 7% (8.8 this run) | 81 | 83 | Sourcegraph MCP Server +2 |
| Transparency & trust | 7% (8.8 this run) | 83 | 78 | Graphify +5 |
| Negative events | ≤15 | -1 | 0 | |
| **Total** | | **69 · B** | **57.5 · C** | |

## Facts side by side

| Fact | Graphify | Sourcegraph MCP Server |
| --- | --- | --- |
| Kind | MCP server | MCP server |
| Vendor | Graphify Labs | Sourcegraph, Inc. |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | stdio, Streamable HTTP | Streamable HTTP |
| Auth | None | OAuth or key |
| Pricing | Free | Paid |
| x402 | no | no |
| Licence | Apache-2.0 since 0.9.25 of 22 July 2026. Contributions made before then remain available under MIT, with the original text kept in LICENSE-MIT and referenced from NOTICE | Proprietary. The server is part of the Sourcegraph Enterprise product under the Sourcegraph Terms of Service |
| Tools exposed | 10 | 16 |
| Read-only variant documented | no | yes |
| llms.txt | yes | no |
| MCP registry | not listed | `io.github.sourcegraph/mcp` |
| Last release | 2026-10-23 | 2026-09-17 |
| Terms last updated |  | 2026-07-22 |
| Privacy policy last updated |  | 2026-06-12 |
| Customer content may train models |  | yes, with an opt-out |
| Terms restrict automated access |  | not found in the text |
| Terms restrict benchmarking |  | not found in the text |
| Terms or service can change without notice |  | not found in the text |
| Arbitration or class-action waiver |  | yes |

## Verdicts

**Graphify.** Graphify parses code locally with tree-sitter, ships near-daily releases with a dated changelog, and keeps its ten MCP tools read-only and compact. The optional model step picks a cloud provider from whichever API key is set, and community naming can fall back to the `claude` CLI, so `GRAPHIFY_BACKEND=none` is needed to keep everything on the machine.

**Sourcegraph MCP Server.** Sixteen read-only tools search and navigate code across every repository an instance indexes, with OAuth limited to an `mcp` scope and repository permissions enforced on each call. Access needs an Enterprise contract, priced from $16,000 a year, and no request rate limits were found in the reviewed documentation.

## Before you call either

### Graphify

1. Install `graphifyy` with two y's; other `graphify*` packages on PyPI are not the project's
2. Set `GRAPHIFY_BACKEND=none` or use `--code-only` when no source or doc text may leave the machine
3. Pass an absolute path to graph.json in the MCP config, and run `graph_stats` first to check the graph loaded
4. Set `GRAPHIFY_API_KEY` before binding the HTTP server to 0.0.0.0; it only warns when no key is set
5. Run 0.9.70 or later before indexing an untrusted repository, because earlier versions carry the Fortran file-read advisory

### Sourcegraph MCP Server

1. Connect to https://<instance>/.api/mcp for the nine core tools. Use /.api/mcp/all for `go_to_definition`, `find_references`, `nls_search` and `compare_revisions`
2. Request only the `mcp` scope in OAuth. Any other scope on the MCP resource fails with `invalid_scope`
3. Without OAuth, send `Authorization: token <access token>` and create the token with the `mcp` scope and an expiry
4. Call `list_repos` first and name the repository in every `code_finder` task. It declines broad searches across repositories
5. Read large files with `startLine` and `endLine`. Files over 128KB return only the first 200 lines

## Questions

### Which is better for AI agents, Graphify or Sourcegraph MCP Server?

Graphify scores 69 (B) on agent readiness against Sourcegraph MCP Server's 57.5 (C), and leads in 5 of 7 scored categories. Sourcegraph MCP Server leads on security & auth.

### Do Graphify and Sourcegraph MCP Server need an API key?

Graphify needs no key. Sourcegraph MCP Server takes an API key or an OAuth sign-in.

### Can an agent call Graphify and Sourcegraph MCP Server without installing anything?

Graphify runs on your own machine, with no hosted endpoint listed. No hosted endpoint is listed for Sourcegraph MCP Server.

### Are Graphify and Sourcegraph MCP Server open source?

Graphify is open source (Apache-2.0 since 0.9.25 of 22 July 2026. Contributions made before then remain available under MIT, with the original text kept in LICENSE-MIT and referenced from NOTICE). No open-source release is listed for Sourcegraph MCP Server.


## For agents

- This comparison as JSON: https://www.anchorterminal.com/compare/graphify-vs-sourcegraph-mcp.json, and with the fewest tokens: https://www.anchorterminal.com/compare/graphify-vs-sourcegraph-mcp.min.md
- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {"a": "graphify", "b": "sourcegraph-mcp"}`. From a terminal: `anchor compare graphify sourcegraph-mcp`
- Each listing in full: https://www.anchorterminal.com/api/v1/tools/graphify.json and https://www.anchorterminal.com/api/v1/tools/sourcegraph-mcp.json

## Other comparisons with Graphify or Sourcegraph MCP Server

- [Azure DevOps MCP Server vs Graphify](https://www.anchorterminal.com/compare/azure-devops-mcp-vs-graphify.md)
- [Azure DevOps MCP Server vs Sourcegraph MCP Server](https://www.anchorterminal.com/compare/azure-devops-mcp-vs-sourcegraph-mcp.md)
- [GitHub MCP Server vs Graphify](https://www.anchorterminal.com/compare/github-mcp-server-vs-graphify.md)
- [GitHub MCP Server vs Sourcegraph MCP Server](https://www.anchorterminal.com/compare/github-mcp-server-vs-sourcegraph-mcp.md)
- [Git (MCP reference server) vs Graphify](https://www.anchorterminal.com/compare/git-reference-server-vs-graphify.md)
- [Git (MCP reference server) vs Sourcegraph MCP Server](https://www.anchorterminal.com/compare/git-reference-server-vs-sourcegraph-mcp.md)
- [graft vs Graphify](https://www.anchorterminal.com/compare/graft-vs-graphify.md)
- [graft vs Sourcegraph MCP Server](https://www.anchorterminal.com/compare/graft-vs-sourcegraph-mcp.md)

---

Query this catalogue directly over MCP: https://www.anchorterminal.com/mcp (Streamable HTTP, no key). How: https://www.anchorterminal.com/agents/#mcp
