Sourcegraph MCP Server
Sourcegraph code search, semantic search, go-to-definition, find-references, and diff search.
Sourcegraph MCP Server scores 24 (Limited), with no SPDX license recorded. It can be reached as a remote MCP endpoint. It does not declare tools yet. Filed under Search. GitHub shows 14 stars. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Limited trust
24 of 100 from six public signals. Nobody can buy a point.
- No license recorded.
License, quality and maintenance
Quality: Grade D
49/100 for listing completeness. Lost points: short README, no listed tools, short summary.
How quality is graded
Where the 24 comes from
0 + 6 + 4 + 0 + 7 + 7 = 24. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 0 of 30 points.How recently the repository saw a commit or release.
Maintenance: 6 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 4 of 20 points.A clear, OSI-style open-source license.
License: 0 of 10 points.Not archived, a secure install path, a pinned version.
Security: 7 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "sourcegraph-community-mcpregistry": { "url": "https://{sourcegraph_hostname}/.api/mcp" } }}
Environment variables
This server does not declare environment variables.
Tools
All capabilitiesTools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.
About
Sourcegraph MCP Server
This registry entry represents the Sourcegraph MCP server for a Sourcegraph instance. It can be configured against Sourcegraph Cloud or a private Sourcegraph deployment, so users can connect MCP-compatible clients to their own Sourcegraph server.
At a high level, the Sourcegraph MCP server gives agents and applications access to Sourcegraph code search and code intelligence capabilities through a standard MCP interface. That includes common workflows such as repository discovery, file reads, keyword and semantic search, symbol navigation, references, and code-change exploration.
Configuration
Configure the server with the hostname of your Sourcegraph instance. This entry uses the standard Sourcegraph MCP endpoint:
https://{sourcegraph_hostname}/.api/mcp
For private Sourcegraph instances, set sourcegraph_hostname to your internal or company-hosted Sourcegraph server hostname.
Authentication is handled by Sourcegraph. Depending on the MCP client, this is typically done with browser-based OAuth or a Sourcegraph access token. This MCP config defaults to OAuth.
Notes
This README intentionally keeps client-specific setup details light because MCP integration steps can change over time. For the current Sourcegraph MCP server behavior, supported authentication modes, and client-specific setup instructions, see the official Sourcegraph documentation:
Frequently asked questions
What is Sourcegraph MCP Server?
Sourcegraph code search, semantic search, go-to-definition, find-references, and diff search.
How do I install Sourcegraph MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Sourcegraph MCP Server connects to the remote endpoint https://{sourcegraph_hostname}/.api/mcp, so there is nothing to install locally.
Does Sourcegraph MCP Server support remote (HTTP) connections?
Yes. Sourcegraph MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.
How is Sourcegraph MCP Server's trust score calculated?
Sourcegraph MCP Server scores 24 out of 100 (Limited). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.