# SonarQube MCP Server vs TokenEconomizer

> TokenEconomizer and SonarQube score within a point of each other for code repositories, 67.4 and 66.9 out of 100. Prices, MCP, x402, uptime and agent notes side by side.

- Canonical: https://www.anchorterminal.com/compare/sonarqube-mcp-vs-tokeneconomizer
- Markdown: https://www.anchorterminal.com/compare/sonarqube-mcp-vs-tokeneconomizer.md (~3,550 tokens)
- Slim: https://www.anchorterminal.com/compare/sonarqube-mcp-vs-tokeneconomizer.min.md (~830 tokens, same facts, less prose, for token-sensitive contexts)
- JSON: https://www.anchorterminal.com/compare/sonarqube-mcp-vs-tokeneconomizer.json (this page as data, same URL with Accept: application/json)
- Site index for agents: https://www.anchorterminal.com/llms.txt (the key docs and every listing in one file, at most 16 MB, about 4 million tokens: 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)
- DNS: dig +short TXT <slug>.grade.anchorterminal.com (the grade as a DNS TXT record, for a sandbox with no HTTP where names still resolve; also top., best.<category>. and <a>.vs.<b>. under the zone, and the same under grade.letme.dev)
- Licence: CC BY 4.0, credit Anchor Terminal and link this page (https://www.anchorterminal.com/terms/#data)
- Updated: 2026-11-23

TokenEconomizer and SonarQube MCP Server score within a point of each other on agent readiness, 67.4 (B) and 66.9 (B). SonarQube MCP Server leads on schema & documentation and maintenance & community. Both do code repositories.

- 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
- TokenEconomizer: grade B, 67.4/100, rank #474 of 1654. Markdown https://www.anchorterminal.com/tools/tokeneconomizer.md · JSON https://www.anchorterminal.com/api/v1/tools/tokeneconomizer.json
- Best code, repository and documentation tools for AI agents: https://www.anchorterminal.com/best/code/index.md
- All 90 code comparisons: https://www.anchorterminal.com/compare/code/index.md

## Which one, for what

### SonarQube MCP Server (B)

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 66
- Maintenance & community, 87 against 53

Also in its favour:
- A hosted endpoint, with nothing to install
- Runs on your own machine
- Free to start without a card

Watch for: Every route needs a SonarQube account and a token or OAuth sign-in made by a person in a browser

### TokenEconomizer (B)

Good for: Lowering the repeat cost of coding agents in repositories they work in often

Ahead on:
- Payments & pricing, 90 against 45

Also in its favour:
- No key needed to call it
- Open source

Watch for: Version 0.1.0 (tagged 26 October 2026) with no changelog or release notes found; updating means a `git pull` of main, which is 67 commits past the tag


## Why the edge

### Payments & pricing: TokenEconomizer +45

- 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).
- TokenEconomizer (90): Self-hosted rule. No payment protocol (0). Free under Apache-2.0 with nothing to buy (20). No card or account (20). An agent can be given it with no sign-up, through its own plugin manager (20). Its judge and proposer calls are billed on the person's agent plan, and `te status` reports that cost. 60 in all. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 60 is 90.

### Maintenance & community: SonarQube MCP Server +34

- SonarQube MCP Server (87): 1.33.0 tagged 20 November 2026, three days before the check (30). Eight releases from 1.26 on 28 August to 1.33 on 20 November (20). Commits land most days, with dependency updates on 23 November. Issues and pull request replies were not read because GitHub's web pages refuse our reader (12 of 25, unchecked). Published as io.github.SonarSource/sonarqube-mcp-server in the official MCP registry, versions 0.0.8 to 1.33.0 (15). Gradle lockfiles, a build workflow, a Docker build check and Renovate-style dependency updates (10).
- TokenEconomizer (53): The clone shows one tag, v0.1.0 (annotated "TokenEconomizer 0.1.0", 26 October 2026), and 67 commits on main after it, the newest merged on 1 November 2026. GitHub's releases page couldn't be read. Recency rests on the 26 October tag, within 30 days (30). One release and no dated changelog entries in 90 days (0). Outside pull requests are merged within about a day, among them #84 and #88 on 30 October, #24 on 30 October (closing issue #86), and #93, #98, #101, #102 and #103 on 1 November. Open issue counts and reply times are unread, as GitHub's pages answer 403 in our session (15 of 25, as letsfg). Not an MCP server and in no official plugin marketplace (0). Standard-library only with no runtime dependencies, CI on push and pull requests, and the Codex version pinned in CI on purpose (8 of 10). 30 + 0 + 15 + 0 + 8 = 53.

### Schema & documentation: SonarQube MCP Server +14

- 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.
- TokenEconomizer (66): Framework reading, docs a model can follow, as superpowers was read. JSON plugin manifests for Claude Code, Codex and Copilot, a hooks.json per agent, slash-command files and a settings table with names, defaults and environment variables, and `--json` on two `te` commands, but no schema for its state or output (12 of 25). README, plugin/README.md, docs/PLUGIN.md and docs/ARCHITECTURE.md are Markdown in the repository; no llms.txt (10). The README says what each mechanism does and when it acts, and docs/PLUGIN.md has a known-limitations section and says when to keep micro-skills off (17 of 20). Mechanisms take on, off, propose or envfacts, numeric settings have stated defaults and minimums, and the config code checks choices (10 of 15). Command examples per agent, a troubleshooting section, `te doctor` and an errors.log, with few documented error outputs (12 of 15). A version number in every manifest but no public changelog (5 of 15). 66 in all.

## Score by category

| Category | Weight | SonarQube MCP Server | TokenEconomizer | Edge |
| --- | --- | --- | --- | --- |
| Reliability | 16% | 50 | 47 | SonarQube MCP Server +3 |
| Performance | 10%, pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 80 | 66 | SonarQube MCP Server +14 |
| Agent ergonomics | 13% | 80 | 76 | SonarQube MCP Server +4 |
| Security & auth | 14% | 73 | 71 | SonarQube MCP Server +2 |
| Payments & pricing | 10% | 45 | 90 | TokenEconomizer +45 |
| Task success | 10%, pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 87 | 53 | SonarQube MCP Server +34 |
| Transparency & trust | 7% | 79 | 76 | SonarQube MCP Server +3 |
| Negative events | ≤15 | -2 | 0 | |
| **Total** | | **66.9 · B** | **67.4 · B** | |

## Facts side by side

| Fact | SonarQube MCP Server | TokenEconomizer |
| --- | --- | --- |
| Kind | MCP server | Agent framework |
| Vendor | SonarSource | Microsoft |
| Hosted endpoint | `https://api.sonarcloud.io/mcp` | no (local only) |
| Transports | stdio, Streamable HTTP |  |
| Auth | OAuth or key | None |
| Pricing | Freemium | Free |
| x402 | no | no |
| Licence | SONAR Source-Available License v1.0 (SSAL) | Apache-2.0 |
| Tools exposed | 51 | none |
| Read-only variant documented | yes | no |
| llms.txt | yes | no |
| MCP registry | `io.github.SonarSource/sonarqube-mcp-server` | not listed |
| Last release | 2026-11-20 | 2026-10-26 |
| Terms last updated | no date given | no date given |
| Privacy policy last updated | 2025-11-03 | no document linked |
| Customer content may train models | not found in the text | not found in the text |
| Terms restrict automated access | not found in the text | not found in the text |
| Terms restrict benchmarking | not found in the text | not found in the text |
| Terms or service can change without notice | not found in the text | not found in the text |
| Arbitration or class-action waiver | not found in the text | not found in the text |
| Popularity | 694 stars | 976 stars |

## How the scores have moved

### SonarQube MCP Server

No score change since it was listed.

### TokenEconomizer

- +3.7 on 13 November 2026: checklist
- +1.1 on 2 November 2026: new evidence, correction

## Verdicts

**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.

**TokenEconomizer.** A standard-library Python plugin that keeps learned state on the machine, documents each hook, makes every action reversible and merges outside fixes within days. It is version 0.1.0 with no changelog, installs from a git clone of main, and the 18.4 to 30.9 per cent savings are the paper's SWE-Bench figures, measured with settings unlike the plugin's defaults.

## Before you call either

### SonarQube MCP Server

1. Set `SONARQUBE_READ_ONLY=true` unless the task must change issue or hotspot status
2. Call `list_organizations` first on SonarQube Cloud, then pass the key as `organization` on each tool
3. Mount the project at `/app/mcp-workspace` and pass `filePath`, so file content stays out of the context
4. Use `branch` and `pullRequest`, not the removed `branchKey` and `pullRequestKey` parameters
5. If an OAuth call fails with `Insufficient OAuth scope`, ask the user to grant `mcp:tools:write`

### TokenEconomizer

1. Check the agent's version against the README's supported range before installing; versions outside it are untested or unsupported.
2. Keep micro-skills off, or set microskills=envfacts, in a repository whose command output you don't trust.
3. If a tool you need is missing, run the `toolprune` command to see what was left out and `toolprune restore` to bring it back.
4. Run the plugin's commands from a terminal with ~/.tokeneconomizer/bin/te; inside the agent each command costs a model turn.
5. Start the agent with TE_DISABLE=1 to run one session without the plugin.

## Questions

### Which is better for AI agents, SonarQube MCP Server or TokenEconomizer?

TokenEconomizer and SonarQube MCP Server score within a point of each other on agent readiness, 67.4 (B) and 66.9 (B). SonarQube MCP Server leads on schema & documentation and maintenance & community.

### Can an agent call SonarQube MCP Server and TokenEconomizer without installing anything?

SonarQube MCP Server has a hosted endpoint at https://api.sonarcloud.io/mcp. No hosted endpoint is listed for TokenEconomizer.

### Are SonarQube MCP Server and TokenEconomizer open source?

No open-source release is listed for SonarQube MCP Server. TokenEconomizer is open source (Apache-2.0).


## For agents

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

## Other comparisons with SonarQube MCP Server or TokenEconomizer

- [Azure DevOps MCP Server vs SonarQube MCP Server](https://www.anchorterminal.com/compare/azure-devops-mcp-vs-sonarqube-mcp.md)
- [Azure DevOps MCP Server vs TokenEconomizer](https://www.anchorterminal.com/compare/azure-devops-mcp-vs-tokeneconomizer.md)
- [Entire vs SonarQube MCP Server](https://www.anchorterminal.com/compare/entire-vs-sonarqube-mcp.md)
- [Entire vs TokenEconomizer](https://www.anchorterminal.com/compare/entire-vs-tokeneconomizer.md)
- [GitHub MCP Server vs SonarQube MCP Server](https://www.anchorterminal.com/compare/github-mcp-server-vs-sonarqube-mcp.md)
- [GitHub MCP Server vs TokenEconomizer](https://www.anchorterminal.com/compare/github-mcp-server-vs-tokeneconomizer.md)
- [GitLab MCP Server vs SonarQube MCP Server](https://www.anchorterminal.com/compare/gitlab-mcp-vs-sonarqube-mcp.md)
- [GitLab MCP Server vs TokenEconomizer](https://www.anchorterminal.com/compare/gitlab-mcp-vs-tokeneconomizer.md)
- [GitMCP vs SonarQube MCP Server](https://www.anchorterminal.com/compare/gitmcp-vs-sonarqube-mcp.md)
- [GitMCP vs TokenEconomizer](https://www.anchorterminal.com/compare/gitmcp-vs-tokeneconomizer.md)
- [graft vs SonarQube MCP Server](https://www.anchorterminal.com/compare/graft-vs-sonarqube-mcp.md)
- [graft vs TokenEconomizer](https://www.anchorterminal.com/compare/graft-vs-tokeneconomizer.md)
- [Graphify vs SonarQube MCP Server](https://www.anchorterminal.com/compare/graphify-vs-sonarqube-mcp.md)
- [Graphify vs TokenEconomizer](https://www.anchorterminal.com/compare/graphify-vs-tokeneconomizer.md)
- [Snyk MCP Server (Snyk Studio) vs SonarQube MCP Server](https://www.anchorterminal.com/compare/snyk-mcp-vs-sonarqube-mcp.md)
- [Snyk MCP Server (Snyk Studio) vs TokenEconomizer](https://www.anchorterminal.com/compare/snyk-mcp-vs-tokeneconomizer.md)
- [SonarQube MCP Server vs Sourcegraph MCP Server](https://www.anchorterminal.com/compare/sonarqube-mcp-vs-sourcegraph-mcp.md)
- [Sourcegraph MCP Server vs TokenEconomizer](https://www.anchorterminal.com/compare/sourcegraph-mcp-vs-tokeneconomizer.md)
- [Momentic MCP server vs SonarQube MCP Server](https://www.anchorterminal.com/compare/momentic-mcp-vs-sonarqube-mcp.md)

---

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