1. Conduid
  2. Blockchain
  3. Sourcegraph MCP Server
MCP server · Blockchain

Sourcegraph MCP Server

A Model Context Protocol (MCP) server that connects AI assistants to Sourcegraph code search with natural language capabilities

37Low

Scored 12 days ago · breakdown

About Sourcegraph MCP Server

Sourcegraph MCP Server is an MCP server in the Blockchain category: a Model Context Protocol (MCP) server that connects AI assistants to Sourcegraph code search with natural language capabilities.

Install

Claude Code
claude mcp add sourcegraph-mcp-server -- npx -y sourcegraph-mcp-server
npx
npx -y sourcegraph-mcp-server

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Sourcegraph MCP Server

Powered by Claude · Grounded in docs

I know everything about Sourcegraph MCP Server. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

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:

https://sourcegraph.com/docs/api/mcp#sourcegraph-mcp-server

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Sourcegraph MCP Server

How do I install Sourcegraph MCP Server?

Run claude mcp add sourcegraph-mcp-server -- npx -y sourcegraph-mcp-server, then add the server to your MCP client's configuration.

Is Sourcegraph MCP Server safe to use with an AI agent?

Its trust score is 37 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Sourcegraph MCP Server still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.