Head to head · Code repositories · October 2026 research run

Rust Anything vs Sourcegraph MCP Server

Rust Anything scores 74.4 (BB) on agent readiness against Sourcegraph MCP Server's 62.5 (B), and leads in 4 of 7 scored categories. Sourcegraph MCP Server leads on security & auth and transparency & trust. Both do code repositories.

Best code, repository and documentation tools for AI agents · All 122 code comparisons

Which one, for what

Rust Anything BB

Best for A team moving hot code or a whole Node app to Rust with a coding agent, where the original's recorded behaviour is the test.

Ahead on

  • Reliability, 74 against 60
  • Schema & documentation, 89 against 71
  • Payments & pricing, 90 against 23
  • Maintenance & community, 90 against 83

Also in its favour

  • Agent-ready, a grade of BB or better
  • No key needed to call it
  • Runs on your own machine
  • Open source
  • No incidents deducted, where Sourcegraph MCP Server loses 3 points for them

Watch for

First released on 16 November 2026, with five major versions in 11 days and no breaking changes marked in the changelog

Sourcegraph MCP Server B

Best 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 53
  • Transparency & trust, 78 against 58

Watch for

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

Why the edge

Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.

Payments & pricing Rust Anything +67

Rust Anything 90

Self-hosted rule. Free under MIT or Apache-2.0 with nothing to buy from the project (30). Free to use with no card (30). An agent can install it from npm or crates.io with no account (30). No payment protocol (0). Consulting is offered by email with no published price, and model usage is billed by the coding agent's provider. Total 90.

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.

Security & auth Sourcegraph MCP Server +23

Rust Anything 53

Local software with no credentials of its own, the middle band as for rea (20). analyze and map are read-only. The skill tells the agent to wait for the user's approval of the plan, the first unit and its end state, and to ask before enable, but these are prompt rules, not code checks. go --agent claude starts Claude Code with acceptEdits and cargo allowed, and --agent codex starts codex exec --full-auto (8 of 20). SECURITY.md says recording an untrusted repository is like running it. No guidance on text from the ported repository reaching the model as instructions (5 of 15). Recordings (cases.jsonl), known-diffs.jsonl, REPORT.md and gate output leave a record of each step (10 of 15). SECURITY.md with private reporting by GitHub or email and a written scope, npm and crates.io trusted publishing with npm SLSA provenance, and a secret scan in CI. No security.txt (404 on rustanything.ai), no bug bounty and no published advisories found, and SECURITY.md still names 1.x as supported (10 of 20). Total 53.

Sourcegraph MCP Server 76

OAuth 2.0 with PKCE, dynamic client registration held to the mcp scope, one-hour access tokens, a revocation endpoint and bearer tokens in the header only. Access tokens can also carry the mcp scope and default to a 90-day expiry (30). Every documented tool reads, repository permissions apply to each call, and admins can gate MCP by RBAC role or disable single tools. There is no per-repository grant narrower than the user's own access (18). The tools return repository content, which is untrusted input. The consent screen warns that the mcp scope grants read access to private code, and no prompt-injection guidance was found (4). The audit log records access token use, repository access and API requests as structured logs for a SIEM. No MCP-specific call log is documented (9). SOC 2 and ISO/IEC 27001:2022 on the security portal, annual third-party penetration tests, CVE fixes named in release notes and an invite-only HackerOne programme reached through security@sourcegraph.com. security.txt returned 404 again on 4 November 2026 (15).

Transparency & trust Sourcegraph MCP Server +20

Rust Anything 58

MIT or Apache-2.0, both OSI licences (30). docs/privacy.md says the CLI, MCP server and skill send nothing anywhere and need no account, names what does reach the network (Cargo, package managers, cargo deny or cargo audit), and warns that app shadow --keep can store users' headers and bodies. It is a Markdown file in the repository rather than a policy on the site (22 of 30). No deprecation policy, majors without breaking-change notes, and security fixes for the latest release only (5 of 20). No telemetry, stated in docs/privacy.md, and the source names no outside host beyond package registries and install pages (20). Total 77.

Sourcegraph MCP Server 78

Closed source under the Sourcegraph Terms of Service, last modified 22 July 2026, with supplemental terms listed in one index (15). The terms, the DPA, the security page and the privacy policy describe data handling. Cloud logs are kept up to 365 days, partner LLMs keep inputs only for abuse detection, and the privacy policy excludes customer code, which falls under the customer agreement. No retention period for code or search queries on Cloud was found (22). The current and previous major versions are supported, and release notes date removals such as the end of GitHub Enterprise Server 3.3 support, but no deprecation policy with a notice period for MCP tools was found (10). Sub-processors are listed with locations and purposes, last modified 21 August 2026, with email notice of changes, and instance telemetry is documented (18).

Schema & documentation Rust Anything +18

Rust Anything 89

Every one of the 24 tools in src/mcp.rs has a typed JSON Schema input with required fields (25). llms.txt and llms-full.txt on rustanything.ai, Markdown docs in the repository and the skill served over MCP (10). Descriptions say what each tool does and what it never touches (bridge never overwrites a folder, refresh never touches port.rs), and the server instructions give the order of the loop, but few say when not to use a tool (15 of 20). Enums for language, bridge kind, profile, ABI, allocator and end state. Paths and commands are free strings (13 of 15). Worked examples in docs/tools.md and the real-world pages. The failure codes and their retryable and next fields are in the source but not in docs/tools.md (11 of 15). Semver tags and a dated CHANGELOG.md (15). Total 89.

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

Reliability Rust Anything +14

Rust Anything 74

Scored as a local stdio package, as for rea. Official packages on npm and crates.io, with Rust 1.97 or later and Node.js 18 or later stated, and each language's own toolchain named per unit (20). A public CI workflow on every push to main and every pull request runs fmt, clippy and cargo test on Linux, the full test suite on macOS with every demo port gated, Windows and PowerShell jobs, and an MSRV check. We couldn't see whether main passes, since GitHub's pages weren't readable (20 of 25). Open issues couldn't be read. The git history shows many fixes merged the same day with the issue they close, so 12 of 25 for an unread record. 22 releases are dated in the changelog, but five majors in 11 days carry no breaking-change section, so a user can't tell what broke (7 of 15). Version 5.0.1 (15). Total 74.

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.

Maintenance & community Rust Anything +7

Rust Anything 90

5.0.1 on 26 November 2026, one day before this check (30). 22 releases since 16 November 2026 (20). The project is 11 days old. Since 16 November, 64 people have commits on main and about 350 commits carry a pull request number, many naming the issue they fix, merged the same day. Reply times on open issues couldn't be read (18 of 25). In the official MCP registry under the GitHub-verified namespace io.github.erkamyaman/rust-anything, but its latest entry is 2.1.0 of 19 November (12 of 15). Cargo.lock, Dependabot, CI with an MSRV check and actionlint (10). Total 90.

Sourcegraph MCP Server 83

Self-hosted releases in the window are 7.6.0 (6 August), 7.7.0 (26 August), 7.7.359 (27 August), 8.0.0 (17 September), 8.1.0 (14 October), 8.1.1335 (22 October) and 8.1.2687 (29 October 2026). 7.6.0, 7.7.0, 8.0.0 and 8.1.0 change the MCP server, and the two 8.1 patches don't. The weekly Cloud update notes of 2 November 2026 add a warning to MCP tool results when a code host connection has expired (30). Four releases that change the MCP server since 6 August 2026, plus weekly Cloud notes (20). A closed service with a public changelog, support at support@sourcegraph.com and published response times from two business hours for Enterprise. No public issue tracker for the server was found (12). Listed in the official MCP registry as io.github.sourcegraph/mcp per the 8 October check; the registry's API wasn't requested on 4 November (15). Release 7.6.0 moved to the MCP Go SDK v1.7.0 and protocol version 2026-07-28, and releases name the CVEs they fix. No public CI to read (6). 30+20+12+15+6 = 83.

Score by category

CategoryWeightRust AnythingSourcegraph MCP ServerEdge
Reliability16%7460Rust Anything +14
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%8971Rust Anything +18
Agent ergonomics13%7272even
Security & auth14%5376Sourcegraph MCP Server +23
Payments & pricing10%9023Rust Anything +67
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%9083Rust Anything +7
Transparency & trust7%5878Sourcegraph MCP Server +20
Negative events≤150-3
TotalBB 74.4/100B 62.5/100

Facts side by side

FactRust AnythingSourcegraph MCP Server
KindMCP serverMCP server
VendorErkam YamanSourcegraph, Inc.
Hosted endpointno (local only)no (local only)
TransportsstdioStreamable HTTP
AuthNoneOAuth or key
PricingFreePaid
x402nono
LicenceMIT OR Apache-2.0, at the user's option (Copyright 2026 Erkam Yaman). The README says ports and generated code in the user's repository belong to the user.Proprietary. The server is part of the Sourcegraph Enterprise product under the Sourcegraph Terms of Service
Tools exposed2416
Read-only variant documentednoyes
llms.txtyesno
MCP registryio.github.erkamyaman/rust-anythingio.github.sourcegraph/mcp
Last release2026-11-262026-10-14
Terms last updatedno document linked2026-07-22
Privacy policy last updatedno date given2026-06-12
Customer content may train modelsnot read yetyes, with an opt-out
Terms restrict automated accessnot read yetnot found in the text
Terms restrict benchmarkingnot read yetnot found in the text
Terms or service can change without noticenot read yetnot found in the text
Arbitration or class-action waivernot read yetyes
Popularity11k stars, 4.8k npm/wknone

How the scores have moved

Verdicts

Rust Anything

Rust Anything gives an agent a checked porting loop, with 24 typed MCP tools, annotations on every tool and failures that name a code, whether to retry and the next step. It is 11 days old with five major versions, its changelog does not mark breaking changes, and go starts Claude Code or Codex with file edits approved automatically.

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

Rust Anything

  1. Work on a copy of the repository with a test database, because record and app record run the real code
  2. Ask the user to approve the plan, the first unit and its end state before calling bridge, as the skill requires
  3. Do not mark a port done until gate passes, and read rules before writing src/port.rs
  4. When a call fails, read structuredContent.code, retryable and next, and run the named step instead of retrying blindly
  5. Pin an exact version such as rust-anything@5.0.1 in the MCP config, because major versions arrive within days

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, list_refs, get_contributor_repos, compare_revisions, deepsearch and nls_search
  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, Rust Anything or Sourcegraph MCP Server?

Rust Anything scores 74.4 (BB) on agent readiness against Sourcegraph MCP Server's 62.5 (B), and leads in 4 of 7 scored categories. Sourcegraph MCP Server leads on security & auth and transparency & trust.

Do Rust Anything and Sourcegraph MCP Server need an API key?

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

Can an agent call Rust Anything and Sourcegraph MCP Server without installing anything?

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

Are Rust Anything and Sourcegraph MCP Server open source?

Rust Anything is open source (MIT OR Apache-2.0, at the user's option (Copyright 2026 Erkam Yaman). The README says ports and generated code in the user's repository belong to the user.). No open-source release is listed for Sourcegraph MCP Server.

Other comparisons with Rust Anything or Sourcegraph MCP Server

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.