{
  "data": {
    "a": {
      "slug": "sourcegraph-mcp",
      "name": "Sourcegraph MCP Server",
      "vendor": "Sourcegraph, Inc.",
      "vendorUrl": "https://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",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/sourcegraph-mcp.json",
      "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-09-17",
      "graded": true,
      "anchor": {
        "graded": true,
        "score": 57.5,
        "grade": "C",
        "agentReady": false,
        "rank": 717,
        "ranked": true,
        "rankOf": 1244,
        "categoryRank": 12,
        "methodology": "0.7",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 72,
          "maintenance": 83,
          "payments": 15,
          "reliability": 25,
          "schema": 71,
          "security": 76,
          "transparency": 78
        },
        "pending": [
          "performance",
          "tasks"
        ],
        "assessment": {
          "confidence": "medium",
          "date": "2026-10-08"
        },
        "negative": 0,
        "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",
          "`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`, `nls_search` and `compare_revisions`",
          "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": "C",
            "methodology": "0.7",
            "pending": [
              "performance",
              "tasks"
            ],
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 57.5
          }
        ],
        "editorialScores": {
          "ergonomics": 72,
          "maintenance": 83,
          "payments": 15,
          "reliability": 25,
          "schema": 71,
          "security": 76,
          "transparency": 65
        },
        "provenanceScore": 90,
        "checked": {
          "categories": {
            "ergonomics": "2026-10-08",
            "maintenance": "2026-10-08",
            "payments": "2026-10-08",
            "reliability": "2026-10-08",
            "schema": "2026-10-08",
            "security": "2026-10-08",
            "transparency": "2026-10-08"
          },
          "last": "2026-10-08",
          "oldest": "2026-10-08",
          "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-10-08",
        "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. The security portal sends reports to security@sourcegraph.com.",
          "The site footer links System status to https://sourcegraphstatus.com. The host did not resolve from our network on 2026-10-08, so the page is unread.",
          "RDAP for sourcegraph.com gives a registration date of 2012-11-25."
        ],
        "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-10-31T04:24:47.349163172Z"
        },
        "versions": [
          {
            "registry": "mcp-registry",
            "name": "io.github.sourcegraph/mcp",
            "version": "0.1.0",
            "seenAt": "2026-10-30T14:54:40.546478788Z"
          }
        ],
        "securityTxt": {
          "url": "https://sourcegraph.com/.well-known/security.txt",
          "state": "none",
          "checkedAt": "2026-10-30T15:38:13.539042928Z"
        },
        "domain": {
          "domain": "sourcegraph.com",
          "registered": "2012-11-25",
          "source": "https://rdap.verisign.com/com/v1/domain/sourcegraph.com",
          "checkedAt": "2026-10-25T13:56:16.858044885Z"
        },
        "pages": [
          {
            "url": "https://sourcegraph.com/changelog",
            "kind": "changelog",
            "status": 200,
            "checkedAt": "2026-10-30T05:48:50.56614509Z",
            "changedAt": "2026-10-30T05:48:50.56614509Z",
            "fingerprint": "9a94c0616168"
          },
          {
            "url": "https://sourcegraph.com/terms/privacy",
            "kind": "privacy",
            "status": 200,
            "checkedAt": "2026-10-30T05:48:52.967066264Z",
            "changedAt": "2026-10-30T05:48:52.967066264Z",
            "fingerprint": "cc62eaf00bb2"
          },
          {
            "url": "https://sourcegraph.com/terms/tos",
            "kind": "terms",
            "status": 200,
            "checkedAt": "2026-10-30T05:48:55.061453895Z",
            "changedAt": "2026-10-30T05:48:55.061453895Z",
            "fingerprint": "f5ed0b2b5a9e"
          }
        ],
        "updatedAt": "2026-10-31T04:24:47.349163172Z"
      }
    },
    "answer": "TokenEconomizer scores 62.6 (B) on agent readiness against Sourcegraph MCP Server's 57.5 (C), and leads in 3 of 7 scored categories. Sourcegraph MCP Server leads on schema \u0026 documentation, security \u0026 auth and maintenance \u0026 community.",
    "b": {
      "slug": "tokeneconomizer",
      "name": "TokenEconomizer",
      "vendor": "Microsoft",
      "vendorUrl": "https://tokeneconomizer.github.io/",
      "kind": "framework",
      "category": "code",
      "summary": "TokenEconomizer is an Apache-2.0 plugin from Microsoft Research and UC Berkeley that cuts repeat coding-agent cost in a repository by injecting learned facts, pruning unused tools and redirecting stuck turns. It runs in Claude Code, Codex, Copilot CLI and Pi.",
      "url": "https://www.anchorterminal.com/tools/tokeneconomizer",
      "markdownUrl": "https://www.anchorterminal.com/tools/tokeneconomizer.md",
      "slimMarkdownUrl": "https://www.anchorterminal.com/tools/tokeneconomizer.min.md",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/tokeneconomizer.json",
      "repo": "https://github.com/microsoft/TokenEconomizer",
      "license": "Apache-2.0",
      "transports": [],
      "packages": [],
      "auth": "none",
      "authNotes": "No account, key or login of its own. It runs inside Claude Code, Codex, the Copilot CLI or Pi, and its own model calls go through that agent's CLI on whatever plan or login the person already has.",
      "pricing": "free",
      "pricingNotes": "Free under Apache 2.0, with nothing to buy. Its loop-guard judge, the redirect writer and the optional micro-skills proposer make model calls billed on the person's agent plan, Haiku by default on Claude Code, and `te status` reports that cost.",
      "priceSummary": "Free · OSS",
      "where": "library",
      "x402": {
        "level": "no",
        "evidence": "Local software with nothing to buy. No x402, MPP or L402 in the repository or on the project page, checked 30 October 2026.",
        "endpoints": []
      },
      "toolCount": null,
      "popularity": {
        "githubStars": 976,
        "npmWeekly": null,
        "pypiWeekly": null,
        "asOf": "2026-10-30"
      },
      "docsUrl": "https://github.com/microsoft/TokenEconomizer/blob/main/plugin/README.md",
      "capabilities": [
        "code.repo"
      ],
      "tags": [
        "open-source",
        "apache-2.0",
        "local",
        "free",
        "python",
        "claude-code-plugin",
        "hooks",
        "pre-1.0"
      ],
      "graded": true,
      "anchor": {
        "graded": true,
        "score": 62.6,
        "grade": "B",
        "agentReady": false,
        "rank": 502,
        "ranked": true,
        "rankOf": 1244,
        "categoryRank": 9,
        "methodology": "0.7",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 76,
          "maintenance": 43,
          "payments": 60,
          "reliability": 46,
          "schema": 66,
          "security": 71,
          "transparency": 76
        },
        "pending": [
          "performance",
          "tasks"
        ],
        "assessment": {
          "confidence": "medium",
          "date": "2026-10-30"
        },
        "negative": 0,
        "verdict": "A standard-library Python plugin that keeps learned state on the machine, documents each hook and makes every action reversible. 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 that differ from the plugin's defaults.",
        "bestFor": "Lowering the repeat cost of coding agents in repositories they work in often",
        "strengths": [
          "No API key or credentials of its own; its model calls go through the agent CLI the person is already signed in to, on the same plan",
          "Learned state stays under ~/.tokeneconomizer with 0700 and 0600 permissions, and only masked digests of commands and errors go to a model",
          "Every action can be undone. `toolprune restore` returns pruned tools, contradicted facts are dropped, and the loop guard never stops a turn itself",
          "Public CI runs the test suite on Ubuntu and Windows with Python 3.10 and 3.13, plus a Codex CLI end-to-end job pinned to 0.164.0",
          "Apache-2.0 and standard-library only, with docs/PLUGIN.md recording how each agent's hooks and settings were verified to behave"
        ],
        "weaknesses": [
          "Version 0.1.0 with no changelog or release notes found; updating means a `git pull` of main",
          "Not in any official plugin marketplace. Claude Code, Codex and Copilot install from a local clone, and Codex asks the person to trust all hooks",
          "Supported agent versions are narrow (Claude Code 2.1.300 to 2.1.310, Codex 0.153.1 to 0.164.0), and newer versions are untested",
          "The headline savings come from the paper's runs with micro-skills on and side calls on the agent's own model; the plugin defaults micro-skills off and uses Haiku on Claude Code",
          "Learned facts derive from command output a repository controls, and the proposer's facts are free text; the docs say to keep micro-skills off in untrusted repositories"
        ],
        "agentNotes": [
          "Check the agent's version against the README's supported range before installing; versions outside it are untested or unsupported.",
          "Keep micro-skills off, or set microskills=envfacts, in a repository whose command output you don't trust.",
          "If a tool you need is missing, run the `toolprune` command to see what was left out and `toolprune restore` to bring it back.",
          "Run the plugin's commands from a terminal with ~/.tokeneconomizer/bin/te; inside the agent each command costs a model turn.",
          "Start the agent with TE_DISABLE=1 to run one session without the plugin."
        ],
        "metrics": {
          "kind": "local",
          "measured": false
        },
        "reviewCount": 0,
        "avgRating": 0,
        "history": [
          {
            "basis": "public evidence",
            "confidence": "medium",
            "grade": "B",
            "methodology": "0.7",
            "pending": [
              "performance",
              "tasks"
            ],
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 62.6
          }
        ],
        "editorialScores": {
          "ergonomics": 76,
          "maintenance": 43,
          "payments": 60,
          "reliability": 46,
          "schema": 66,
          "security": 71,
          "transparency": 84
        },
        "provenanceScore": 67,
        "checked": {
          "categories": {
            "ergonomics": "2026-10-30",
            "maintenance": "2026-10-30",
            "payments": "2026-10-30",
            "reliability": "2026-10-30",
            "schema": "2026-10-30",
            "security": "2026-10-30",
            "transparency": "2026-10-30"
          },
          "last": "2026-10-30",
          "oldest": "2026-10-30",
          "stale": false,
          "staleAfterDays": 90
        }
      },
      "connect": {
        "install": "git clone https://github.com/microsoft/TokenEconomizer.git \u0026\u0026 claude plugin marketplace add \"$PWD/TokenEconomizer\"\n# Pi:\npi install git:github.com/microsoft/TokenEconomizer",
        "claudeCode": "claude plugin install tokeneconomizer@tokeneconomizer"
      },
      "letme": {
        "capability": "https://letme.dev/code.repo",
        "tool": "https://letme.dev/tokeneconomizer"
      },
      "sameCompany": [
        "azure-foundry-fine-tuning",
        "azure-ai-content-safety",
        "azure-speech-to-text",
        "azure-text-to-speech",
        "microsoft-agent-framework",
        "microsoft-execution-containers",
        "microsoft-entra-agent-id",
        "azure-key-vault",
        "azure-document-intelligence",
        "azure-devops-mcp",
        "microsoft-learn-mcp",
        "playwright-mcp",
        "azure-mcp",
        "azure-maps",
        "azure-translator",
        "microsoft-graph-calendar",
        "azure-blob-storage",
        "onedrive-sharepoint",
        "microsoft-teams",
        "dynamics-365-sales",
        "copilot-studio-mcp",
        "power-automate",
        "foundry-local",
        "microsoft-decision-1",
        "microsoft-advertising-api",
        "microsoft-excel-graph",
        "outlook-mail-graph",
        "microsoft-graph-people",
        "mage-vl-cowork"
      ],
      "area": "developer",
      "provenance": {
        "legalEntity": "Microsoft Corporation (repository in the microsoft GitHub organisation with Microsoft's SECURITY.md); co-authors at UC Berkeley",
        "domain": "microsoft.com",
        "domainRegistered": "1991-05-02",
        "endpointOnVendorDomain": null,
        "terms": "https://github.com/microsoft/TokenEconomizer/blob/main/LICENSE",
        "privacy": "",
        "statusPage": "",
        "changelog": "",
        "securityTxt": "expired",
        "checked": "2026-10-30",
        "notes": [
          "The README, the project page and arXiv 2610.22732 name the same 11 authors from UC Berkeley, Microsoft Research and Microsoft Security. The plugin manifests name \"TokenEconomizer authors\" and the repository https://github.com/microsoft/TokenEconomizer.",
          "domainRegistered for microsoft.com is from the other Microsoft listings (power-automate, azure-mcp) and wasn't re-read.",
          "www.microsoft.com/.well-known/security.txt, read on 30 October 2026, names MSRC as contact and has Expires 2026-09-23T16:00:00.000Z.",
          "No terms or privacy statement for the plugin. The Apache 2.0 licence stands in for terms, and docs/PLUGIN.md section 4 describes state and what leaves the machine.",
          "Local software, so there is no endpoint or status page.",
          "firstReleased is 25 October 2026, from EveryDev's listing (datePublished 2026-10-25T21:00Z) of the public repository. The arXiv v1 of 15 October 2026 has no repository link, and GitHub's creation date couldn't be read."
        ],
        "score": 67
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/tokeneconomizer.json"
    },
    "facts": [
      {
        "a": "MCP server",
        "b": "Agent framework",
        "name": "Kind"
      },
      {
        "a": "Sourcegraph, Inc.",
        "b": "Microsoft",
        "name": "Vendor"
      },
      {
        "a": "no (local only)",
        "b": "no (local only)",
        "name": "Hosted endpoint"
      },
      {
        "a": "Streamable HTTP",
        "b": "",
        "name": "Transports"
      },
      {
        "a": "OAuth or key",
        "b": "None",
        "name": "Auth"
      },
      {
        "a": "Paid",
        "b": "Free",
        "name": "Pricing"
      },
      {
        "a": "no",
        "b": "no",
        "name": "x402"
      },
      {
        "a": "Proprietary. The server is part of the Sourcegraph Enterprise product under the Sourcegraph Terms of Service",
        "b": "Apache-2.0",
        "name": "Licence"
      },
      {
        "a": "16",
        "b": "none",
        "name": "Tools exposed"
      },
      {
        "a": "yes",
        "b": "no",
        "name": "Read-only variant documented"
      },
      {
        "a": "no",
        "b": "no",
        "name": "llms.txt"
      },
      {
        "a": "io.github.sourcegraph/mcp",
        "b": "not listed",
        "name": "MCP registry"
      },
      {
        "a": "2026-09-17",
        "b": "none",
        "name": "Last release"
      },
      {
        "a": "2026-07-22",
        "b": "no date given",
        "name": "Terms last updated"
      },
      {
        "a": "2026-06-12",
        "b": "no document linked",
        "name": "Privacy policy last updated"
      },
      {
        "a": "yes, with an opt-out",
        "b": "not found in the text",
        "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": "yes",
        "b": "not found in the text",
        "name": "Arbitration or class-action waiver"
      },
      {
        "a": "none",
        "b": "976 stars",
        "name": "Popularity"
      }
    ],
    "faq": [
      {
        "answer": "TokenEconomizer scores 62.6 (B) on agent readiness against Sourcegraph MCP Server's 57.5 (C), and leads in 3 of 7 scored categories. Sourcegraph MCP Server leads on schema \u0026 documentation, security \u0026 auth and maintenance \u0026 community.",
        "question": "Which is better for AI agents, Sourcegraph MCP Server or TokenEconomizer?"
      },
      {
        "answer": "No hosted endpoint is listed for Sourcegraph MCP Server. No hosted endpoint is listed for TokenEconomizer.",
        "question": "Can an agent call Sourcegraph MCP Server and TokenEconomizer without installing anything?"
      },
      {
        "answer": "No open-source release is listed for Sourcegraph MCP Server. TokenEconomizer is open source (Apache-2.0).",
        "question": "Are Sourcegraph MCP Server and TokenEconomizer open source?"
      }
    ],
    "goodFor": [
      {
        "aheadOn": [
          "Schema \u0026 documentation, 71 against 66",
          "Security \u0026 auth, 76 against 71",
          "Maintenance \u0026 community, 83 against 43"
        ],
        "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"
      },
      {
        "aheadOn": [
          "Reliability, 46 against 25",
          "Payments \u0026 pricing, 60 against 15"
        ],
        "also": [
          "No key needed to call it",
          "Open source"
        ],
        "goodFor": "Lowering the repeat cost of coding agents in repositories they work in often",
        "slug": "tokeneconomizer",
        "watchFor": "Version 0.1.0 with no changelog or release notes found; updating means a `git pull` of main"
      }
    ],
    "job": {
      "capability": "code.repo",
      "name": "Code repositories"
    },
    "others": [
      {
        "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/azure-devops-mcp-vs-tokeneconomizer.json",
        "title": "Azure DevOps MCP Server vs TokenEconomizer",
        "url": "https://www.anchorterminal.com/compare/azure-devops-mcp-vs-tokeneconomizer"
      },
      {
        "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/entire-vs-tokeneconomizer.json",
        "title": "Entire vs TokenEconomizer",
        "url": "https://www.anchorterminal.com/compare/entire-vs-tokeneconomizer"
      },
      {
        "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/github-mcp-server-vs-tokeneconomizer.json",
        "title": "GitHub MCP Server vs TokenEconomizer",
        "url": "https://www.anchorterminal.com/compare/github-mcp-server-vs-tokeneconomizer"
      },
      {
        "json": "https://www.anchorterminal.com/compare/graft-vs-tokeneconomizer.json",
        "title": "graft vs TokenEconomizer",
        "url": "https://www.anchorterminal.com/compare/graft-vs-tokeneconomizer"
      },
      {
        "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/graphify-vs-tokeneconomizer.json",
        "title": "Graphify vs TokenEconomizer",
        "url": "https://www.anchorterminal.com/compare/graphify-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"
      }
    ],
    "scores": [
      {
        "by": 21,
        "edge": "tokeneconomizer",
        "key": "reliability",
        "name": "Reliability",
        "sourcegraph-mcp": 25,
        "tokeneconomizer": 46,
        "weight": 16
      },
      {
        "key": "performance",
        "name": "Performance",
        "pending": true,
        "weight": 10
      },
      {
        "by": 5,
        "edge": "sourcegraph-mcp",
        "key": "schema",
        "name": "Schema \u0026 documentation",
        "sourcegraph-mcp": 71,
        "tokeneconomizer": 66,
        "weight": 13
      },
      {
        "by": 4,
        "edge": "tokeneconomizer",
        "key": "ergonomics",
        "name": "Agent ergonomics",
        "sourcegraph-mcp": 72,
        "tokeneconomizer": 76,
        "weight": 13
      },
      {
        "by": 5,
        "edge": "sourcegraph-mcp",
        "key": "security",
        "name": "Security \u0026 auth",
        "sourcegraph-mcp": 76,
        "tokeneconomizer": 71,
        "weight": 14
      },
      {
        "by": 45,
        "edge": "tokeneconomizer",
        "key": "payments",
        "name": "Payments \u0026 pricing",
        "sourcegraph-mcp": 15,
        "tokeneconomizer": 60,
        "weight": 10
      },
      {
        "key": "tasks",
        "name": "Task success",
        "pending": true,
        "weight": 10
      },
      {
        "by": 40,
        "edge": "sourcegraph-mcp",
        "key": "maintenance",
        "name": "Maintenance \u0026 community",
        "sourcegraph-mcp": 83,
        "tokeneconomizer": 43,
        "weight": 7
      },
      {
        "by": 2,
        "edge": "sourcegraph-mcp",
        "key": "transparency",
        "name": "Transparency \u0026 trust",
        "sourcegraph-mcp": 78,
        "tokeneconomizer": 76,
        "weight": 7
      }
    ],
    "summary": "TokenEconomizer scores 62.6 (B) on agent readiness against Sourcegraph MCP Server's 57.5 (C), and leads in 3 of 7 scored categories. Sourcegraph MCP Server leads on schema \u0026 documentation, security \u0026 auth and maintenance \u0026 community. Both do code repositories.",
    "tutorials": [],
    "verdicts": {
      "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.",
      "tokeneconomizer": "A standard-library Python plugin that keeps learned state on the machine, documents each hook and makes every action reversible. 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 that differ from the plugin's defaults."
    }
  },
  "kind": "anchor.page",
  "links": {
    "api": "https://www.anchorterminal.com/api/v1/index.json",
    "html": "https://www.anchorterminal.com/compare/sourcegraph-mcp-vs-tokeneconomizer",
    "json": "https://www.anchorterminal.com/compare/sourcegraph-mcp-vs-tokeneconomizer.json",
    "llms": "https://www.anchorterminal.com/llms.txt",
    "markdown": "https://www.anchorterminal.com/compare/sourcegraph-mcp-vs-tokeneconomizer.md",
    "mcp": "https://www.anchorterminal.com/mcp",
    "slim": "https://www.anchorterminal.com/compare/sourcegraph-mcp-vs-tokeneconomizer.min.md"
  },
  "markdown": "TokenEconomizer scores 62.6 (B) on agent readiness against Sourcegraph MCP Server's 57.5 (C), and leads in 3 of 7 scored categories. Sourcegraph MCP Server leads on schema \u0026 documentation, security \u0026 auth and maintenance \u0026 community. Both do code repositories.\n\n- Sourcegraph MCP Server: grade C, 57.5/100, rank #717 of 1244. Markdown https://www.anchorterminal.com/tools/sourcegraph-mcp.md · JSON https://www.anchorterminal.com/api/v1/tools/sourcegraph-mcp.json\n- TokenEconomizer: grade B, 62.6/100, rank #502 of 1244. Markdown https://www.anchorterminal.com/tools/tokeneconomizer.md · JSON https://www.anchorterminal.com/api/v1/tools/tokeneconomizer.json\n- Best code, repository and documentation tools for AI agents: https://www.anchorterminal.com/best/code/index.md\n- All 39 code comparisons: https://www.anchorterminal.com/compare/code/index.md\n\n## Which one, for what\n\n### Sourcegraph MCP Server (C)\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- Schema \u0026 documentation, 71 against 66\n- Security \u0026 auth, 76 against 71\n- Maintenance \u0026 community, 83 against 43\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### TokenEconomizer (B)\n\nGood for: Lowering the repeat cost of coding agents in repositories they work in often\n\nAhead on:\n- Reliability, 46 against 25\n- Payments \u0026 pricing, 60 against 15\n\nAlso in its favour:\n- No key needed to call it\n- Open source\n\nWatch for: Version 0.1.0 with no changelog or release notes found; updating means a `git pull` of main\n\n\n## Score by category\n\n| Category | Weight | Sourcegraph MCP Server | TokenEconomizer | Edge |\n| --- | --- | --- | --- | --- |\n| Reliability | 16% (20 this run) | 25 | 46 | TokenEconomizer +21 |\n| Performance | 10%, pending | pending | pending | not scored in this run |\n| Schema \u0026 documentation | 13% (16.2 this run) | 71 | 66 | Sourcegraph MCP Server +5 |\n| Agent ergonomics | 13% (16.2 this run) | 72 | 76 | TokenEconomizer +4 |\n| Security \u0026 auth | 14% (17.5 this run) | 76 | 71 | Sourcegraph MCP Server +5 |\n| Payments \u0026 pricing | 10% (12.5 this run) | 15 | 60 | TokenEconomizer +45 |\n| Task success | 10%, pending | pending | pending | not scored in this run |\n| Maintenance \u0026 community | 7% (8.8 this run) | 83 | 43 | Sourcegraph MCP Server +40 |\n| Transparency \u0026 trust | 7% (8.8 this run) | 78 | 76 | Sourcegraph MCP Server +2 |\n| Negative events | ≤15 | 0 | 0 | |\n| **Total** | | **57.5 · C** | **62.6 · B** | |\n\n## Facts side by side\n\n| Fact | Sourcegraph MCP Server | TokenEconomizer |\n| --- | --- | --- |\n| Kind | MCP server | Agent framework |\n| Vendor | Sourcegraph, Inc. | Microsoft |\n| Hosted endpoint | no (local only) | no (local only) |\n| Transports | Streamable HTTP |  |\n| Auth | OAuth or key | None |\n| Pricing | Paid | Free |\n| x402 | no | no |\n| Licence | Proprietary. The server is part of the Sourcegraph Enterprise product under the Sourcegraph Terms of Service | Apache-2.0 |\n| Tools exposed | 16 | none |\n| Read-only variant documented | yes | no |\n| llms.txt | no | no |\n| MCP registry | `io.github.sourcegraph/mcp` | not listed |\n| Last release | 2026-09-17 | none |\n| Terms last updated | 2026-07-22 | no date given |\n| Privacy policy last updated | 2026-06-12 | no document linked |\n| Customer content may train models | yes, with an opt-out | not found in the text |\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 | yes | not found in the text |\n| Popularity | none | 976 stars |\n\n## Verdicts\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**TokenEconomizer.** A standard-library Python plugin that keeps learned state on the machine, documents each hook and makes every action reversible. 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 that differ from the plugin's defaults.\n\n## Before you call either\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`, `nls_search` and `compare_revisions`\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### TokenEconomizer\n\n1. Check the agent's version against the README's supported range before installing; versions outside it are untested or unsupported.\n2. Keep micro-skills off, or set microskills=envfacts, in a repository whose command output you don't trust.\n3. If a tool you need is missing, run the `toolprune` command to see what was left out and `toolprune restore` to bring it back.\n4. Run the plugin's commands from a terminal with ~/.tokeneconomizer/bin/te; inside the agent each command costs a model turn.\n5. Start the agent with TE_DISABLE=1 to run one session without the plugin.\n\n## Questions\n\n### Which is better for AI agents, Sourcegraph MCP Server or TokenEconomizer?\n\nTokenEconomizer scores 62.6 (B) on agent readiness against Sourcegraph MCP Server's 57.5 (C), and leads in 3 of 7 scored categories. Sourcegraph MCP Server leads on schema \u0026 documentation, security \u0026 auth and maintenance \u0026 community.\n\n### Can an agent call Sourcegraph MCP Server and TokenEconomizer without installing anything?\n\nNo hosted endpoint is listed for Sourcegraph MCP Server. No hosted endpoint is listed for TokenEconomizer.\n\n### Are Sourcegraph MCP Server and TokenEconomizer open source?\n\nNo open-source release is listed for Sourcegraph MCP Server. TokenEconomizer is open source (Apache-2.0).\n\n\n## For agents\n\n- This comparison as JSON: https://www.anchorterminal.com/compare/sourcegraph-mcp-vs-tokeneconomizer.json, and with the fewest tokens: https://www.anchorterminal.com/compare/sourcegraph-mcp-vs-tokeneconomizer.min.md\n- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {\"a\": \"sourcegraph-mcp\", \"b\": \"tokeneconomizer\"}`. From a terminal: `anchor compare sourcegraph-mcp tokeneconomizer`\n- Each listing in full: https://www.anchorterminal.com/api/v1/tools/sourcegraph-mcp.json and https://www.anchorterminal.com/api/v1/tools/tokeneconomizer.json\n\n## Other comparisons with Sourcegraph MCP Server or TokenEconomizer\n\n- [Azure DevOps MCP Server vs Sourcegraph MCP Server](https://www.anchorterminal.com/compare/azure-devops-mcp-vs-sourcegraph-mcp.md)\n- [Azure DevOps MCP Server vs TokenEconomizer](https://www.anchorterminal.com/compare/azure-devops-mcp-vs-tokeneconomizer.md)\n- [Entire vs Sourcegraph MCP Server](https://www.anchorterminal.com/compare/entire-vs-sourcegraph-mcp.md)\n- [Entire vs TokenEconomizer](https://www.anchorterminal.com/compare/entire-vs-tokeneconomizer.md)\n- [GitHub MCP Server vs Sourcegraph MCP Server](https://www.anchorterminal.com/compare/github-mcp-server-vs-sourcegraph-mcp.md)\n- [GitHub MCP Server vs TokenEconomizer](https://www.anchorterminal.com/compare/github-mcp-server-vs-tokeneconomizer.md)\n- [graft vs TokenEconomizer](https://www.anchorterminal.com/compare/graft-vs-tokeneconomizer.md)\n- [Graphify vs Sourcegraph MCP Server](https://www.anchorterminal.com/compare/graphify-vs-sourcegraph-mcp.md)\n- [Graphify vs TokenEconomizer](https://www.anchorterminal.com/compare/graphify-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",
  "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-10-31",
    "license": "CC-BY-4.0",
    "method": "https://www.anchorterminal.com/benchmark/",
    "methodology": "0.7",
    "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": "Sourcegraph MCP Server vs TokenEconomizer",
        "url": ""
      }
    ],
    "description": "TokenEconomizer scores 62.6 (B) to Sourcegraph's 57.5 (C) for code repositories. Prices, MCP, x402, uptime and agent notes side by side.",
    "facts": [
      "Sourcegraph MCP Server C 57.5",
      "TokenEconomizer B 62.6",
      "scores"
    ],
    "h1": "Sourcegraph MCP Server vs TokenEconomizer",
    "image": "https://www.anchorterminal.com/assets/og/compare-sourcegraph-mcp-vs-tokeneconomizer.png",
    "path": "/compare/sourcegraph-mcp-vs-tokeneconomizer",
    "published": "2026-10-01",
    "section": "tools",
    "title": "Sourcegraph vs TokenEconomizer for AI agents (2026) | Anchor Terminal",
    "toc": null,
    "updated": "2026-10-31",
    "url": "https://www.anchorterminal.com/compare/sourcegraph-mcp-vs-tokeneconomizer"
  },
  "tokens": {
    "markdown": 2300,
    "slim": 680
  },
  "version": 1
}
