sourcegraph-community/sourcegraph-cursor-plugin · Archived

searching-sourcegraph

Use when the user needs to search or navigate code with Sourcegraph MCP tools.

First seen Jun 15, 2026

Installation

$ npx skills add sourcegraph-community/sourcegraph-cursor-plugin --skill searching-sourcegraph

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 1
Default branch main
Open issues 0
Status Archived

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,924 B
  • docs SUMMARY.md 107 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

Searching Sourcegraph

You have access to Sourcegraph search and code navigation tools through MCP.

Tools

  • nls_search({ query }): semantic search for natural-language exploration.
  • keyword_search({ query }): keyword or regex search using Sourcegraph query syntax.
  • read_file({ repo, path, startLine?, endLine?, revision? }): fetch file contents.
  • list_repos({ query, limit?, after?, before? }): discover relevant repositories.
  • list_files({ repo, path?, revision? }): list files and directories.
  • gotodefinition({ repo, path, symbol, revision? }): locate symbol definitions.
  • find_references({ repo, path, symbol, revision? }): find symbol usage.
  • commit_search({ repos, messageTerms?, authors?, contentTerms?, files?, after?, before? }): search commit history.
  • diff_search({ pattern, repos, added?, removed?, author?, after?, before? }): search code diffs.
  • compare_revisions({ repo, base, head, first?, after? }): compare two revisions.
  • getcontributorrepos({ author, limit?, minCommits? }): discover contributor activity by repo.
  • deepsearch({ question }): run Sourcegraph Deep Search for complex, multi-step questions.
  • deepsearch_read({ identifier }): read a Deep Search conversation by URL or token.

Workflow

  1. Start with a constrained search (repo:, file:, lang:, type: when possible).
  2. If results are broad, add constraints and rerun.
  3. Read promising files with read_file to confirm behavior.
  4. Iterate queries based on findings.

Prefer nlssearch for exploration and keywordsearch for precision.

Query Tips

  • Use repo:^github\\.com/org/repo$ for exact repository matching.
  • Use file:\\.(go|ts|py)$ to constrain by extension.
  • Use type:symbol for definitions and type:file for content matches.