# Sourcegraph MCP Server

> Use this tool when you need to efficiently search and retrieve specific code snippets across multiple repositories and codebases. It solves problems related to code discovery, reuse, and maintenance by providing AI-enhanced search capabilities with advanced query syntax. The tool takes in search queries as input and returns relevant code results, making it ideal for use cases such as debugging, optimization, and knowledge sharing.

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

## Description

Provides AI-enhanced code search capabilities by integrating with Sourcegraph, allowing AI assistants to search across multiple repositories and codebases with advanced query syntax.

## Trust

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

## Facts

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

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/fh8b0ynozh)
- **Repository:** <https://github.com/najva-ai/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": "najva-ai-sourcegraph-mcp"
    }
  }
}
```

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