# SonarQube MCP Server vs Sourcegraph MCP Server (slim)

> SonarQube scores 66.9 (B) to Sourcegraph's 62.5 (B) for code repositories. Prices, MCP, x402, uptime and agent notes side by side.

- Full: https://www.anchorterminal.com/compare/sonarqube-mcp-vs-sourcegraph-mcp.md (~4,400 tokens) · this version ~1,030 tokens · JSON https://www.anchorterminal.com/compare/sonarqube-mcp-vs-sourcegraph-mcp.json · canonical https://www.anchorterminal.com/compare/sonarqube-mcp-vs-sourcegraph-mcp
- Index: https://www.anchorterminal.com/llms.txt · API: https://www.anchorterminal.com/api/v1/index.json · MCP: https://www.anchorterminal.com/mcp · Updated: 2026-11-23
- Licence: CC BY 4.0, credit Anchor Terminal and link this page (https://www.anchorterminal.com/terms/#data)

SonarQube MCP Server scores 66.9 (B) on agent readiness against Sourcegraph MCP Server's 62.5 (B), and leads in 5 of 7 scored categories. Sourcegraph MCP Server leads on reliability. Both do code repositories.

- SonarQube MCP Server: B 66.9, rank #498 of 1654 · https://www.anchorterminal.com/tools/sonarqube-mcp.min.md
- Sourcegraph MCP Server: B 62.5, rank #728 of 1654 · https://www.anchorterminal.com/tools/sourcegraph-mcp.min.md
- SonarQube MCP Server, good for Coding agents in teams already on SonarQube, to read findings, check quality gates and coverage and triage issues. Ahead on Schema & documentation, 80 against 71; Agent ergonomics, 80 against 72; Payments & pricing, 45 against 23. Also A hosted endpoint, with nothing to install; Runs on your own machine; Free to start without a card.
- Sourcegraph MCP Server, 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 Reliability, 60 against 50.

| Category | SonarQube MCP Server | Sourcegraph MCP Server |
| --- | --- | --- |
| Reliability (16%) | 50 | 60 |
| Performance (10%) | pending | pending |
| Schema & documentation (13%) | 80 | 71 |
| Agent ergonomics (13%) | 80 | 72 |
| Security & auth (14%) | 73 | 76 |
| Payments & pricing (10%) | 45 | 23 |
| Task success (10%) | pending | pending |
| Maintenance & community (7%) | 87 | 83 |
| Transparency & trust (7%) | 79 | 78 |

| Fact (where they differ) | SonarQube MCP Server | Sourcegraph MCP Server |
| --- | --- | --- |
| Vendor | SonarSource | Sourcegraph, Inc. |
| Hosted endpoint | `https://api.sonarcloud.io/mcp` | no (local only) |
| Transports | stdio, Streamable HTTP | Streamable HTTP |
| Pricing | Freemium | Paid |
| Licence | SONAR Source-Available License v1.0 (SSAL) | Proprietary. The server is part of the Sourcegraph Enterprise product under the Sourcegraph Terms of Service |
| Tools exposed | 51 | 16 |
| llms.txt | yes | no |
| MCP registry | `io.github.SonarSource/sonarqube-mcp-server` | `io.github.sourcegraph/mcp` |
| Last release | 2026-11-20 | 2026-10-14 |
| Terms last updated | no date given | 2026-07-22 |
| Privacy policy last updated | 2025-11-03 | 2026-06-12 |
| Customer content may train models | not found in the text | yes, with an opt-out |
| Arbitration or class-action waiver | not found in the text | yes |
| Popularity | 694 stars | none |

Why the edge:
- Payments & pricing, SonarQube MCP Server +22: SonarQube MCP Server 45 (No x402, MPP or L402 (0).); Sourcegraph MCP Server 23 (No x402, MPP or L402 (0).)
- Reliability, Sourcegraph MCP Server +10: SonarQube MCP Server 50 (Read with the hosted lines, since the SonarQube Cloud-hosted endpoint needs no install.); Sourcegraph MCP Server 60 (Scored with the hosted lines, because the server is an HTTP endpoint on a Sourcegraph Cloud or self-hosted instance.)
- Schema & documentation, SonarQube MCP Server +9: SonarQube MCP Server 80 (Every tool takes a typed input schema built in the Java source, with readOnlyHint set on read tools (25).); Sourcegraph MCP Server 71 (The docs list each tool's parameters with required and optional marks, defaults and maximums.)
- Agent ergonomics, SonarQube MCP Server +8: SonarQube MCP Server 80 (51 tools in the full catalogue and a default set of 12 toolsets (15), with toolsets, per-request `SONARQUBE_TOOLSETS` headers and a read-only mode added back (1…); Sourcegraph MCP Server 72 (Sixteen documented tools on /.api/mcp/all, nine on the default endpoint and two on /.api/mcp/deepsearch, and admins can remove tools with `mcp.tools.disabled`.)
