# Sourcegraph MCP Server

> Use this tool when you need to efficiently search and navigate large codebases, and solve problems such as finding specific code snippets, understanding code relationships, and tracking changes. It provides inputs such as code queries and outputs like relevant code results, definitions, and references. Ideal for use cases like debugging, code review, and development, where rapid code understanding and discovery are crucial.

Canonical page: https://skillsregistry.net/skills/io-github-sourcegraph-mcp  
JSON: https://api.skillsregistry.net/v1/skills/io-github-sourcegraph-mcp

## Description

Sourcegraph code search, semantic search, go-to-definition, find-references, and diff search.

## Trust

- **Trust score (0–1):** 1.00
- **Verification tier:** verified
- **Last scanned:** 2026-09-28

## Facts

- **Version:** 0.1.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** search
- **Updated:** 2026-09-28

## Source

- **Source listing:** [MCP Registry](https://registry.modelcontextprotocol.io/v0/servers/io.github.sourcegraph%2Fmcp)
- **Repository:** <https://github.com/sourcegraph-community/mcpregistry>

## Use it

MCP endpoint published by the skill: `https://{sourcegraph_hostname}/.api/mcp`

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "io-github-sourcegraph-mcp"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/io-github-sourcegraph-mcp` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/io-github-sourcegraph-mcp/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
