{
  "data": {
    "a": {
      "slug": "sonarqube-mcp",
      "name": "SonarQube MCP Server",
      "vendor": "SonarSource",
      "vendorUrl": "https://www.sonarsource.com/products/sonarqube/mcp-server/",
      "company": "sonarsource.com",
      "kind": "mcp",
      "category": "code",
      "summary": "SonarSource's official MCP server connects coding agents to SonarQube Cloud and SonarQube Server, to search issues, security hotspots, quality gates, coverage and dependency risks and to analyse files. It runs locally from a container image or hosted in SonarQube Cloud.",
      "url": "https://www.anchorterminal.com/tools/sonarqube-mcp",
      "markdownUrl": "https://www.anchorterminal.com/tools/sonarqube-mcp.md",
      "slimMarkdownUrl": "https://www.anchorterminal.com/tools/sonarqube-mcp.min.md",
      "cardUrl": "https://www.anchorterminal.com/tools/sonarqube-mcp.card.md",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/sonarqube-mcp.json",
      "dns": "sonarqube-mcp.grade.anchorterminal.com",
      "repo": "https://github.com/SonarSource/sonarqube-mcp-server",
      "license": "SONAR Source-Available License v1.0 (SSAL)",
      "transports": [
        "stdio",
        "streamable-http"
      ],
      "remoteUrl": "https://api.sonarcloud.io/mcp",
      "packages": [
        {
          "registry": "oci",
          "name": "docker.io/sonarsource/sonarqube-mcp"
        }
      ],
      "auth": "mixed",
      "authNotes": "A SonarQube user token (`SONARQUBE_TOKEN` for stdio, `Authorization: Bearer` over HTTP) made by a person in the SonarQube account settings. The SonarQube Cloud-hosted server at api.sonarcloud.io/mcp also takes OAuth with `mcp:tools:read` and `mcp:tools:write` scopes, but only for clients on Sonar's approved CIMD list (Claude Code and claude.ai among them). SonarQube Server needs a USER token, version 2025.1 or later.",
      "pricing": "freemium",
      "pricingNotes": "The MCP server costs nothing. It needs a SonarQube Cloud or SonarQube Server account. SonarQube Cloud's free tier covers private projects up to 50k lines of code with no card and no expiry, and public open-source repositories are free. The Team plan starts at $34 a month for 100k lines. Enterprise is contact sales. Vortex tools need a paid subscription.",
      "priceSummary": "$34 / mo",
      "where": "both",
      "x402": {
        "level": "no",
        "evidence": "No x402, MPP or L402 in the README, the MCP docs or the plans page (checked 2026-11-23). Paid plans are billed by card per month or by contract.",
        "endpoints": []
      },
      "toolCount": 51,
      "popularity": {
        "githubStars": 694,
        "npmWeekly": null,
        "pypiWeekly": null,
        "asOf": "2026-11-23"
      },
      "docsUrl": "https://docs.sonarsource.com/sonarqube-mcp-server",
      "llmsTxt": "https://docs.sonarsource.com/llms.txt",
      "registryName": "io.github.SonarSource/sonarqube-mcp-server",
      "capabilities": [
        "code.repo",
        "code.review",
        "code.testing"
      ],
      "tags": [
        "official",
        "hosted",
        "local",
        "source-available",
        "oauth",
        "mcp",
        "remote-mcp",
        "mcp-registry",
        "docker",
        "llms-txt",
        "read-only-mode",
        "free-tier",
        "no-card",
        "telemetry"
      ],
      "lastRelease": "2026-11-20",
      "graded": true,
      "anchor": {
        "graded": true,
        "score": 66.9,
        "grade": "B",
        "agentReady": false,
        "rank": 498,
        "ranked": true,
        "rankOf": 1654,
        "categoryRank": 10,
        "methodology": "1.0",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 80,
          "maintenance": 87,
          "payments": 45,
          "reliability": 50,
          "schema": 80,
          "security": 73,
          "transparency": 79
        },
        "assessment": {
          "confidence": "medium",
          "date": "2026-11-23"
        },
        "negative": -2,
        "negativeNotes": [
          "2026-11-23: the plans page calls the SonarQube MCP Server \"Open source and free\", while the repository and docs license it under the SONAR Source-Available License v1.0, not an OSI licence (-2). https://www.sonarsource.com/plans-and-pricing/"
        ],
        "verdict": "Gives coding agents typed, paginated access to SonarQube issues, hotspots, quality gates and coverage, with toolsets, a read-only mode and scoped OAuth on the hosted server. Every use needs a SonarQube account a person creates, the hosted server documents no rate limits, and the licence is source-available, not open source.",
        "bestFor": "Coding agents in teams already on SonarQube, to read findings, check quality gates and coverage and triage issues.",
        "strengths": [
          "Toolsets and a read-only mode trim 51 tools to what the task needs, and HTTP clients can narrow both per request with headers",
          "Hosted OAuth splits read and write with `mcp:tools:read` and `mcp:tools:write` scopes",
          "Eight releases in the 90 days to 20 November 2026, each in the official MCP registry under io.github.SonarSource",
          "A deprecations page names each removed or renamed parameter and the version that changed it",
          "SonarQube Cloud's free tier covers private projects up to 50k lines with no card"
        ],
        "weaknesses": [
          "Every route needs a SonarQube account and a token or OAuth sign-in made by a person in a browser",
          "No rate limits, 429 handling or SLA found for the hosted MCP endpoint",
          "Licensed under the SONAR Source-Available License, which the plans page describes as open source",
          "OAuth works only for clients on Sonar's approved CIMD list, and other clients fall back to user tokens",
          "Telemetry is on by default in the self-hosted server"
        ],
        "agentNotes": [
          "Set `SONARQUBE_READ_ONLY=true` unless the task must change issue or hotspot status",
          "Call `list_organizations` first on SonarQube Cloud, then pass the key as `organization` on each tool",
          "Mount the project at `/app/mcp-workspace` and pass `filePath`, so file content stays out of the context",
          "Use `branch` and `pullRequest`, not the removed `branchKey` and `pullRequestKey` parameters",
          "If an OAuth call fails with `Insufficient OAuth scope`, ask the user to grant `mcp:tools:write`"
        ],
        "metrics": {
          "kind": "remote",
          "measured": false
        },
        "reviewCount": 0,
        "avgRating": 0,
        "history": [
          {
            "basis": "public evidence",
            "confidence": "medium",
            "grade": "B",
            "methodology": "1.0",
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 66.9
          }
        ],
        "editorialScores": {
          "ergonomics": 80,
          "maintenance": 87,
          "payments": 45,
          "reliability": 50,
          "schema": 80,
          "security": 73,
          "transparency": 75
        },
        "provenanceScore": 83,
        "checked": {
          "categories": {
            "ergonomics": "2026-11-23",
            "maintenance": "2026-11-23",
            "payments": "2026-11-23",
            "reliability": "2026-11-23",
            "schema": "2026-11-23",
            "security": "2026-11-23",
            "transparency": "2026-11-23"
          },
          "last": "2026-11-23",
          "oldest": "2026-11-23",
          "stale": false,
          "staleAfterDays": 90
        }
      },
      "connect": {
        "claudeCode": "claude mcp add --transport http sonarqube https://api.sonarcloud.io/mcp",
        "config": {
          "mcpServers": {
            "sonarqube": {
              "args": [
                "run",
                "--init",
                "--pull=always",
                "-i",
                "--rm",
                "-e",
                "SONARQUBE_TOKEN",
                "-e",
                "SONARQUBE_ORG",
                "sonarsource/sonarqube-mcp"
              ],
              "command": "docker",
              "env": {
                "SONARQUBE_ORG": "\u003cYOUR_ORG\u003e",
                "SONARQUBE_TOKEN": "\u003cYOUR_TOKEN\u003e"
              }
            }
          }
        }
      },
      "letme": {
        "capability": "https://letme.dev/code.repo",
        "tool": "https://letme.dev/sonarqube-mcp"
      },
      "area": "developer",
      "unitPrices": [
        {
          "item": "SonarQube Cloud Team plan, up to 100k lines of code",
          "unit": "month",
          "usd": 34,
          "note": "Starting price on the plans page, 23 November 2026. The MCP server itself is free"
        }
      ],
      "provenance": {
        "legalEntity": "SonarSource Sàrl",
        "domain": "sonarsource.com",
        "domainRegistered": "2008-06-22",
        "endpointOnVendorDomain": false,
        "terms": "https://www.sonarsource.com/legal/sonarcloud/terms-of-service/",
        "privacy": "https://www.sonarsource.com/company/privacy/",
        "statusPage": "https://status.sonarqube.com",
        "changelog": "https://github.com/SonarSource/sonarqube-mcp-server/releases",
        "securityTxt": "valid",
        "checked": "2026-11-23",
        "notes": [
          "The docs footer names SonarSource Sàrl. The hosted endpoint is on api.sonarcloud.io, SonarQube Cloud's own API host, not on sonarsource.com.",
          "sonarsource.com/.well-known/security.txt names security@sonarsource.com, a PGP key and the responsible disclosure policy, and expires 31 October 2027.",
          "www.sonarsource.com/robots.txt has groups for ClaudeBot, anthropic-ai and other Anthropic agents and carries `Content-Signal: ai-train=yes, search=yes, ai-input=yes`. docs.sonarsource.com carries the same Content-Signal.",
          "api.sonarcloud.io/robots.txt answered 403, so the hosted endpoint got no request.",
          "RDAP gives sonarsource.com a registration date of 22 June 2008.",
          "The README says MCP use is governed by the SonarQube Cloud Terms of Service or the SonarQube Server Terms and Conditions, with results used only for internal software development. These terms were not read in full."
        ],
        "score": 83
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/sonarqube-mcp.json",
      "live": {
        "slug": "sonarqube-mcp",
        "probe": {
          "target": "https://api.sonarcloud.io/mcp",
          "method": "mcp-initialize",
          "lastAt": "2026-11-23T17:54:26.129394455Z",
          "lastOk": true,
          "lastStatus": 401,
          "lastMs": 61,
          "lastNote": "asks for credentials",
          "authRequired": true,
          "uptime24h": 100,
          "uptime30d": 100,
          "p50ms24h": 55,
          "p95ms24h": 147,
          "samples24h": 21,
          "samples30d": 21,
          "days": [
            {
              "date": "2026-11-23",
              "probes": 21,
              "ok": 21
            }
          ],
          "since": "2026-11-23T15:53:46.335832308Z"
        },
        "vendorStatus": {
          "page": "https://status.sonarqube.com",
          "indicator": "none",
          "summary": "All Systems Operational",
          "checkedAt": "2026-11-23T17:48:19.292199668Z"
        },
        "securityTxt": {
          "url": "https://sonarsource.com/.well-known/security.txt",
          "state": "valid",
          "expires": "2027-10-31T23:59:59.000Z",
          "checkedAt": "2026-11-23T16:44:36.564690528Z"
        },
        "llmsTxt": {
          "url": "https://docs.sonarsource.com/llms.txt",
          "ok": true,
          "status": 200,
          "checkedAt": "2026-11-23T16:41:19.449822311Z"
        },
        "updatedAt": "2026-11-23T17:54:26.129394455Z"
      },
      "streak": {
        "days": 0,
        "from": "2026-11-23",
        "sinceWatching": true,
        "best": 0
      }
    },
    "answer": "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.",
    "b": {
      "slug": "sourcegraph-mcp",
      "name": "Sourcegraph MCP Server",
      "vendor": "Sourcegraph, Inc.",
      "vendorUrl": "https://sourcegraph.com",
      "company": "sourcegraph.com",
      "kind": "mcp",
      "category": "code",
      "summary": "Sourcegraph's official MCP server gives AI agents code search, file reading, code navigation and commit and diff search across the repositories indexed by a company's Sourcegraph instance. It is built into Enterprise instances at /.api/mcp.",
      "url": "https://www.anchorterminal.com/tools/sourcegraph-mcp",
      "markdownUrl": "https://www.anchorterminal.com/tools/sourcegraph-mcp.md",
      "slimMarkdownUrl": "https://www.anchorterminal.com/tools/sourcegraph-mcp.min.md",
      "cardUrl": "https://www.anchorterminal.com/tools/sourcegraph-mcp.card.md",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/sourcegraph-mcp.json",
      "dns": "sourcegraph-mcp.grade.anchorterminal.com",
      "license": "Proprietary. The server is part of the Sourcegraph Enterprise product under the Sourcegraph Terms of Service",
      "transports": [
        "streamable-http"
      ],
      "packages": [],
      "auth": "mixed",
      "authNotes": "An admin of a Sourcegraph Enterprise instance must exist first, and access starts with a sales contract or an approved trial. On the instance, MCP clients use OAuth 2.0 with PKCE and register themselves through dynamic client registration, which is on by default and limited to the `mcp` scope. A user approves the grant in a browser. Admins can disable registration and pre-register public clients. Clients without OAuth send a Sourcegraph access token as `Authorization: token \u003ctoken\u003e`, and the token can carry the `mcp` scope. Users need the `MCP#ACCESS` permission, granted to the User role by default.",
      "pricing": "paid",
      "pricingNotes": "Enterprise plans only. The pricing page lists one plan, starting at a $16K minimum annual contract that scales with team size, bought through sales. No per-user or per-call price is published. The plan includes credits for AI tools, and `code_finder` and Deep Search draw on that entitlement. A Sourcegraph Cloud trial is available on request and subject to eligibility, with no sandbox or free tier found (checked 2026-10-08).",
      "priceSummary": "Paid",
      "where": "local",
      "x402": {
        "level": "no",
        "evidence": "No x402, MPP or L402 in the MCP docs, the authentication docs or the pricing page (checked 2026-10-08).",
        "endpoints": []
      },
      "toolCount": 16,
      "popularity": {
        "githubStars": null,
        "npmWeekly": null,
        "pypiWeekly": null,
        "asOf": "2026-10-08"
      },
      "docsUrl": "https://sourcegraph.com/docs/api/mcp",
      "registryName": "io.github.sourcegraph/mcp",
      "capabilities": [
        "code.repo",
        "code.git"
      ],
      "tags": [
        "official",
        "mcp",
        "hosted",
        "self-hosted",
        "enterprise",
        "oauth",
        "read-only",
        "code-search",
        "sales-led",
        "soc2"
      ],
      "lastRelease": "2026-10-14",
      "graded": true,
      "anchor": {
        "graded": true,
        "score": 62.5,
        "grade": "B",
        "agentReady": false,
        "rank": 728,
        "ranked": true,
        "rankOf": 1654,
        "categoryRank": 14,
        "methodology": "1.0",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 72,
          "maintenance": 83,
          "payments": 23,
          "reliability": 60,
          "schema": 71,
          "security": 76,
          "transparency": 78
        },
        "assessment": {
          "confidence": "medium",
          "date": "2026-11-04"
        },
        "negative": -3,
        "negativeNotes": [
          "-3, a published behaviour changed for existing clients with notice only when it shipped. Sourcegraph's Cloud update notes of 24 August 2026 say the `nls_search` tool was removed from the default /.api/mcp endpoint when Code Finder is enabled, and self-hosted 7.7.0, a minor release on 26 August 2026, carries the same change. No earlier notice was found. The tool stays on /.api/mcp/all and as a fallback when Code Finder is off. https://sourcegraph.com/changelog/2026-08-24"
        ],
        "verdict": "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.",
        "bestFor": "A company that already runs Sourcegraph and wants agents to search and navigate many repositories with compiler-accurate definitions and references.",
        "strengths": [
          "All 16 documented tools read and none writes to a repository, with three endpoints so a client can load 9, 16 or 2 tools",
          "OAuth 2.0 with PKCE and dynamic client registration, registered clients held to the `mcp` scope, and access tokens that can carry the same scope",
          "Repository permissions apply to every call, and admins can gate MCP by role (`MCP#ACCESS`) or switch off single tools with `mcp.tools.disabled`",
          "Result limits and defaults are documented per tool, such as 1,000 directory entries, 100 commits and 200 lines for files over 128KB",
          "Listed in the official MCP registry as io.github.sourcegraph/mcp, with MCP changes in dated release notes through 2026"
        ],
        "weaknesses": [
          "Enterprise plans only, from a $16,000 minimum annual contract through sales. A Cloud trial is by request and subject to eligibility",
          "No request rate limits, 429 behaviour or tool error catalogue found in the reviewed documentation, and `nls_search` left the default endpoint in August 2026 without earlier notice",
          "`code_finder` and Deep Search draw on the instance's credit entitlement and return an error once the quota is used up",
          "No guidance on prompt injection from repository content was found, although every search and file tool returns such content",
          "sourcegraph.com/.well-known/security.txt returns 404, and the bug bounty on HackerOne is invite-only"
        ],
        "agentNotes": [
          "Connect to https://\u003cinstance\u003e/.api/mcp for the nine core tools. Use /.api/mcp/all for `go_to_definition`, `find_references`, `list_refs`, `get_contributor_repos`, `compare_revisions`, `deepsearch` and `nls_search`",
          "Request only the `mcp` scope in OAuth. Any other scope on the MCP resource fails with `invalid_scope`",
          "Without OAuth, send `Authorization: token \u003caccess token\u003e` and create the token with the `mcp` scope and an expiry",
          "Call `list_repos` first and name the repository in every `code_finder` task. It declines broad searches across repositories",
          "Read large files with `startLine` and `endLine`. Files over 128KB return only the first 200 lines"
        ],
        "metrics": {
          "kind": "remote",
          "measured": false
        },
        "reviewCount": 0,
        "avgRating": 0,
        "history": [
          {
            "basis": "public evidence",
            "confidence": "medium",
            "grade": "B",
            "methodology": "1.0",
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 62.5
          }
        ],
        "editorialScores": {
          "ergonomics": 72,
          "maintenance": 83,
          "payments": 23,
          "reliability": 60,
          "schema": 71,
          "security": 76,
          "transparency": 65
        },
        "provenanceScore": 90,
        "checked": {
          "categories": {
            "ergonomics": "2026-11-04",
            "maintenance": "2026-11-04",
            "payments": "2026-11-04",
            "reliability": "2026-11-04",
            "schema": "2026-11-04",
            "security": "2026-11-04",
            "transparency": "2026-11-04"
          },
          "last": "2026-11-04",
          "lastMoved": "2026-11-13",
          "oldest": "2026-11-04",
          "stale": false,
          "staleAfterDays": 90
        }
      },
      "connect": {
        "claudeCode": "claude mcp add --transport http sourcegraph https://sourcegraph.example.com/.api/mcp",
        "config": {
          "mcpServers": {
            "sourcegraph": {
              "type": "http",
              "url": "https://sourcegraph.example.com/.api/mcp"
            }
          }
        },
        "headless": {
          "mcpServers": {
            "sourcegraph": {
              "headers": {
                "Authorization": "token ${SOURCEGRAPH_ACCESS_TOKEN}"
              },
              "type": "http",
              "url": "https://sourcegraph.example.com/.api/mcp"
            }
          }
        }
      },
      "letme": {
        "capability": "https://letme.dev/code.repo",
        "tool": "https://letme.dev/sourcegraph-mcp"
      },
      "area": "developer",
      "provenance": {
        "legalEntity": "Sourcegraph, Inc.",
        "domain": "sourcegraph.com",
        "domainRegistered": "2012-11-25",
        "endpointOnVendorDomain": true,
        "terms": "https://sourcegraph.com/terms/tos",
        "privacy": "https://sourcegraph.com/terms/privacy",
        "statusPage": "https://sourcegraphstatus.com",
        "changelog": "https://sourcegraph.com/changelog",
        "securityTxt": "none",
        "checked": "2026-11-04",
        "notes": [
          "The Terms of Service (last modified 22 July 2026) name Sourcegraph, Inc., 548 Market St PMB 20739, San Francisco, CA 94104-5401, and govern all Sourcegraph products. Enterprise licences are bought with an order form under these terms.",
          "The Privacy Policy (last modified 12 June 2026) says it does not cover user content such as customer code, which Sourcegraph processes as a data processor under the customer agreement and the DPA at sourcegraph.com/terms/dpa.",
          "The endpoint is on the customer's own instance. Sourcegraph Cloud instances are single-tenant, and the terms describe trial instances at \u003corganisation\u003e.sourcegraph.com. A self-hosted instance answers on the customer's domain.",
          "sourcegraph.com/.well-known/security.txt and /security.txt both returned 404 on 2026-10-08, and /.well-known/security.txt returned 404 again on 2026-11-04. The security portal sends reports to security@sourcegraph.com.",
          "RDAP for sourcegraph.com gives a registration date of 2012-11-25.",
          "The site footer links System status to https://sourcegraphstatus.com, an incident.io page that loaded on 2026-11-04 with components for Sourcegraph Cloud and seven other services."
        ],
        "score": 90
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/sourcegraph-mcp.json",
      "live": {
        "slug": "sourcegraph-mcp",
        "vendorStatus": {
          "page": "https://sourcegraphstatus.com",
          "indicator": "none",
          "summary": "All Systems Operational",
          "checkedAt": "2026-11-23T17:48:19.394907746Z"
        },
        "versions": [
          {
            "registry": "mcp-registry",
            "name": "io.github.sourcegraph/mcp",
            "version": "0.1.0",
            "seenAt": "2026-11-23T00:25:29.833222197Z"
          }
        ],
        "securityTxt": {
          "url": "https://sourcegraph.com/.well-known/security.txt",
          "state": "none",
          "checkedAt": "2026-11-23T16:43:28.859372364Z"
        },
        "domain": {
          "domain": "sourcegraph.com",
          "registered": "2012-11-25",
          "source": "https://rdap.verisign.com/com/v1/domain/sourcegraph.com",
          "checkedAt": "2026-11-22T16:05:39.387529823Z"
        },
        "pages": [
          {
            "url": "https://sourcegraph.com/changelog",
            "kind": "changelog",
            "status": 200,
            "checkedAt": "2026-11-23T00:38:52.431142431Z",
            "changedAt": "2026-11-17T21:13:45.406611169Z",
            "fingerprint": "4fbaa8c537af"
          },
          {
            "url": "https://sourcegraph.com/terms/privacy",
            "kind": "privacy",
            "status": 200,
            "checkedAt": "2026-11-23T00:38:54.717676452Z",
            "changedAt": "2026-11-18T21:54:34.648128334Z",
            "fingerprint": "6734305c6626"
          },
          {
            "url": "https://sourcegraph.com/terms/tos",
            "kind": "terms",
            "status": 200,
            "checkedAt": "2026-11-23T00:38:56.701409467Z",
            "changedAt": "2026-11-18T21:54:36.242049145Z",
            "fingerprint": "8815f8bbc394"
          }
        ],
        "updatedAt": "2026-11-23T17:48:19.394907746Z"
      }
    },
    "edges": [
      {
        "by": 22,
        "category": "payments",
        "leads": "sonarqube-mcp",
        "name": "Payments \u0026 pricing",
        "reasons": {
          "a": "No x402, MPP or L402 (0). Plan pricing is public, Team from $34 a month for 100k lines of code, with no per-call price since the server is free (15). SonarQube Cloud's free tier covers private projects up to 50k lines with no card and no expiry (30). A person signs up in a browser and makes the token or signs in with OAuth (0).",
          "b": "No x402, MPP or L402 (0). The pricing page publishes a starting figure, a $16K minimum annual contract, with no per-user or per-call price and a contact-sales button, so half of the plan-pricing credit (5). A free Sourcegraph Cloud trial exists by request, with eligibility reviewed and a wait of up to an hour in business hours. No card is mentioned, so half credit (10). An agent cannot gain access alone. A company needs a contract or an approved trial, and a user approves OAuth in a browser (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 15 is 23."
        },
        "scores": {
          "a": 45,
          "b": 23
        }
      },
      {
        "by": 10,
        "category": "reliability",
        "leads": "sourcegraph-mcp",
        "name": "Reliability",
        "reasons": {
          "a": "Read with the hosted lines, since the SonarQube Cloud-hosted endpoint needs no install. status.sonarqube.com is an Atlassian Statuspage with an RSS history (20). The 90 days to 23 November hold about ten analysis incidents, each under about an hour (Automatic Analysis failures on 16 November, Bitbucket pull request analysis on 26 October, Quality Gates on 16 October, US analysis on 5 October, elevated errors on 17 September), none naming the MCP endpoint (20). No rate limits for the MCP endpoint found (0). No 429 or retry guidance found (0). No SLA found (0). The hosted server is generally available, not marked beta (10).",
          "b": "Scored with the hosted lines, because the server is an HTTP endpoint on a Sourcegraph Cloud or self-hosted instance. sourcegraphstatus.com, which didn't resolve on 8 October, loaded on 4 November 2026. It is an incident.io page with components for Sourcegraph Cloud, the self-hosted release, the model provider, accounts, workspaces, analytics, the Enterprise Portal and public code search. No component names MCP. The MCP endpoint is a path on each Cloud instance, but a vendor page with no MCP component takes 15, as honeycomb-mcp, sentry-mcp and slack-mcp do, whose MCP servers also sit on infrastructure the vendor's components cover (15). Its feed and incident pages show five Cloud incidents touching 6 August to 4 November. A us-central1 partial outage from 4 August 19:25 to 6 August 05:16 UTC, increased latency and errors from 31 August 17:56 to 1 September 08:41 UTC, degraded performance from Google Cloud issues on 1 and 2 September, a US Central regional incident from 4 to 9 September, and Europe latency and errors on 20 October. Each names one region or a degradation without a full outage, so each reads as partial (minor only, 20). No request rate limits for the MCP endpoints were found in the reviewed documentation, only result limits per tool (0). No 429 or backoff guidance was found. Releases 8.0.0 and 8.1.0 say search tools separate incomplete searches and timeouts from empty results so a client can retry, and every tool reads, so retries are safe (5, a partial kept from 8 October). The SLA page, read again on 4 November, commits to 99.5 per cent monthly uptime on Business and Enterprise plans (10). The server carries no beta label, and Code Finder became generally available on 20 August 2026 (10). 15+20+0+5+10+10 = 60."
        },
        "scores": {
          "a": 50,
          "b": 60
        }
      },
      {
        "by": 9,
        "category": "schema",
        "leads": "sonarqube-mcp",
        "name": "Schema \u0026 documentation",
        "reasons": {
          "a": "Every tool takes a typed input schema built in the Java source, with readOnlyHint set on read tools (25). llms.txt at docs.sonarsource.com and every docs page as Markdown with a .md suffix (10). Descriptions say what each tool does and some say when to use it (`get_file_coverage_details` says to use it after finding a low-coverage file), with few when-not-to lines (13 of 20). Required fields and some enums (`status`, `scope`), but severities and qualities are free strings listed in the description (10 of 15). A prompt examples page and a troubleshooting page, and OAuth scope errors are documented, but no error catalogue (9 of 15). Versioned releases with notes and a deprecations page (15). 82 less 2 for the gaps between the README and the docs on the hosted subset, 80.",
          "b": "The docs list each tool's parameters with required and optional marks, defaults and maximums. We could not read the tool definitions themselves, because every endpoint needs an Enterprise instance, so the machine-readable contract earns partial credit (15). /llms.txt and /docs/llms.txt return 404, but every docs page is served as Markdown at its URL plus .md (10). Tool entries state use cases, `code_finder` has best practices and a contrast with `deepsearch`, and a matrix shows which endpoint carries which tool (14). Required fields, defaults and bounds are documented, while search filters travel inside one query string and `evaluator` takes a free Lua script (9). `list_refs` has JSON examples and the authentication page has a troubleshooting table for `invalid_scope`, 401, 403 and 404, with no catalogue of tool errors (8). Versioned releases with dated MCP entries in the changelog (15)."
        },
        "scores": {
          "a": 80,
          "b": 71
        }
      },
      {
        "by": 8,
        "category": "ergonomics",
        "leads": "sonarqube-mcp",
        "name": "Agent ergonomics",
        "reasons": {
          "a": "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 (10). `pageIndex` and `pageSize` up to 500, branch, pull request, severity, status and new-code filters (20). Errors are returned as tool messages, with organisation discovery guidance when no organisation is given, but no documented codes (10 of 20). readOnlyHint on 40 tool classes and destructiveHint in the definition builder, and status changes are safe to repeat (17 of 20). Few required parameters, and `SONARQUBE_PROJECT_KEY` removes `projectKey` from every schema. No SDK, as an MCP server (8 of 15).",
          "b": "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`. Definition sizes are unread (23). Result limits on every list and search tool, an `after` cursor on `compare_revisions`, `count` on searches and line ranges on `read_file` (17). Search tools report incomplete results with retry advice per the 8.0.0 notes, and 8.1.0 (14 October 2026) reports timeouts as errors and query-planning failures as invalid-argument errors rather than server errors, and HTTP 401, 403 and 404 causes are documented, but no tool error list was found (10). No tool writes to a repository, so repeating a call is safe. `deepsearch` creates a conversation each time, and we could not read the readOnlyHint or destructiveHint annotations (10). Most tools need one to three parameters with stated defaults. There is no SDK to count, as the surface is MCP only (12)."
        },
        "scores": {
          "a": 80,
          "b": 72
        }
      }
    ],
    "facts": [
      {
        "a": "MCP server",
        "b": "MCP server",
        "name": "Kind"
      },
      {
        "a": "SonarSource",
        "b": "Sourcegraph, Inc.",
        "name": "Vendor"
      },
      {
        "a": "https://api.sonarcloud.io/mcp",
        "b": "no (local only)",
        "name": "Hosted endpoint"
      },
      {
        "a": "stdio, Streamable HTTP",
        "b": "Streamable HTTP",
        "name": "Transports"
      },
      {
        "a": "OAuth or key",
        "b": "OAuth or key",
        "name": "Auth"
      },
      {
        "a": "Freemium",
        "b": "Paid",
        "name": "Pricing"
      },
      {
        "a": "no",
        "b": "no",
        "name": "x402"
      },
      {
        "a": "SONAR Source-Available License v1.0 (SSAL)",
        "b": "Proprietary. The server is part of the Sourcegraph Enterprise product under the Sourcegraph Terms of Service",
        "name": "Licence"
      },
      {
        "a": "51",
        "b": "16",
        "name": "Tools exposed"
      },
      {
        "a": "yes",
        "b": "yes",
        "name": "Read-only variant documented"
      },
      {
        "a": "yes",
        "b": "no",
        "name": "llms.txt"
      },
      {
        "a": "io.github.SonarSource/sonarqube-mcp-server",
        "b": "io.github.sourcegraph/mcp",
        "name": "MCP registry"
      },
      {
        "a": "2026-11-20",
        "b": "2026-10-14",
        "name": "Last release"
      },
      {
        "a": "no date given",
        "b": "2026-07-22",
        "name": "Terms last updated"
      },
      {
        "a": "2025-11-03",
        "b": "2026-06-12",
        "name": "Privacy policy last updated"
      },
      {
        "a": "not found in the text",
        "b": "yes, with an opt-out",
        "name": "Customer content may train models"
      },
      {
        "a": "not found in the text",
        "b": "not found in the text",
        "name": "Terms restrict automated access"
      },
      {
        "a": "not found in the text",
        "b": "not found in the text",
        "name": "Terms restrict benchmarking"
      },
      {
        "a": "not found in the text",
        "b": "not found in the text",
        "name": "Terms or service can change without notice"
      },
      {
        "a": "not found in the text",
        "b": "yes",
        "name": "Arbitration or class-action waiver"
      },
      {
        "a": "694 stars",
        "b": "none",
        "name": "Popularity"
      }
    ],
    "faq": [
      {
        "answer": "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.",
        "question": "Which is better for AI agents, SonarQube MCP Server or Sourcegraph MCP Server?"
      },
      {
        "answer": "Both take an API key or an OAuth sign-in.",
        "question": "Do SonarQube MCP Server and Sourcegraph MCP Server need an API key?"
      },
      {
        "answer": "SonarQube MCP Server has a hosted endpoint at https://api.sonarcloud.io/mcp. No hosted endpoint is listed for Sourcegraph MCP Server.",
        "question": "Can an agent call SonarQube MCP Server and Sourcegraph MCP Server without installing anything?"
      }
    ],
    "goodFor": [
      {
        "aheadOn": [
          "Schema \u0026 documentation, 80 against 71",
          "Agent ergonomics, 80 against 72",
          "Payments \u0026 pricing, 45 against 23"
        ],
        "also": [
          "A hosted endpoint, with nothing to install",
          "Runs on your own machine",
          "Free to start without a card"
        ],
        "goodFor": "Coding agents in teams already on SonarQube, to read findings, check quality gates and coverage and triage issues.",
        "slug": "sonarqube-mcp",
        "watchFor": "Every route needs a SonarQube account and a token or OAuth sign-in made by a person in a browser"
      },
      {
        "aheadOn": [
          "Reliability, 60 against 50"
        ],
        "also": null,
        "goodFor": "A company that already runs Sourcegraph and wants agents to search and navigate many repositories with compiler-accurate definitions and references.",
        "slug": "sourcegraph-mcp",
        "watchFor": "Enterprise plans only, from a $16,000 minimum annual contract through sales. A Cloud trial is by request and subject to eligibility"
      }
    ],
    "history": {
      "sonarqube-mcp": null,
      "sourcegraph-mcp": [
        {
          "causes": [
            "method"
          ],
          "date": "2026-11-13",
          "delta": 1,
          "from": 61.5,
          "fromGrade": "C",
          "to": 62.5,
          "toGrade": "B"
        },
        {
          "causes": [
            "evidence",
            "correction"
          ],
          "date": "2026-11-04",
          "delta": 4,
          "from": 57.5,
          "fromGrade": "C",
          "to": 61.5,
          "toGrade": "C"
        }
      ]
    },
    "job": {
      "capability": "code.repo",
      "name": "Code repositories"
    },
    "others": [
      {
        "json": "https://www.anchorterminal.com/compare/azure-devops-mcp-vs-sonarqube-mcp.json",
        "title": "Azure DevOps MCP Server vs SonarQube MCP Server",
        "url": "https://www.anchorterminal.com/compare/azure-devops-mcp-vs-sonarqube-mcp"
      },
      {
        "json": "https://www.anchorterminal.com/compare/azure-devops-mcp-vs-sourcegraph-mcp.json",
        "title": "Azure DevOps MCP Server vs Sourcegraph MCP Server",
        "url": "https://www.anchorterminal.com/compare/azure-devops-mcp-vs-sourcegraph-mcp"
      },
      {
        "json": "https://www.anchorterminal.com/compare/entire-vs-sonarqube-mcp.json",
        "title": "Entire vs SonarQube MCP Server",
        "url": "https://www.anchorterminal.com/compare/entire-vs-sonarqube-mcp"
      },
      {
        "json": "https://www.anchorterminal.com/compare/entire-vs-sourcegraph-mcp.json",
        "title": "Entire vs Sourcegraph MCP Server",
        "url": "https://www.anchorterminal.com/compare/entire-vs-sourcegraph-mcp"
      },
      {
        "json": "https://www.anchorterminal.com/compare/github-mcp-server-vs-sonarqube-mcp.json",
        "title": "GitHub MCP Server vs SonarQube MCP Server",
        "url": "https://www.anchorterminal.com/compare/github-mcp-server-vs-sonarqube-mcp"
      },
      {
        "json": "https://www.anchorterminal.com/compare/github-mcp-server-vs-sourcegraph-mcp.json",
        "title": "GitHub MCP Server vs Sourcegraph MCP Server",
        "url": "https://www.anchorterminal.com/compare/github-mcp-server-vs-sourcegraph-mcp"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gitlab-mcp-vs-sonarqube-mcp.json",
        "title": "GitLab MCP Server vs SonarQube MCP Server",
        "url": "https://www.anchorterminal.com/compare/gitlab-mcp-vs-sonarqube-mcp"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gitlab-mcp-vs-sourcegraph-mcp.json",
        "title": "GitLab MCP Server vs Sourcegraph MCP Server",
        "url": "https://www.anchorterminal.com/compare/gitlab-mcp-vs-sourcegraph-mcp"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gitmcp-vs-sonarqube-mcp.json",
        "title": "GitMCP vs SonarQube MCP Server",
        "url": "https://www.anchorterminal.com/compare/gitmcp-vs-sonarqube-mcp"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gitmcp-vs-sourcegraph-mcp.json",
        "title": "GitMCP vs Sourcegraph MCP Server",
        "url": "https://www.anchorterminal.com/compare/gitmcp-vs-sourcegraph-mcp"
      },
      {
        "json": "https://www.anchorterminal.com/compare/graft-vs-sonarqube-mcp.json",
        "title": "graft vs SonarQube MCP Server",
        "url": "https://www.anchorterminal.com/compare/graft-vs-sonarqube-mcp"
      },
      {
        "json": "https://www.anchorterminal.com/compare/graphify-vs-sonarqube-mcp.json",
        "title": "Graphify vs SonarQube MCP Server",
        "url": "https://www.anchorterminal.com/compare/graphify-vs-sonarqube-mcp"
      },
      {
        "json": "https://www.anchorterminal.com/compare/graphify-vs-sourcegraph-mcp.json",
        "title": "Graphify vs Sourcegraph MCP Server",
        "url": "https://www.anchorterminal.com/compare/graphify-vs-sourcegraph-mcp"
      },
      {
        "json": "https://www.anchorterminal.com/compare/snyk-mcp-vs-sonarqube-mcp.json",
        "title": "Snyk MCP Server (Snyk Studio) vs SonarQube MCP Server",
        "url": "https://www.anchorterminal.com/compare/snyk-mcp-vs-sonarqube-mcp"
      },
      {
        "json": "https://www.anchorterminal.com/compare/snyk-mcp-vs-sourcegraph-mcp.json",
        "title": "Snyk MCP Server (Snyk Studio) vs Sourcegraph MCP Server",
        "url": "https://www.anchorterminal.com/compare/snyk-mcp-vs-sourcegraph-mcp"
      },
      {
        "json": "https://www.anchorterminal.com/compare/sonarqube-mcp-vs-tokeneconomizer.json",
        "title": "SonarQube MCP Server vs TokenEconomizer",
        "url": "https://www.anchorterminal.com/compare/sonarqube-mcp-vs-tokeneconomizer"
      },
      {
        "json": "https://www.anchorterminal.com/compare/sourcegraph-mcp-vs-tokeneconomizer.json",
        "title": "Sourcegraph MCP Server vs TokenEconomizer",
        "url": "https://www.anchorterminal.com/compare/sourcegraph-mcp-vs-tokeneconomizer"
      },
      {
        "json": "https://www.anchorterminal.com/compare/git-reference-server-vs-sourcegraph-mcp.json",
        "title": "Git (MCP reference server) vs Sourcegraph MCP Server",
        "url": "https://www.anchorterminal.com/compare/git-reference-server-vs-sourcegraph-mcp"
      },
      {
        "json": "https://www.anchorterminal.com/compare/graft-vs-sourcegraph-mcp.json",
        "title": "graft vs Sourcegraph MCP Server",
        "url": "https://www.anchorterminal.com/compare/graft-vs-sourcegraph-mcp"
      },
      {
        "json": "https://www.anchorterminal.com/compare/sourcegraph-mcp-vs-superpowers.json",
        "title": "Sourcegraph MCP Server vs Superpowers",
        "url": "https://www.anchorterminal.com/compare/sourcegraph-mcp-vs-superpowers"
      },
      {
        "json": "https://www.anchorterminal.com/compare/momentic-mcp-vs-sonarqube-mcp.json",
        "title": "Momentic MCP server vs SonarQube MCP Server",
        "url": "https://www.anchorterminal.com/compare/momentic-mcp-vs-sonarqube-mcp"
      }
    ],
    "panel": null,
    "scores": [
      {
        "by": 10,
        "edge": "sourcegraph-mcp",
        "key": "reliability",
        "name": "Reliability",
        "sonarqube-mcp": 50,
        "sourcegraph-mcp": 60,
        "weight": 16
      },
      {
        "key": "performance",
        "name": "Performance",
        "pending": true,
        "weight": 10
      },
      {
        "by": 9,
        "edge": "sonarqube-mcp",
        "key": "schema",
        "name": "Schema \u0026 documentation",
        "sonarqube-mcp": 80,
        "sourcegraph-mcp": 71,
        "weight": 13
      },
      {
        "by": 8,
        "edge": "sonarqube-mcp",
        "key": "ergonomics",
        "name": "Agent ergonomics",
        "sonarqube-mcp": 80,
        "sourcegraph-mcp": 72,
        "weight": 13
      },
      {
        "by": 3,
        "edge": "sourcegraph-mcp",
        "key": "security",
        "name": "Security \u0026 auth",
        "sonarqube-mcp": 73,
        "sourcegraph-mcp": 76,
        "weight": 14
      },
      {
        "by": 22,
        "edge": "sonarqube-mcp",
        "key": "payments",
        "name": "Payments \u0026 pricing",
        "sonarqube-mcp": 45,
        "sourcegraph-mcp": 23,
        "weight": 10
      },
      {
        "key": "tasks",
        "name": "Task success",
        "pending": true,
        "weight": 10
      },
      {
        "by": 4,
        "edge": "sonarqube-mcp",
        "key": "maintenance",
        "name": "Maintenance \u0026 community",
        "sonarqube-mcp": 87,
        "sourcegraph-mcp": 83,
        "weight": 7
      },
      {
        "by": 1,
        "edge": "sonarqube-mcp",
        "key": "transparency",
        "name": "Transparency \u0026 trust",
        "sonarqube-mcp": 79,
        "sourcegraph-mcp": 78,
        "weight": 7
      }
    ],
    "summary": "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.",
    "tasks": null,
    "tutorials": [],
    "verdicts": {
      "sonarqube-mcp": "Gives coding agents typed, paginated access to SonarQube issues, hotspots, quality gates and coverage, with toolsets, a read-only mode and scoped OAuth on the hosted server. Every use needs a SonarQube account a person creates, the hosted server documents no rate limits, and the licence is source-available, not open source.",
      "sourcegraph-mcp": "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."
    }
  },
  "kind": "anchor.page",
  "links": {
    "api": "https://www.anchorterminal.com/api/v1/index.json",
    "html": "https://www.anchorterminal.com/compare/sonarqube-mcp-vs-sourcegraph-mcp",
    "json": "https://www.anchorterminal.com/compare/sonarqube-mcp-vs-sourcegraph-mcp.json",
    "llms": "https://www.anchorterminal.com/llms.txt",
    "markdown": "https://www.anchorterminal.com/compare/sonarqube-mcp-vs-sourcegraph-mcp.md",
    "mcp": "https://www.anchorterminal.com/mcp",
    "slim": "https://www.anchorterminal.com/compare/sonarqube-mcp-vs-sourcegraph-mcp.min.md"
  },
  "markdown": "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.\n\n- SonarQube MCP Server: grade B, 66.9/100, rank #498 of 1654. Markdown https://www.anchorterminal.com/tools/sonarqube-mcp.md · JSON https://www.anchorterminal.com/api/v1/tools/sonarqube-mcp.json\n- Sourcegraph MCP Server: grade B, 62.5/100, rank #728 of 1654. Markdown https://www.anchorterminal.com/tools/sourcegraph-mcp.md · JSON https://www.anchorterminal.com/api/v1/tools/sourcegraph-mcp.json\n- Best code, repository and documentation tools for AI agents: https://www.anchorterminal.com/best/code/index.md\n- All 90 code comparisons: https://www.anchorterminal.com/compare/code/index.md\n\n## Which one, for what\n\n### SonarQube MCP Server (B)\n\nGood for: Coding agents in teams already on SonarQube, to read findings, check quality gates and coverage and triage issues.\n\nAhead on:\n- Schema \u0026 documentation, 80 against 71\n- Agent ergonomics, 80 against 72\n- Payments \u0026 pricing, 45 against 23\n\nAlso in its favour:\n- A hosted endpoint, with nothing to install\n- Runs on your own machine\n- Free to start without a card\n\nWatch for: Every route needs a SonarQube account and a token or OAuth sign-in made by a person in a browser\n\n### Sourcegraph MCP Server (B)\n\nGood for: A company that already runs Sourcegraph and wants agents to search and navigate many repositories with compiler-accurate definitions and references.\n\nAhead on:\n- Reliability, 60 against 50\n\nWatch for: Enterprise plans only, from a $16,000 minimum annual contract through sales. A Cloud trial is by request and subject to eligibility\n\n\n## Why the edge\n\n### Payments \u0026 pricing: SonarQube MCP Server +22\n\n- SonarQube MCP Server (45): No x402, MPP or L402 (0). Plan pricing is public, Team from $34 a month for 100k lines of code, with no per-call price since the server is free (15). SonarQube Cloud's free tier covers private projects up to 50k lines with no card and no expiry (30). A person signs up in a browser and makes the token or signs in with OAuth (0).\n- Sourcegraph MCP Server (23): No x402, MPP or L402 (0). The pricing page publishes a starting figure, a $16K minimum annual contract, with no per-user or per-call price and a contact-sales button, so half of the plan-pricing credit (5). A free Sourcegraph Cloud trial exists by request, with eligibility reviewed and a wait of up to an hour in business hours. No card is mentioned, so half credit (10). An agent cannot gain access alone. A company needs a contract or an approved trial, and a user approves OAuth in a browser (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 15 is 23.\n\n### Reliability: Sourcegraph MCP Server +10\n\n- SonarQube MCP Server (50): Read with the hosted lines, since the SonarQube Cloud-hosted endpoint needs no install. status.sonarqube.com is an Atlassian Statuspage with an RSS history (20). The 90 days to 23 November hold about ten analysis incidents, each under about an hour (Automatic Analysis failures on 16 November, Bitbucket pull request analysis on 26 October, Quality Gates on 16 October, US analysis on 5 October, elevated errors on 17 September), none naming the MCP endpoint (20). No rate limits for the MCP endpoint found (0). No 429 or retry guidance found (0). No SLA found (0). The hosted server is generally available, not marked beta (10).\n- Sourcegraph MCP Server (60): Scored with the hosted lines, because the server is an HTTP endpoint on a Sourcegraph Cloud or self-hosted instance. sourcegraphstatus.com, which didn't resolve on 8 October, loaded on 4 November 2026. It is an incident.io page with components for Sourcegraph Cloud, the self-hosted release, the model provider, accounts, workspaces, analytics, the Enterprise Portal and public code search. No component names MCP. The MCP endpoint is a path on each Cloud instance, but a vendor page with no MCP component takes 15, as honeycomb-mcp, sentry-mcp and slack-mcp do, whose MCP servers also sit on infrastructure the vendor's components cover (15). Its feed and incident pages show five Cloud incidents touching 6 August to 4 November. A us-central1 partial outage from 4 August 19:25 to 6 August 05:16 UTC, increased latency and errors from 31 August 17:56 to 1 September 08:41 UTC, degraded performance from Google Cloud issues on 1 and 2 September, a US Central regional incident from 4 to 9 September, and Europe latency and errors on 20 October. Each names one region or a degradation without a full outage, so each reads as partial (minor only, 20). No request rate limits for the MCP endpoints were found in the reviewed documentation, only result limits per tool (0). No 429 or backoff guidance was found. Releases 8.0.0 and 8.1.0 say search tools separate incomplete searches and timeouts from empty results so a client can retry, and every tool reads, so retries are safe (5, a partial kept from 8 October). The SLA page, read again on 4 November, commits to 99.5 per cent monthly uptime on Business and Enterprise plans (10). The server carries no beta label, and Code Finder became generally available on 20 August 2026 (10). 15+20+0+5+10+10 = 60.\n\n### Schema \u0026 documentation: SonarQube MCP Server +9\n\n- SonarQube MCP Server (80): Every tool takes a typed input schema built in the Java source, with readOnlyHint set on read tools (25). llms.txt at docs.sonarsource.com and every docs page as Markdown with a .md suffix (10). Descriptions say what each tool does and some say when to use it (`get_file_coverage_details` says to use it after finding a low-coverage file), with few when-not-to lines (13 of 20). Required fields and some enums (`status`, `scope`), but severities and qualities are free strings listed in the description (10 of 15). A prompt examples page and a troubleshooting page, and OAuth scope errors are documented, but no error catalogue (9 of 15). Versioned releases with notes and a deprecations page (15). 82 less 2 for the gaps between the README and the docs on the hosted subset, 80.\n- Sourcegraph MCP Server (71): The docs list each tool's parameters with required and optional marks, defaults and maximums. We could not read the tool definitions themselves, because every endpoint needs an Enterprise instance, so the machine-readable contract earns partial credit (15). /llms.txt and /docs/llms.txt return 404, but every docs page is served as Markdown at its URL plus .md (10). Tool entries state use cases, `code_finder` has best practices and a contrast with `deepsearch`, and a matrix shows which endpoint carries which tool (14). Required fields, defaults and bounds are documented, while search filters travel inside one query string and `evaluator` takes a free Lua script (9). `list_refs` has JSON examples and the authentication page has a troubleshooting table for `invalid_scope`, 401, 403 and 404, with no catalogue of tool errors (8). Versioned releases with dated MCP entries in the changelog (15).\n\n### Agent ergonomics: SonarQube MCP Server +8\n\n- 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 (10). `pageIndex` and `pageSize` up to 500, branch, pull request, severity, status and new-code filters (20). Errors are returned as tool messages, with organisation discovery guidance when no organisation is given, but no documented codes (10 of 20). readOnlyHint on 40 tool classes and destructiveHint in the definition builder, and status changes are safe to repeat (17 of 20). Few required parameters, and `SONARQUBE_PROJECT_KEY` removes `projectKey` from every schema. No SDK, as an MCP server (8 of 15).\n- 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`. Definition sizes are unread (23). Result limits on every list and search tool, an `after` cursor on `compare_revisions`, `count` on searches and line ranges on `read_file` (17). Search tools report incomplete results with retry advice per the 8.0.0 notes, and 8.1.0 (14 October 2026) reports timeouts as errors and query-planning failures as invalid-argument errors rather than server errors, and HTTP 401, 403 and 404 causes are documented, but no tool error list was found (10). No tool writes to a repository, so repeating a call is safe. `deepsearch` creates a conversation each time, and we could not read the readOnlyHint or destructiveHint annotations (10). Most tools need one to three parameters with stated defaults. There is no SDK to count, as the surface is MCP only (12).\n\n## Score by category\n\n| Category | Weight | SonarQube MCP Server | Sourcegraph MCP Server | Edge |\n| --- | --- | --- | --- | --- |\n| Reliability | 16% | 50 | 60 | Sourcegraph MCP Server +10 |\n| Performance | 10%, pending | pending | pending | not scored in this run |\n| Schema \u0026 documentation | 13% | 80 | 71 | SonarQube MCP Server +9 |\n| Agent ergonomics | 13% | 80 | 72 | SonarQube MCP Server +8 |\n| Security \u0026 auth | 14% | 73 | 76 | Sourcegraph MCP Server +3 |\n| Payments \u0026 pricing | 10% | 45 | 23 | SonarQube MCP Server +22 |\n| Task success | 10%, pending | pending | pending | not scored in this run |\n| Maintenance \u0026 community | 7% | 87 | 83 | SonarQube MCP Server +4 |\n| Transparency \u0026 trust | 7% | 79 | 78 | SonarQube MCP Server +1 |\n| Negative events | ≤15 | -2 | -3 | |\n| **Total** | | **66.9 · B** | **62.5 · B** | |\n\n## Facts side by side\n\n| Fact | SonarQube MCP Server | Sourcegraph MCP Server |\n| --- | --- | --- |\n| Kind | MCP server | MCP server |\n| Vendor | SonarSource | Sourcegraph, Inc. |\n| Hosted endpoint | `https://api.sonarcloud.io/mcp` | no (local only) |\n| Transports | stdio, Streamable HTTP | Streamable HTTP |\n| Auth | OAuth or key | OAuth or key |\n| Pricing | Freemium | Paid |\n| x402 | no | no |\n| Licence | SONAR Source-Available License v1.0 (SSAL) | Proprietary. The server is part of the Sourcegraph Enterprise product under the Sourcegraph Terms of Service |\n| Tools exposed | 51 | 16 |\n| Read-only variant documented | yes | yes |\n| llms.txt | yes | no |\n| MCP registry | `io.github.SonarSource/sonarqube-mcp-server` | `io.github.sourcegraph/mcp` |\n| Last release | 2026-11-20 | 2026-10-14 |\n| Terms last updated | no date given | 2026-07-22 |\n| Privacy policy last updated | 2025-11-03 | 2026-06-12 |\n| Customer content may train models | not found in the text | yes, with an opt-out |\n| Terms restrict automated access | not found in the text | not found in the text |\n| Terms restrict benchmarking | not found in the text | not found in the text |\n| Terms or service can change without notice | not found in the text | not found in the text |\n| Arbitration or class-action waiver | not found in the text | yes |\n| Popularity | 694 stars | none |\n\n## How the scores have moved\n\n### SonarQube MCP Server\n\nNo score change since it was listed.\n\n### Sourcegraph MCP Server\n\n- +1.0 on 13 November 2026 (C to B): checklist\n- +4.0 on 4 November 2026: new evidence, correction\n\n## Verdicts\n\n**SonarQube MCP Server.** Gives coding agents typed, paginated access to SonarQube issues, hotspots, quality gates and coverage, with toolsets, a read-only mode and scoped OAuth on the hosted server. Every use needs a SonarQube account a person creates, the hosted server documents no rate limits, and the licence is source-available, not open source.\n\n**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.\n\n## Before you call either\n\n### SonarQube MCP Server\n\n1. Set `SONARQUBE_READ_ONLY=true` unless the task must change issue or hotspot status\n2. Call `list_organizations` first on SonarQube Cloud, then pass the key as `organization` on each tool\n3. Mount the project at `/app/mcp-workspace` and pass `filePath`, so file content stays out of the context\n4. Use `branch` and `pullRequest`, not the removed `branchKey` and `pullRequestKey` parameters\n5. If an OAuth call fails with `Insufficient OAuth scope`, ask the user to grant `mcp:tools:write`\n\n### Sourcegraph MCP Server\n\n1. Connect to https://\u003cinstance\u003e/.api/mcp for the nine core tools. Use /.api/mcp/all for `go_to_definition`, `find_references`, `list_refs`, `get_contributor_repos`, `compare_revisions`, `deepsearch` and `nls_search`\n2. Request only the `mcp` scope in OAuth. Any other scope on the MCP resource fails with `invalid_scope`\n3. Without OAuth, send `Authorization: token \u003caccess token\u003e` and create the token with the `mcp` scope and an expiry\n4. Call `list_repos` first and name the repository in every `code_finder` task. It declines broad searches across repositories\n5. Read large files with `startLine` and `endLine`. Files over 128KB return only the first 200 lines\n\n## Questions\n\n### Which is better for AI agents, SonarQube MCP Server or Sourcegraph MCP Server?\n\nSonarQube 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.\n\n### Do SonarQube MCP Server and Sourcegraph MCP Server need an API key?\n\nBoth take an API key or an OAuth sign-in.\n\n### Can an agent call SonarQube MCP Server and Sourcegraph MCP Server without installing anything?\n\nSonarQube MCP Server has a hosted endpoint at https://api.sonarcloud.io/mcp. No hosted endpoint is listed for Sourcegraph MCP Server.\n\n\n## For agents\n\n- This comparison as JSON: https://www.anchorterminal.com/compare/sonarqube-mcp-vs-sourcegraph-mcp.json, and with the fewest tokens: https://www.anchorterminal.com/compare/sonarqube-mcp-vs-sourcegraph-mcp.min.md\n- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {\"a\": \"sonarqube-mcp\", \"b\": \"sourcegraph-mcp\"}`. From a terminal: `anchor compare sonarqube-mcp sourcegraph-mcp`\n- Each listing in full: https://www.anchorterminal.com/api/v1/tools/sonarqube-mcp.json and https://www.anchorterminal.com/api/v1/tools/sourcegraph-mcp.json\n\n## Other comparisons with SonarQube MCP Server or Sourcegraph MCP Server\n\n- [Azure DevOps MCP Server vs SonarQube MCP Server](https://www.anchorterminal.com/compare/azure-devops-mcp-vs-sonarqube-mcp.md)\n- [Azure DevOps MCP Server vs Sourcegraph MCP Server](https://www.anchorterminal.com/compare/azure-devops-mcp-vs-sourcegraph-mcp.md)\n- [Entire vs SonarQube MCP Server](https://www.anchorterminal.com/compare/entire-vs-sonarqube-mcp.md)\n- [Entire vs Sourcegraph MCP Server](https://www.anchorterminal.com/compare/entire-vs-sourcegraph-mcp.md)\n- [GitHub MCP Server vs SonarQube MCP Server](https://www.anchorterminal.com/compare/github-mcp-server-vs-sonarqube-mcp.md)\n- [GitHub MCP Server vs Sourcegraph MCP Server](https://www.anchorterminal.com/compare/github-mcp-server-vs-sourcegraph-mcp.md)\n- [GitLab MCP Server vs SonarQube MCP Server](https://www.anchorterminal.com/compare/gitlab-mcp-vs-sonarqube-mcp.md)\n- [GitLab MCP Server vs Sourcegraph MCP Server](https://www.anchorterminal.com/compare/gitlab-mcp-vs-sourcegraph-mcp.md)\n- [GitMCP vs SonarQube MCP Server](https://www.anchorterminal.com/compare/gitmcp-vs-sonarqube-mcp.md)\n- [GitMCP vs Sourcegraph MCP Server](https://www.anchorterminal.com/compare/gitmcp-vs-sourcegraph-mcp.md)\n- [graft vs SonarQube MCP Server](https://www.anchorterminal.com/compare/graft-vs-sonarqube-mcp.md)\n- [Graphify vs SonarQube MCP Server](https://www.anchorterminal.com/compare/graphify-vs-sonarqube-mcp.md)\n- [Graphify vs Sourcegraph MCP Server](https://www.anchorterminal.com/compare/graphify-vs-sourcegraph-mcp.md)\n- [Snyk MCP Server (Snyk Studio) vs SonarQube MCP Server](https://www.anchorterminal.com/compare/snyk-mcp-vs-sonarqube-mcp.md)\n- [Snyk MCP Server (Snyk Studio) vs Sourcegraph MCP Server](https://www.anchorterminal.com/compare/snyk-mcp-vs-sourcegraph-mcp.md)\n- [SonarQube MCP Server vs TokenEconomizer](https://www.anchorterminal.com/compare/sonarqube-mcp-vs-tokeneconomizer.md)\n- [Sourcegraph MCP Server vs TokenEconomizer](https://www.anchorterminal.com/compare/sourcegraph-mcp-vs-tokeneconomizer.md)\n- [Git (MCP reference server) vs Sourcegraph MCP Server](https://www.anchorterminal.com/compare/git-reference-server-vs-sourcegraph-mcp.md)\n- [graft vs Sourcegraph MCP Server](https://www.anchorterminal.com/compare/graft-vs-sourcegraph-mcp.md)\n- [Sourcegraph MCP Server vs Superpowers](https://www.anchorterminal.com/compare/sourcegraph-mcp-vs-superpowers.md)\n- [Momentic MCP server vs SonarQube MCP Server](https://www.anchorterminal.com/compare/momentic-mcp-vs-sonarqube-mcp.md)\n",
  "meta": {
    "attribution": "Anchor Terminal (https://www.anchorterminal.com)",
    "attributionRequired": true,
    "credit": "CC BY 4.0, credit Anchor Terminal and link the page or API address you took it from (https://www.anchorterminal.com/terms/#data)",
    "docs": "https://www.anchorterminal.com/docs/",
    "generatedAt": "2026-11-23",
    "license": "CC-BY-4.0",
    "method": "https://www.anchorterminal.com/benchmark/",
    "methodology": "1.0",
    "openapi": "https://www.anchorterminal.com/openapi.json",
    "preview": false,
    "run": "2026-10-01",
    "runLabel": "October 2026 research run",
    "terms": "https://www.anchorterminal.com/terms/#data"
  },
  "page": {
    "breadcrumbs": [
      {
        "name": "Home",
        "url": "https://www.anchorterminal.com/"
      },
      {
        "name": "Compare",
        "url": "https://www.anchorterminal.com/compare/"
      },
      {
        "name": "SonarQube MCP Server vs Sourcegraph MCP Server",
        "url": ""
      }
    ],
    "description": "SonarQube scores 66.9 (B) to Sourcegraph's 62.5 (B) for code repositories. Prices, MCP, x402, uptime and agent notes side by side.",
    "facts": [
      "SonarQube MCP Server B 66.9",
      "Sourcegraph MCP Server B 62.5",
      "scores"
    ],
    "h1": "SonarQube MCP Server vs Sourcegraph MCP Server",
    "image": "https://www.anchorterminal.com/assets/og/default.png",
    "path": "/compare/sonarqube-mcp-vs-sourcegraph-mcp",
    "published": "2026-10-01",
    "section": "tools",
    "title": "SonarQube vs Sourcegraph for AI agents in 2026: scores and prices",
    "toc": null,
    "updated": "2026-11-23",
    "url": "https://www.anchorterminal.com/compare/sonarqube-mcp-vs-sourcegraph-mcp"
  },
  "tokens": {
    "markdown": 4400,
    "slim": 1030
  },
  "version": 1
}
