# sourcegraph-mcp

> Use this tool when you need to search code efficiently across multiple repositories, solving problems like finding specific symbols or text within large codebases. It takes in search queries as input and outputs relevant code results via SourceGraph's GraphQL API. Ideal for use cases where fast and accurate code search is crucial, such as debugging, refactoring, or exploring legacy code.

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

## Description

MCP server for searching code via SourceGraph's GraphQL API, enabling fast symbol and text search across local or cloud SourceGraph instances.

## Trust

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

## Facts

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

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/aib04rmbi1)
- **Repository:** <https://github.com/dalebrubaker/sourcegraph-mcp>

## Use it

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": "dalebrubaker-sourcegraph-mcp"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/dalebrubaker-sourcegraph-mcp` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/dalebrubaker-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
